----- Original Message ----- From: "Jerome Grimbert" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 12, 2003 3:42 PM Subject: Re: [ql-users] Running Programs under GD2
> > John Hall makes some magical things to make me read > } Rich Mellor wrote: > } > } > The problem with writing these programs is if you want to change the > } > screen colour depth and resolution to fit your application (why > } > should QWord use the standard QL colours on QPC2 when it can switch > } > into high colour mode). > } > } IMHO, a program should *never* change the colour depth or screen > } resolution without the user's express permission! > > Seconded ! > A good program should adapt itself to the current mode, > and never expect the mode to always stay the same. > > At worst, it could detect the mode 8 and just avoid running > (just a small window stating: "Sorry, I do not run in mode 8"). > > } > } If I'm running QPC2 in, say, 800x600 QL colour mode, it's for a > } reason. The last thing I want is for a program to take it upon itself > } to change things, especially since a change could have fatal > } consequences for other running programs (c.f. comments received by > } Dilwyn re. the behaviour of the pre-release version of Launchpad)... > > The consequence so far that I noticed when toggling from 1024x512 to 512x256 on > the Q40 is the removal of tasks whose windows where outside the new place. > Including the button-framed one, because my button frame is never in the top-left... > Programs should be backward compatable, and automatically adapt themselves to the current configutration. Special versions for different versions on wman or screen resolutions are a pain. It is possible to tell what version of wman and screen size is running so that it is certainly possible to achieve this objective. I just cannot remeber whether it is possble to detirmine which pallette is being used.
