#include <mmstextbaseclass.h>

Public Member Functions | |
| MMSTextBaseClass () | |
| Constructor of class MMSTextBaseClass. | |
| virtual | ~MMSTextBaseClass () |
| Destructor of class MMSTextBaseClass. | |
| virtual void | unsetAll () |
| Mark all attributes as not set. | |
| bool | isFontPath () |
| Check if the fontpath is set. | |
| void | setFontPath (string fontpath) |
| Set the fontpath which is used to draw the text. | |
| void | unsetFontPath () |
| Mark the fontpath as not set. | |
| string | getFontPath () |
| Get the fontpath which is used to draw the text. | |
| bool | isFontSize () |
| Check if the fontsize is set. | |
| void | setFontSize (unsigned int fontsize) |
| Set the fontsize which is used to draw the text. | |
| void | unsetFontSize () |
| Mark the fontsize as not set. | |
| unsigned int | getFontSize () |
| Get the fontsize which is used to draw the text. | |
| bool | isFontName (MMSLanguage lang=MMSLANG_NONE) |
| Check if the fontname is set. | |
| void | setFontName (string fontname, MMSLanguage lang=MMSLANG_NONE) |
| Set the fontname which is used to draw the text. | |
| void | unsetFontName (MMSLanguage lang=MMSLANG_NONE) |
| Mark the fontname as not set. | |
| void | unsetFontNames () |
| Mark all fontnames as not set. | |
| string | getFontName (MMSLanguage lang=MMSLANG_NONE) |
| Get the fontname which is used to draw the text. | |
| bool | isAlignment () |
| Check if alignment is set. | |
| void | setAlignment (MMSALIGNMENT alignment) |
| Set the alignment of the text (see MMSALIGNMENT values). | |
| void | unsetAlignment () |
| Mark the alignment as not set. | |
| MMSALIGNMENT | getAlignment () |
| Get the alignment of the text (see MMSALIGNMENT values). | |
| bool | isColor () |
| Check if the color is set. This color will be used for the unselected text. | |
| void | setColor (MMSFBColor color) |
| Set the color which is used to draw the unselected text. | |
| void | unsetColor () |
| Mark the color as not set. | |
| MMSFBColor | getColor () |
| Get the color which is used to draw the unselected text. | |
| bool | isSelColor () |
| Check if the color is set. This color will be used for the selected text. | |
| void | setSelColor (MMSFBColor selcolor) |
| Set the color which is used to draw the selected text. | |
| void | unsetSelColor () |
| Mark the color as not set. | |
| MMSFBColor | getSelColor () |
| Get the color which is used to draw the selected text. | |
| bool | isColor_p () |
| Check if the color_p is set. This color will be used for the unselected, pressed text. | |
| void | setColor_p (MMSFBColor color_p) |
| Set the color which is used to draw the unselected, pressed text. | |
| void | unsetColor_p () |
| Mark the color_p as not set. | |
| MMSFBColor | getColor_p () |
| Get the color which is used to draw the unselected, pressed text. | |
| bool | isSelColor_p () |
| Check if the color is set. This color will be used for the selected, pressed text. | |
| void | setSelColor_p (MMSFBColor selcolor_p) |
| Set the color which is used to draw the selected, pressed text. | |
| void | unsetSelColor_p () |
| Mark the color_p as not set. | |
| MMSFBColor | getSelColor_p () |
| Get the color which is used to draw the selected, pressed text. | |
| bool | isColor_i () |
| Check if the color_i is set. This color will be used for the unselected, inactive text. | |
| void | setColor_i (MMSFBColor color_i) |
| Set the color which is used to draw the unselected, inactive text. | |
| void | unsetColor_i () |
| Mark the color_i as not set. | |
| MMSFBColor | getColor_i () |
| Get the color which is used to draw the unselected, inactive text. | |
| bool | isSelColor_i () |
| Check if the color is set. This color will be used for the selected, inactive text. | |
| void | setSelColor_i (MMSFBColor selcolor_i) |
| Set the color which is used to draw the selected, inactive text. | |
| void | unsetSelColor_i () |
| Mark the color_i as not set. | |
| MMSFBColor | getSelColor_i () |
| Get the color which is used to draw the selected, inactive text. | |
| bool | isText () |
| Check if the text is set. | |
| void | setText (string *text) |
| Set the text to be drawn. | |
| void | setText (string text) |
| Set the text to be drawn. | |
| void | unsetText () |
| Mark the text as not set. | |
| string | getText () |
| Get the current text. | |
| bool | isShadowColor (MMSPOSITION position) |
| void | setShadowColor (MMSPOSITION position, MMSFBColor color) |
| void | unsetShadowColor (MMSPOSITION position) |
| void | unsetShadowColors () |
| MMSFBColor | getShadowColor (MMSPOSITION position) |
| bool | isSelShadowColor (MMSPOSITION position) |
| void | setSelShadowColor (MMSPOSITION position, MMSFBColor selcolor) |
| void | unsetSelShadowColor (MMSPOSITION position) |
| void | unsetSelShadowColors () |
| MMSFBColor | getSelShadowColor (MMSPOSITION position) |
Private Attributes | |
| bool | isfontpath |
| is fontpath set? | |
| string | fontpath |
| path to the font | |
| bool | isfontsize |
| is fontsize set? | |
| unsigned int | fontsize |
| size of the font | |
| MMSTEXTBASEFONTNAME | fontname [MMSLANG_SIZE] |
| language dependent font filenames | |
| bool | isalignment |
| is alignment set? | |
| MMSALIGNMENT | alignment |
| alignment of the text | |
| bool | iscolor |
| is color set? | |
| MMSFBColor | color |
| color of the text if the widget is not selected | |
| bool | isselcolor |
| is selcolor set? | |
| MMSFBColor | selcolor |
| color of the text if the widget is selected | |
| bool | iscolor_p |
| is color_p set? | |
| MMSFBColor | color_p |
| color of the text if the widget is not selected but pressed | |
| bool | isselcolor_p |
| is selcolor_p set? | |
| MMSFBColor | selcolor_p |
| color of the text if the widget is selected and pressed | |
| bool | iscolor_i |
| is color_i set? | |
| MMSFBColor | color_i |
| color of the text if the widget is not selected and disabled | |
| bool | isselcolor_i |
| is selcolor_i set? | |
| MMSFBColor | selcolor_i |
| color of the text if the widget is selected and disabled | |
| bool | istext |
| is text set? | |
| string | text |
| text to draw | |
| MMSTEXTBASESHADOW | shadow [MMSPOSITION_SIZE] |
| text shadows (eight directions) | |
Friends | |
| class | MMSThemeManager |
| class | MMSDialogManager |
Classes | |
| struct | MMSTEXTBASEFONTNAME |
| describes name of a font More... | |
| struct | MMSTEXTBASESHADOW |
| describes shadow of a text More... | |
Definition at line 927 of file mmstextbaseclass.h.
| MMSTextBaseClass::MMSTextBaseClass | ( | ) |
| MMSTextBaseClass::~MMSTextBaseClass | ( | ) | [virtual] |
| void MMSTextBaseClass::unsetAll | ( | ) | [virtual] |
Mark all attributes as not set.
Reimplemented in MMSInputWidgetClass, MMSLabelWidgetClass, and MMSTextBoxWidgetClass.
Definition at line 44 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isFontPath | ( | ) |
| void MMSTextBaseClass::setFontPath | ( | string | fontpath | ) |
Set the fontpath which is used to draw the text.
| fontpath | path to the font |
Definition at line 65 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetFontPath | ( | ) |
| string MMSTextBaseClass::getFontPath | ( | ) |
Get the fontpath which is used to draw the text.
Definition at line 74 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isFontSize | ( | ) |
| void MMSTextBaseClass::setFontSize | ( | unsigned int | fontsize | ) |
Set the fontsize which is used to draw the text.
| fontsize | size of the font |
Definition at line 82 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetFontSize | ( | ) |
| unsigned int MMSTextBaseClass::getFontSize | ( | ) |
Get the fontsize which is used to draw the text.
Definition at line 91 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isFontName | ( | MMSLanguage | lang = MMSLANG_NONE |
) |
Check if the fontname is set.
| lang | optional language |
Definition at line 96 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setFontName | ( | string | fontname, | |
| MMSLanguage | lang = MMSLANG_NONE | |||
| ) |
Set the fontname which is used to draw the text.
| fontname | name of the font | |
| lang | optional language |
Definition at line 101 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetFontName | ( | MMSLanguage | lang = MMSLANG_NONE |
) |
Mark the fontname as not set.
| lang | optional language |
Definition at line 107 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetFontNames | ( | ) |
| string MMSTextBaseClass::getFontName | ( | MMSLanguage | lang = MMSLANG_NONE |
) |
Get the fontname which is used to draw the text.
| lang | optional language |
Definition at line 118 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isAlignment | ( | ) |
| void MMSTextBaseClass::setAlignment | ( | MMSALIGNMENT | alignment | ) |
Set the alignment of the text (see MMSALIGNMENT values).
| alignment | text alignment |
Definition at line 128 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetAlignment | ( | ) |
| MMSALIGNMENT MMSTextBaseClass::getAlignment | ( | ) |
Get the alignment of the text (see MMSALIGNMENT values).
Definition at line 137 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isColor | ( | ) |
Check if the color is set. This color will be used for the unselected text.
Definition at line 141 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setColor | ( | MMSFBColor | color | ) |
Set the color which is used to draw the unselected text.
| color | color for unselected text |
Definition at line 145 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetColor | ( | ) |
| MMSFBColor MMSTextBaseClass::getColor | ( | ) |
Get the color which is used to draw the unselected text.
Definition at line 154 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isSelColor | ( | ) |
Check if the color is set. This color will be used for the selected text.
Definition at line 158 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setSelColor | ( | MMSFBColor | selcolor | ) |
Set the color which is used to draw the selected text.
| selcolor | color for selected text |
Definition at line 162 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetSelColor | ( | ) |
| MMSFBColor MMSTextBaseClass::getSelColor | ( | ) |
Get the color which is used to draw the selected text.
Definition at line 171 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isColor_p | ( | ) |
Check if the color_p is set. This color will be used for the unselected, pressed text.
Definition at line 176 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setColor_p | ( | MMSFBColor | color_p | ) |
Set the color which is used to draw the unselected, pressed text.
| color_p | color for unselected, pressed text |
Definition at line 180 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetColor_p | ( | ) |
| MMSFBColor MMSTextBaseClass::getColor_p | ( | ) |
Get the color which is used to draw the unselected, pressed text.
Definition at line 189 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isSelColor_p | ( | ) |
Check if the color is set. This color will be used for the selected, pressed text.
Definition at line 193 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setSelColor_p | ( | MMSFBColor | selcolor_p | ) |
Set the color which is used to draw the selected, pressed text.
| selcolor_p | color for selected, pressed text |
Definition at line 197 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetSelColor_p | ( | ) |
| MMSFBColor MMSTextBaseClass::getSelColor_p | ( | ) |
Get the color which is used to draw the selected, pressed text.
Definition at line 206 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isColor_i | ( | ) |
Check if the color_i is set. This color will be used for the unselected, inactive text.
Definition at line 211 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setColor_i | ( | MMSFBColor | color_i | ) |
Set the color which is used to draw the unselected, inactive text.
| color_i | color for unselected, inactive text |
Definition at line 215 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetColor_i | ( | ) |
| MMSFBColor MMSTextBaseClass::getColor_i | ( | ) |
Get the color which is used to draw the unselected, inactive text.
Definition at line 224 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isSelColor_i | ( | ) |
Check if the color is set. This color will be used for the selected, inactive text.
Definition at line 228 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setSelColor_i | ( | MMSFBColor | selcolor_i | ) |
Set the color which is used to draw the selected, inactive text.
| selcolor_i | color for selected, inactive text |
Definition at line 232 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetSelColor_i | ( | ) |
| MMSFBColor MMSTextBaseClass::getSelColor_i | ( | ) |
Get the color which is used to draw the selected, inactive text.
Definition at line 241 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isText | ( | ) |
| void MMSTextBaseClass::setText | ( | string * | text | ) |
Set the text to be drawn.
| text | pointer to any text string |
Definition at line 251 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setText | ( | string | text | ) |
Set the text to be drawn.
| text | any text string |
Definition at line 256 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetText | ( | ) |
| string MMSTextBaseClass::getText | ( | ) |
| bool MMSTextBaseClass::isShadowColor | ( | MMSPOSITION | position | ) |
Definition at line 270 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setShadowColor | ( | MMSPOSITION | position, | |
| MMSFBColor | color | |||
| ) |
Definition at line 274 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetShadowColor | ( | MMSPOSITION | position | ) |
Definition at line 279 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetShadowColors | ( | ) |
Definition at line 283 of file mmstextbaseclass.cpp.
| MMSFBColor MMSTextBaseClass::getShadowColor | ( | MMSPOSITION | position | ) |
Definition at line 289 of file mmstextbaseclass.cpp.
| bool MMSTextBaseClass::isSelShadowColor | ( | MMSPOSITION | position | ) |
Definition at line 293 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::setSelShadowColor | ( | MMSPOSITION | position, | |
| MMSFBColor | selcolor | |||
| ) |
Definition at line 297 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetSelShadowColor | ( | MMSPOSITION | position | ) |
Definition at line 302 of file mmstextbaseclass.cpp.
| void MMSTextBaseClass::unsetSelShadowColors | ( | ) |
Definition at line 306 of file mmstextbaseclass.cpp.
| MMSFBColor MMSTextBaseClass::getSelShadowColor | ( | MMSPOSITION | position | ) |
Definition at line 312 of file mmstextbaseclass.cpp.
friend class MMSThemeManager [friend] |
Reimplemented in MMSInputWidgetClass, MMSLabelWidgetClass, and MMSTextBoxWidgetClass.
Definition at line 1277 of file mmstextbaseclass.h.
friend class MMSDialogManager [friend] |
Reimplemented in MMSInputWidgetClass, MMSLabelWidgetClass, and MMSTextBoxWidgetClass.
Definition at line 1278 of file mmstextbaseclass.h.
bool MMSTextBaseClass::isfontpath [private] |
string MMSTextBaseClass::fontpath [private] |
bool MMSTextBaseClass::isfontsize [private] |
unsigned int MMSTextBaseClass::fontsize [private] |
MMSTEXTBASEFONTNAME MMSTextBaseClass::fontname[MMSLANG_SIZE] [private] |
bool MMSTextBaseClass::isalignment [private] |
MMSALIGNMENT MMSTextBaseClass::alignment [private] |
bool MMSTextBaseClass::iscolor [private] |
MMSFBColor MMSTextBaseClass::color [private] |
bool MMSTextBaseClass::isselcolor [private] |
MMSFBColor MMSTextBaseClass::selcolor [private] |
bool MMSTextBaseClass::iscolor_p [private] |
MMSFBColor MMSTextBaseClass::color_p [private] |
color of the text if the widget is not selected but pressed
Definition at line 979 of file mmstextbaseclass.h.
bool MMSTextBaseClass::isselcolor_p [private] |
MMSFBColor MMSTextBaseClass::selcolor_p [private] |
color of the text if the widget is selected and pressed
Definition at line 985 of file mmstextbaseclass.h.
bool MMSTextBaseClass::iscolor_i [private] |
MMSFBColor MMSTextBaseClass::color_i [private] |
color of the text if the widget is not selected and disabled
Definition at line 992 of file mmstextbaseclass.h.
bool MMSTextBaseClass::isselcolor_i [private] |
MMSFBColor MMSTextBaseClass::selcolor_i [private] |
color of the text if the widget is selected and disabled
Definition at line 998 of file mmstextbaseclass.h.
bool MMSTextBaseClass::istext [private] |
string MMSTextBaseClass::text [private] |
MMSTEXTBASESHADOW MMSTextBaseClass::shadow[MMSPOSITION_SIZE] [private] |