Page 1 of 1

#PB-Constants for "DrawingMode()"

Posted: Wed Mar 01, 2006 12:01 pm
by Lebostein
Hi,

for all commands in PureBasic I can use constants. Only for DrawingMode(), I must use numerical values:
0: Default mode, text is displayed with background, graphic shapes are filled.
1: Set the text background as transparent.
2: Enable the XOR mode (all graphics are XOR'ed with the current background).
4: Enable outlined shapes. Circle, Box, etc. will only be outlined, not filled.
what about this for example:
#PB_Drawing_Default
#PB_Drawing_transparent
#PB_Drawing_xor
#PB_Drawing_outlined
?

Re: #PB-Constants for "DrawingMode()"

Posted: Wed Mar 01, 2006 7:25 pm
by Comtois
try this :)

Code: Select all

Debug #PB_2DDrawing_Transparent
Debug #PB_2DDrawing_XOr
Debug #PB_2DDrawing_Outline
I dont see this one ?
#PB_2DDrawing_Default

Posted: Mon Mar 06, 2006 2:28 pm
by Lebostein
Ah, thanks!!

Please update the manual and add the constant "#PB_2DDrawing_Default", Fred.

Posted: Mon Mar 06, 2006 2:47 pm
by Fred
All done ;).

Posted: Mon Mar 06, 2006 3:19 pm
by Lebostein
Thank you!