Public Member Functions | |
ThemeLayoutWidget (ThemeLayout *p, const Common::String &name, int16 w, int16 h, Graphics::TextAlign align, bool useRTL) | |
bool | getWidgetData (const Common::String &name, int16 &x, int16 &y, int16 &w, int16 &h, bool &useRTL) override |
Graphics::TextAlign | getWidgetTextHAlign (const Common::String &name) override |
void | reflowLayout (Widget *widgetChain) override |
virtual const char * | getName () const override |
Public Member Functions inherited from GUI::ThemeLayout | |
ThemeLayout (ThemeLayout *p) | |
virtual void | resetLayout () |
void | addChild (ThemeLayout *child) |
void | setPadding (int16 left, int16 right, int16 top, int16 bottom) |
bool | getUseRTL () |
void | importLayout (ThemeLayout *layout) |
Graphics::TextAlign | getTextHAlign () |
Protected Member Functions | |
LayoutType | getLayoutType () const override |
bool | isBound (Widget *widgetChain) const override |
Widget * | getWidget (Widget *widgetChain) const |
ThemeLayout * | makeClone (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) |
Protected Attributes | |
Common::String | _name |
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... | |
|
overrideprotectedvirtual |
Checks if the layout element is attached to a GUI widget
Layout elements that are not bound do not take space.
Reimplemented from GUI::ThemeLayout.