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 / dbRGB problems

Author
Message
KarlZ
18
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 25th May 2005 20:14
Ok I am having problems using the dbRGB command

dbColorBackdrop ( dbRGB ( 135 , 206, 235) );

doesn\'t work. am I doing something wrong?

/kz
IanM
Retired Moderator
20
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 25th May 2005 21:15
Doesn't work?

Is it the dbRGB that doesn't work, the dbColorBackdrop that doesn't work, the compiler doesn't understand one or both of those commands, or the linker doesn't find the command? What?

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins and source code http://www.matrix1.demon.co.uk
Sephnroth
20
Years of Service
User Offline
Joined: 10th Oct 2002
Location: United Kingdom
Posted: 25th May 2005 21:38
dbRGB works fine for me in 1.0 (im guessing you are using 1.0 also because i think its dbRgb in 1.1) and colour backdrop was working for me also, albiet it very slow. or colour fog was slow, something wasnt fast enough to be used in real time either way

But i have never had an error with it o.O Can you give a few more details please?

[07:16:59-pm] « Sephnroth » you were dreaming about lee...
[07:17:13-pm] « Mouse » stfu
[07:17:22-pm] « Mouse » he was hanging himself lol
KarlZ
18
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 25th May 2005 22:05
No dbColorBackdrop works fine, it is dbRGB that doesn't work for me.

It was just an example to show that it doesn't work

bdrop = dbRGB ( 135 , 206, 235 );

doesn't work either..

gonna see if dbRgb works instead..
KarlZ
18
Years of Service
User Offline
Joined: 9th Dec 2004
Location:
Posted: 25th May 2005 22:10
ok dbRgb works fine, why are Tgc making small changes like that for?
Smithy
18
Years of Service
User Offline
Joined: 8th Dec 2004
Location: Switzerland
Posted: 27th May 2005 16:12 Edited at: 27th May 2005 16:59
Well,.. _I_ think,... it was simply a "mistake"...
But then,... what do I know

//Awards: Best DM at NeverwinterConventionIII (NWCon3)
//Sys: Pentium IV 3200E/Prescott;800Mhz FSB;HT;WinXPPro;ATIR9700PRO;1024MB RAM(2x512MB"DualChanneled";VC++7.net;Delphi6;ADSL512;
OSX Using Happy Dude
19
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 27th May 2005 16:36
I did prefer dbRGB (more in keeping with the Windows RGB command), so sometimes I use the following macro if I cant be bothered to change from dbRGB to dbRgb :

#define dbRGB(x,y,z) dbRgb((x),(y),(z))

Login to post a reply

Server time is: 2023-02-06 20:48:01
Your offset time is: 2023-02-06 20:48:01