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

GUI::StaticTextWidget Class Reference

#include <widget.h>

Inheritance diagram for GUI::StaticTextWidget:
Collaboration diagram for GUI::StaticTextWidget:

List of all members.

Public Member Functions

 StaticTextWidget (GuiObject *boss, int x, int y, int w, int h, const Common::String &text, Graphics::TextAlign align, const char *tooltip=0, ThemeEngine::FontStyle font=ThemeEngine::kFontStyleBold)
 StaticTextWidget (GuiObject *boss, const Common::String &name, const Common::String &text, const char *tooltip=0, ThemeEngine::FontStyle font=ThemeEngine::kFontStyleBold)
void setValue (int value)
void setLabel (const Common::String &label)
const Common::StringgetLabel () const
void setAlign (Graphics::TextAlign align)
Graphics::TextAlign getAlign () const

Protected Member Functions

void drawWidget ()

Protected Attributes

Common::String _label
Graphics::TextAlign _align
ThemeEngine::FontStyle _font

Detailed Description

Definition at line 186 of file widget.h.

Constructor & Destructor Documentation

GUI::StaticTextWidget::StaticTextWidget ( GuiObject boss,
int  x,
int  y,
int  w,
int  h,
const Common::String text,
Graphics::TextAlign  align,
const char *  tooltip = 0,
ThemeEngine::FontStyle  font = ThemeEngine::kFontStyleBold 

Definition at line 261 of file widget.cpp.

GUI::StaticTextWidget::StaticTextWidget ( GuiObject boss,
const Common::String name,
const Common::String text,
const char *  tooltip = 0,
ThemeEngine::FontStyle  font = ThemeEngine::kFontStyleBold 

Definition at line 269 of file widget.cpp.

Member Function Documentation

void GUI::StaticTextWidget::drawWidget (  )  [protected, virtual]

Implements GUI::Widget.

Definition at line 300 of file widget.cpp.

Graphics::TextAlign GUI::StaticTextWidget::getAlign (  )  const [inline]

Definition at line 198 of file widget.h.

const Common::String& GUI::StaticTextWidget::getLabel (  )  const [inline]

Definition at line 196 of file widget.h.

void GUI::StaticTextWidget::setAlign ( Graphics::TextAlign  align  ) 

Definition at line 291 of file widget.cpp.

void GUI::StaticTextWidget::setLabel ( const Common::String label  ) 

Definition at line 283 of file widget.cpp.

void GUI::StaticTextWidget::setValue ( int  value  ) 

Definition at line 279 of file widget.cpp.

Member Data Documentation

Definition at line 189 of file widget.h.

Definition at line 190 of file widget.h.

Definition at line 188 of file widget.h.

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

Generated on Sat Nov 9 2019 05:02:16 for ResidualVM by doxygen 1.7.1
curved edge   curved edge