ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

GUI::ThemeLayoutWidget Class Reference

#include <ThemeLayout.h>

Inheritance diagram for GUI::ThemeLayoutWidget:
Collaboration diagram for GUI::ThemeLayoutWidget:

List of all members.

Public Member Functions

 ThemeLayoutWidget (ThemeLayout *p, const Common::String &name, int16 w, int16 h, Graphics::TextAlign align)
bool getWidgetData (const Common::String &name, int16 &x, int16 &y, int16 &w, int16 &h) override
Graphics::TextAlign getWidgetTextHAlign (const Common::String &name) override
void reflowLayout (Widget *widgetChain) override
virtual const char * getName () const

Protected Member Functions

LayoutType getLayoutType () const override
bool isBound (Widget *widgetChain) const override
 Checks if the layout element is attached to a GUI widget.
WidgetgetWidget (Widget *widgetChain) const
ThemeLayoutmakeClone (ThemeLayout *newParent) override

Protected Attributes

Common::String _name

Detailed Description

Definition at line 220 of file ThemeLayout.h.


Constructor & Destructor Documentation

GUI::ThemeLayoutWidget::ThemeLayoutWidget ( ThemeLayout p,
const Common::String name,
int16  w,
int16  h,
Graphics::TextAlign  align 
) [inline]

Definition at line 222 of file ThemeLayout.h.


Member Function Documentation

LayoutType GUI::ThemeLayoutWidget::getLayoutType (  )  const [inline, override, protected, virtual]

Implements GUI::ThemeLayout.

Reimplemented in GUI::ThemeLayoutTabWidget.

Definition at line 237 of file ThemeLayout.h.

virtual const char* GUI::ThemeLayoutWidget::getName (  )  const [inline, virtual]

Definition at line 234 of file ThemeLayout.h.

Widget * GUI::ThemeLayoutWidget::getWidget ( Widget widgetChain  )  const [protected]

Definition at line 203 of file ThemeLayout.cpp.

bool GUI::ThemeLayoutWidget::getWidgetData ( const Common::String name,
int16 x,
int16 y,
int16 w,
int16 h 
) [override, virtual]

Reimplemented from GUI::ThemeLayout.

Reimplemented in GUI::ThemeLayoutTabWidget.

Definition at line 161 of file ThemeLayout.cpp.

Graphics::TextAlign GUI::ThemeLayoutWidget::getWidgetTextHAlign ( const Common::String name  )  [override, virtual]

Reimplemented from GUI::ThemeLayout.

Definition at line 171 of file ThemeLayout.cpp.

bool GUI::ThemeLayoutWidget::isBound ( Widget widgetChain  )  const [override, protected, virtual]

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.

Definition at line 198 of file ThemeLayout.cpp.

ThemeLayout* GUI::ThemeLayoutWidget::makeClone ( ThemeLayout newParent  )  [inline, override, protected, virtual]

Implements GUI::ThemeLayout.

Reimplemented in GUI::ThemeLayoutTabWidget.

Definition at line 242 of file ThemeLayout.h.

void GUI::ThemeLayoutWidget::reflowLayout ( Widget widgetChain  )  [override, virtual]

Implements GUI::ThemeLayout.

Reimplemented in GUI::ThemeLayoutTabWidget.

Definition at line 179 of file ThemeLayout.cpp.


Member Data Documentation

Definition at line 248 of file ThemeLayout.h.


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


Generated on Sat May 30 2020 05:03:23 for ResidualVM by doxygen 1.7.1
curved edge   curved edge