Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #166

Re: Weird scaling bug - any ideas ?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Martin Wuerthner <spamtrap@mw-software.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: Weird scaling bug - any ideas ?
Date Thu, 07 Apr 2011 13:14:43 +0200
Organization MW Software
Lines 30
Message-ID <f1992ac051.martin@bach.planiverse.com> (permalink)
References <31efb046-01a1-4bb9-a833-d897cf321997@r14g2000vbm.googlegroups.com> <48f052bf51.martin@bach.planiverse.com> <65056d5d-b1f8-4a01-82be-6660a4c7b1d2@v8g2000yqb.googlegroups.com> <4d9bdca5$0$7701$ba4acef3@reader.news.orange.fr> <123615df-90b2-4419-b59a-9e9e87301bfe@m7g2000vbq.googlegroups.com> <51bf9f5c32News03@avisoft.f9.co.uk> <8f897550-9fd7-4bb7-9765-5f0da2c786d4@a26g2000vbo.googlegroups.com> <9881afbf51.martin@bach.planiverse.com> <345c300b-5fa0-46f5-8d64-09f5afc09874@s33g2000vbb.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Transfer-Encoding 8bit
X-Trace individual.net D4Nm8Pdh8wf/jHUbD4RlKQOjBLqvVdp5+ceexxsyVkp0p9yifg
X-Orig-Path bach.planiverse.com%martin
Cancel-Lock sha1:KMV73q/C3rUx63wJ7z2ZjB887Qg=
X-Editor EmailEdit 6.00
User-Agent Messenger-Pro/6.00 (MsgServe/6.00) (RISC-OS/5.16) NewsHound/v1.50-32
Xref x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:166

Show key headers only | View raw


In message <345c300b-5fa0-46f5-8d64-09f5afc09874@s33g2000vbb.googlegro 
ups.com>
          Martin Hansen <mhh@shrewsbury.org.uk> wrote:

> On Apr 6, 1:50 pm, Martin Wuerthner <spamt...@mw-software.com> wrote:

>> c) It is still completely unclear what the above code is meant to
>> achieve in the first place. You tell the Wimp you want to update a
>> window, you go through the redraw loop, but you do not draw anything
>> to the window, so why go to all the trouble? Inside your "redraw"
>> loop, all you do is switch output to a sprite and plot some other
>> sprite into it.

> I think you are assuming that all of the sprite is visible

No, that would be a very unreasonable assumption in a Wimp program.

> but in my case it may be partially covered by another window, which is
> why it's in a redraw loop.

That would be correct if you plotted anything to the screen in your 
redraw loop, but you don't. You just plot into a sprite, so doing that 
inside the loop only makes everything slower and more complicated.

-- 
Martin
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
        RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-05 12:28 -0700
  Re: Weird scaling bug - any ideas ? Martin Wuerthner <spamtrap@mw-software.com> - 2011-04-05 21:59 +0200
    Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-05 17:30 -0700
      Re: Weird scaling bug - any ideas ? Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-04-06 05:23 +0200
        Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-06 02:23 -0700
          Re: Weird scaling bug - any ideas ? Martin <News03@avisoft.f9.co.uk> - 2011-04-06 10:53 +0100
            Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-06 03:59 -0700
              Re: Weird scaling bug - any ideas ? Martin Wuerthner <spamtrap@mw-software.com> - 2011-04-06 14:50 +0200
                Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-06 09:31 -0700
                Re: Weird scaling bug - any ideas ? Steve Fryatt <news@stevefryatt.org.uk> - 2011-04-06 18:19 +0100
                Re: Weird scaling bug - any ideas ? Martin Wuerthner <spamtrap@mw-software.com> - 2011-04-07 13:14 +0200
                Re: Weird scaling bug - any ideas ? Martin Hansen <mhh@shrewsbury.org.uk> - 2011-04-07 09:49 -0700
          Re: Weird scaling bug - any ideas ? Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-04-06 14:23 +0200
          Re: Weird scaling bug - any ideas ? Steve Fryatt <news@stevefryatt.org.uk> - 2011-04-06 18:20 +0100
  Re: Weird scaling bug - any ideas ? Gerph <gerph@gerph.org> - 2011-04-09 05:06 -0700

csiph-web