Wimp question
Stefan Bellon
sbellon at sbellon.de
Wed Aug 1 17:38:06 BST 2001
Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:
> On 1 Aug 2001, in message <4aa335c683sbellon at sbellon.de>,
> Stefan Bellon <sbellon at sbellon.de> wrote:
[snip]
> > Yes, but I thought it could be an issue with wimp_set_extent().
> >
> Well, the OSLib call works fine; I use it quite a lot...
Hm, do you change the xeig/yeig values of the screen modes you're using
while windows are open?
> > Ok, perhaps I was not specific enough. In a mode change from xeig
> > == 1 to xeig == 2 for example, everything works fine, i.e. the
> > window appears exactly the same size. But on a mode change from
> > xeig == 1 to xeig == 0 or from xeig == 2 to xeig == 1, the window's
> > xsize is double the size, thus leaving half of the window
> > undefined. The image is in the left half and in the right half,
> > there's garbage (if you move the window around).
> >
> Ah, I see. Try reversing the calls to wimp_set_extent and
> wimp_open_window... Oh, and I don't think you need the
> wimp_close_window.
Didn't change anything. :-/
The really funny thing is the following: If I leave out the call to
wimp_set_extent(), then switching from xeig == 0 to xeig == 1 or from
xeig == 1 to xeig == 2 goes wrong as well. When calling
wimp_set_extent(), then *this* direction works, but the other way still
doesn't work.
I really don't see the problem.
Is there any WIMP and OSLib guru out there who would like to take a
look at my code (only a very few KB)?
TIA.
Greetings,
Stefan.
--
Stefan Bellon * <mailto:sbellon at sbellon.de> * <http://www.sbellon.de/>
PGP 2.6 and GnuPG (OpenPGP) keys available from my home page
Microsoft? Is that some kind of toilet paper?
More information about the oslib-user
mailing list