Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / COlor: GDK + BOX

Author
Message
Valmerin
16
Years of Service
User Offline
Joined: 30th Nov 2007
Location:
Posted: 4th Dec 2007 03:33
How do i set the color inside a box im drawing on the screen
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 4th Dec 2007 05:44
one approach should be
dbbox(48,48,100,100,dbrgb(255,255,0),dbrgb(255,200,255),dbrgb(255,255,200),dbrgb(200,255,255));

however I cannot get the compiler to recognize dbbox or dbrgb and an error is reported


Codger

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem
Deagle
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: Finland
Posted: 4th Dec 2007 06:08
Maybe you wrote them wrong. its dbBox and dbRGB.

Deagle aka D-Eagle
Codger
21
Years of Service
User Offline
Joined: 23rd Nov 2002
Location:
Posted: 4th Dec 2007 08:02
Deagle
You are absolutely correct I had forgotten that C++ was case sensitive.


Thanks

Codger

System
PIV 2.8 MZ 512 Mem
FX 5600 256 mem

Login to post a reply

Server time is: 2024-09-29 05:28:13
Your offset time is: 2024-09-29 05:28:13