- This wiki is out of date, use the continuation of this wiki instead
 
Set text color
From FenixWiki
Contents | 
Definition
INT set_text_color ( <INT color> )
Sets the color of the default font and possibly TTF fonts as well.
Parameters
| INT color | - The color to use for text. | 
Returns
INT : Returns 1 if successful and 0 if failed.
Example
Program awesome;
Global
    red=0;
    green=255;
    blue=0;
Begin
    
    set_text_color(rgb(red,green,blue));
    write(0,1,1,0,"Mijn potlood is bruin"); //this text will be green as an Irishman's ejecta
        
    Loop
  
        frame;
    End
End
						
			
		