Riwmorld
Verse.WidgetRow Class Reference

Public Member Functions

 WidgetRow (float x, float y, UIDirection growDirection=2, float maxWidth=99999f, float gap=4f)
 
bool ButtonIcon (Texture2D tex, string tooltip=null)
 
bool ButtonText (string label, string tooltip=null, bool drawBackground=true, bool doMouseoverSound=false)
 
Rect FillableBar (float width, float height, float fillPct, string label, Texture2D fillTex, Texture2D bgTex=null)
 
void Gap (float width)
 
void GapButtonIcon ()
 
Rect Icon (Texture2D tex, string tooltip=null)
 
void Init (float x, float y, UIDirection growDirection=2, float maxWidth=99999f, float gap=4f)
 
Rect Label (string text, float width=-1)
 
void ToggleableIcon (ref bool toggleable, Texture2D tex, string tooltip, SoundDef mouseoverSound=null, string tutorTag=null)
 

Public Attributes

const float IconSize = 24f
 
const float DefaultGap = 4f
 

Properties

float FinalX [get]
 
float FinalY [get]
 

The documentation for this class was generated from the following file: