ScummVM API documentation
GUI::ThemeEval Class Reference

Public Member Functions

void buildBuiltinVars ()
 
int getVar (const Common::String &s)
 
int getVar (const Common::String &s, int def)
 
void setScaleFactor (float s)
 
void setVar (const Common::String &name, int val)
 
bool hasVar (const Common::String &name)
 
ThemeEvaladdDialog (const Common::String &name, const Common::String &overlays, int16 maxWidth=-1, int16 maxHeight=-1, int inset=0)
 
ThemeEvaladdLayout (ThemeLayout::LayoutType type, int spacing=-1, ThemeLayout::ItemAlign itemAlign=ThemeLayout::kItemAlignStart)
 
ThemeEvaladdWidget (const Common::String &name, const Common::String &type, int w=-1, int h=-1, Graphics::TextAlign align=Graphics::kTextAlignStart, bool useRTL=true)
 
ThemeEvaladdImportedLayout (const Common::String &name)
 
ThemeEvaladdSpace (int size=-1)
 
ThemeEvaladdPadding (int16 l, int16 r, int16 t, int16 b)
 
ThemeEvalcloseLayout ()
 
ThemeEvalcloseDialog ()
 
bool hasDialog (const Common::String &name)
 
void reflowDialogLayout (const Common::String &name, Widget *widgetChain)
 
bool getWidgetData (const Common::String &widget, int16 &x, int16 &y, int16 &w, int16 &h)
 
bool getWidgetData (const Common::String &widget, int16 &x, int16 &y, int16 &w, int16 &h, bool &useRTL)
 
Graphics::TextAlign getWidgetTextHAlign (const Common::String &widget)
 
void reset ()
 

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