Difference between revisions of "SColor"

From King Arthur's Gold Wiki
Jump to: navigation, search
m
 
Line 12: Line 12:
 
GUI::DrawRectangle(rect, SColor(255, 25, 25, 25, 0));
 
GUI::DrawRectangle(rect, SColor(255, 25, 25, 25, 0));
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
[[Category:Scripting]]

Latest revision as of 17:37, 16 December 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));