Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #166
| From | Martin Wuerthner <spamtrap@mw-software.com> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Weird scaling bug - any ideas ? |
| Date | 2011-04-07 13:14 +0200 |
| Organization | MW Software |
| Message-ID | <f1992ac051.martin@bach.planiverse.com> (permalink) |
| References | (4 earlier) <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> |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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