DrawIconByName

From King Arthur's Gold Wiki
Revision as of 21:26, 21 August 2012 by Shadlington (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Draws an icon added by AddIconToken using its token name.


This method has two variants. They both specify the token name as a string and the position to draw the icon at with a position2di but one also specifies a scale factor for the icon as a float.

void DrawIconByName( const string &iconName, position2di pos )
void DrawIconByName( const string &iconName, position2di pos, f32 scale )