ÎÎÎ Tue, 21 Dec 2004 09:38:22 -0000,Î(Î) Rich Mellor <[EMAIL PROTECTED]> ÎÎÏÎÏÎ/wrote:
On Mon, 20 Dec 2004 23:27:30 -0500, Phoebus Dokos <[EMAIL PROTECTED]>
Theoretically that should return 0 on non-colour SMSQ/e
It returns 5 on non-colour smsq/e v3.07 !?!?
Hmmm 5 is what it used to return on the beta SMSQ/e 2y99 with colour drivers... Marcel?
DISP_TYPE returns 5 on both standard smsq/e and colour driver smsq/e when not in 256 colour mode, so this is no help at all in finding out whether the colour drivers are present.
Plus of course both your suggestions have two problems - (1) Everyone keeps telling me the program should not alter the display colour depth or resolution (2) the commands do not exist on non-smsq/e systems (not even sure if they have been in all versions of smsq/e)....
That's not a problem because:
1. The resolution is being altered "legally" (which I assume was everyone's problme :)
Yes but it does screw up other programs - such as those which have any part of their windows outside of 512x480 or those in a different resolution - have you SEEN what happens to QPaC2 when you change colour depth? Normally you end up with completely black buttons.
Plus not everyone wants a program to change colour depth.
and
2. It really doesn't matter on non SMSQ/e because you do not have colour drivers anyway... If it doesn't run then you don't have colour drivers period! (So problem solved!)
Apart from the fact that the command does not exist, therefore a compiled program will complain when not run on smsq/e.
-- Rich Mellor RWAP Services 26 Oak Road, Shelfield, Walsall, West Midlands WS4 1RQ
http://www.rwapservices.co.uk/
_______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
