Difference between revisions of "SColor"

From King Arthur's Gold Wiki
Jump to: navigation, search
Line 4: Line 4:
  
 
<syntaxhighlight lang="cpp">
 
<syntaxhighlight lang="cpp">
SColor color ( const uint, const uint, const uint, const uint )
+
SColor color ( const uint alpha, const uint red, const uint green, const uint blue )
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 00:19, 29 September 2012

The SColor type is used in GUI functions such as DrawRectangle.


SColor color ( const uint alpha, const uint red, const uint green, const uint blue )

Example

GUI::DrawRectangle(rect, SColor(255, 25, 25, 25, 0));