Wolfgang Lenerz wrote:
100 COLOUR_24
110 WM_PAPER #0,$FFFFFF : REM trying to set white
120 WM_INK #0,$0000FF : REM trying to set blue
In these lines, the top word will be ignored, even though he won't get
blue but some kind of stippled colour in line 120.
Most likely that's incorrect memory on my part - have asked him for the
actual values used.
(the $ffffff will be trated as $ffff, i.e. a 15 bit rgb colour and the
code for that will, in the end ignore the upper word.
Even though it's a WM_xxxx command? Would they still use the 16 or 24 bit
values even though it should have a system palette colour reference $02xx?
The $00ff will be treated as a normal Ql colour since the the upper byte
of the lower word is 0).
So black/white stipple QL colour 255. Don't remember seeing that so need to
wait until I hear from him what values were used.
130 WM_BORDER #0,3,??? : REMark a 3D border
(??? because I can’t remember the value used)
Darn - it would be a good idea to find out.
I'd bet that is the problem.
Have had problems with some 3d borders before (and discussed it with Marcel
some time ago) - usual sympton drawing triangles from top and bottom which
overlap in the centre of the window and freeze the program instead of just
drawing the 3d border.
Dilwyn
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm