#include <Fui.h>
Inheritance diagram for CFuiLabel:

Public Member Functions | |
| CFuiLabel (int x=0, int y=0, int w=0, int h=0, Tag window=0) | |
| virtual int | Read (SStream *stream, Tag tag) |
| virtual void | ReadFinished (void) |
| void | Draw (void) |
| void | SetColour (unsigned int colour) |
| Set text colour. | |
Protected Attributes | |
| int | just |
| int | wrap |
| unsigned int | colText |
| unsigned int | colShadow |
| bool | useShadow |
Definition at line 653 of file Fui.h.
|
||||||||||||||||||||||||
|
Definition at line 1798 of file Fui.cpp. References COMPONENT_LABEL, and MakeRGB(). |
|
|
Reimplemented from CFuiComponent. Definition at line 1853 of file Fui.cpp. References colText, CFuiComponent::Draw(), DrawText(), DrawTextC(), DrawTextR(), EraseSurface(), CFuiComponent::font, globals, just, JUSTIFY_H_CENTER, JUSTIFY_H_LEFT, JUSTIFY_H_RIGHT, JUSTIFY_V_BOTTOM, JUSTIFY_V_CENTER, JUSTIFY_V_TOP, SGlobals::logWarning, MaxCharHeight(), CFuiComponent::surface, CFuiComponent::text, TextWidth(), CFuiComponent::w, CLogFile::Write(), and CFuiComponent::y. |
|
||||||||||||
|
Reimplemented from CFuiComponent. Definition at line 1812 of file Fui.cpp. References just, CFuiComponent::Read(), ReadInt(), TAG_IGNORED, TAG_READ, and wrap. |
|
|
Reimplemented from CFuiComponent. Definition at line 1835 of file Fui.cpp. References colShadow, colText, SGlobals::fuimgr, CFuiThemeWidget::GetColour(), CFuiThemeWidget::GetFlag(), CFuiManager::GetThemeWidget(), globals, SGlobals::logWarning, CFuiComponent::ReadFinished(), TagToString(), useShadow, CFuiComponent::widgetName, CFuiComponent::widgetTag, and CLogFile::Write(). |
|
|
Definition at line 1884 of file Fui.cpp. References colText. Referenced by CFuiManager::SetLabelColour(). |
|
|
Definition at line 673 of file Fui.h. Referenced by ReadFinished(). |
|
|
Definition at line 672 of file Fui.h. Referenced by Draw(), ReadFinished(), and SetColour(). |
|
|
|
|
|
Definition at line 674 of file Fui.h. Referenced by ReadFinished(). |
|
|
Definition at line 671 of file Fui.h. Referenced by Read(). |
|
|
Documentation generated by
|