ScummVM API documentation
GUI::ThemeLayoutMain Class Reference
Inheritance diagram for GUI::ThemeLayoutMain:
GUI::ThemeLayout

Public Member Functions

 ThemeLayoutMain (const Common::String &name, const Common::String &overlays, int16 width, int16 height, int inset)
 
void reflowLayout (Widget *widgetChain) override
 
void resetLayout () override
 
virtual const char * getName () const override
 
- Public Member Functions inherited from GUI::ThemeLayout
 ThemeLayout (ThemeLayout *p)
 
void addChild (ThemeLayout *child)
 
void setPadding (int16 left, int16 right, int16 top, int16 bottom)
 
virtual bool getWidgetData (const Common::String &name, int16 &x, int16 &y, int16 &w, int16 &h, bool &useRTL)
 
bool getUseRTL ()
 
virtual Graphics::TextAlign getWidgetTextHAlign (const Common::String &name)
 
void importLayout (ThemeLayout *layout)
 
Graphics::TextAlign getTextHAlign ()
 

Protected Member Functions

LayoutType getLayoutType () const override
 
ThemeLayoutmakeClone (ThemeLayout *newParent) override
 
- Protected Member Functions inherited from GUI::ThemeLayout
int16 getWidth ()
 
int16 getHeight ()
 
void offsetX (int newX)
 
void offsetY (int newY)
 
void setWidth (int16 width)
 
void setHeight (int16 height)
 
void setTextHAlign (Graphics::TextAlign align)
 
virtual bool isBound (Widget *widgetChain) const
 

Protected Attributes

int16 _defaultX
 
int16 _defaultY
 
Common::String _name
 
Common::String _overlays
 
int _inset
 
- Protected Attributes inherited from GUI::ThemeLayout
ThemeLayout_parent
 
int16 _x
 
int16 _y
 
int16 _w
 
int16 _h
 
bool _useRTL
 
Common::Rect _padding
 
Common::Array< ThemeLayout * > _children
 
int16 _defaultW
 
int16 _defaultH
 
Graphics::TextAlign _textHAlign
 

Additional Inherited Members

- Public Types inherited from GUI::ThemeLayout
enum  LayoutType {
  kLayoutMain, kLayoutVertical, kLayoutHorizontal, kLayoutWidget,
  kLayoutTabWidget, kLayoutScrollContainerWidget, kLayoutSpace
}
 
enum  ItemAlign { kItemAlignStart, kItemAlignCenter, kItemAlignEnd, kItemAlignStretch }
 Cross-direction alignment of layout children. More...
 

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