#PB-Constants for "DrawingMode()"

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

#PB-Constants for "DrawingMode()"

Post 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
?
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

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

Post 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
Please correct my english
http://purebasic.developpez.com/
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Post by Lebostein »

Ah, thanks!!

Please update the manual and add the constant "#PB_2DDrawing_Default", Fred.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

All done ;).
Lebostein
Addict
Addict
Posts: 826
Joined: Fri Jun 11, 2004 7:07 am

Post by Lebostein »

Thank you!
Post Reply