To
Barnski
This could actually be a bug. The command dbSetTextColor is picked up by VC Intellisense but there is no mention of it in the manual. Maybe it has not been implemented or maybe were both using it wrong
...
I'd like to see what other people say, but in the mean while you can use the dbINK command...
#include "DarkGDK.h"
void DarkGDK ( void )
{
dbSyncOn ( );
while ( LoopGDK ( ) )
{
dbSetTextFont ("Arial");
dbSetTextSize(16);
dbSetTextToNormal();
//dbSetTextOpaque();
dbInk(dbRGB(250,20,20),dbRGB(255,255,255));
dbText (10, 10, "Hello World");
dbSync ();
}
}
The reason why I commented out the dbSetTextOpaque command is because if you call this function, then the text is drawn with a background colour as well - which is set also by the dbInk command (e.g. dbInk(forground, background).
Hope this is useful
Andy