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 / DWORD and coloring

Author
Message
Brandon McMahan
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location:
Posted: 22nd Feb 2007 18:39
In DarkGDK how do you declare a variable that is a Dword?
How do you color an object? can you demonstrate with a short code fragment?

Thank-you!

Brandon
Zumwalt
17
Years of Service
User Offline
Joined: 1st Feb 2007
Location: Tampa, FL
Posted: 23rd Feb 2007 15:38
A DWORD is an unsigned integer.
I don't know what you mean by 'color an object', hopefully someone else can help you with that.
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 23rd Feb 2007 16:09
use the dbRgb function defined under the 2D functions. Pass the return value of this into dbColorObject, or whatever functions that require a DWORD colour value.

Paul.

Login to post a reply

Server time is: 2024-06-29 04:13:08
Your offset time is: 2024-06-29 04:13:08