mmstextbaseclass.h File Reference

#include "mmsgui/theme/mmswidgetclass.h"

Include dependency graph for mmstextbaseclass.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  MMSGUI_FONT_ATTR
namespace  MMSGUI_SHADOW_ATTR
namespace  MMSGUI_TEXTINFO_ATTR

Classes

class  MMSTextBaseClass
 A base class for MMSLabelWidgetClass, MMSTextBoxWidgetClass and MMSInputWidgetClass. More...
struct  MMSTextBaseClass::MMSTEXTBASEFONTNAME
 describes name of a font More...
struct  MMSTextBaseClass::MMSTEXTBASESHADOW
 describes shadow of a text More...

Defines

#define GETFONTATTRNAME(w, aname)   w##_I[w::MMSGUI_FONT_ATTR_IDS_##aname].name
 FONT macro to address font attribute names.
#define GETFONTATTRTYPE(w, aname)   w##_I[w::MMSGUI_FONT_ATTR_IDS_##aname].type
 FONT macro to address font attribute types.
#define ISFONTATTRNAME(w, aname)   ((strcmp(attrname, GETFONTATTRNAME(w, aname))==0)?(tafff->convertString2TaffAttributeType(GETFONTATTRTYPE(w, aname), attrval_str, &attrval_str_valid, &int_val_set, &byte_val_set, p_int_val, attrname, attrid, tafff->getCurrentTagName())):(0))
 FONT macro for widget specific setAttributesFromTAFF() implementation.
#define MMSGUI_FONT_ATTR_ATTRDESC
#define MMSGUI_FONT_ATTR_IDS
#define MMSGUI_FONT_ATTR_INIT
#define SET_FONT_FROM_TAFF(w)
 FONT macro for widget specific setAttributesFromTAFF() implementation.
#define SET_FONT_FROM_TAFF_WITH_PREFIX(w)
 FONT macro for widget specific setAttributesFromTAFF() implementation.
#define GETSHADOWATTRNAME(w, aname)   w##_I[w::MMSGUI_SHADOW_ATTR_IDS_##aname].name
 SHADOW macro to address shadow attribute names.
#define GETSHADOWATTRTYPE(w, aname)   w##_I[w::MMSGUI_SHADOW_ATTR_IDS_##aname].type
 SHADOW macro to address shadow attribute types.
#define ISSHADOWATTRNAME(w, aname)   ((strcmp(attrname, GETSHADOWATTRNAME(w, aname))==0)?(tafff->convertString2TaffAttributeType(GETSHADOWATTRTYPE(w, aname), attrval_str, &attrval_str_valid, &int_val_set, &byte_val_set, p_int_val, attrname, attrid, tafff->getCurrentTagName())):(0))
 SHADOW macro for widget specific setAttributesFromTAFF() implementation.
#define MMSGUI_SHADOW_ATTR_ATTRDESC
#define MMSGUI_SHADOW_ATTR_IDS
#define MMSGUI_SHADOW_ATTR_INIT
#define SET_SHADOW_FROM_TAFF(w)
 SHADOW macro for widget specific setAttributesFromTAFF() implementation.
#define SET_SHADOW_FROM_TAFF_WITH_PREFIX(w)
 SHADOW macro for widget specific setAttributesFromTAFF() implementation.
#define GETTEXTINFOATTRNAME(w, aname)   w##_I[w::MMSGUI_TEXTINFO_ATTR_IDS_##aname].name
 TEXTINFO macro to address textinfo attribute names.
#define GETTEXTINFOATTRTYPE(w, aname)   w##_I[w::MMSGUI_TEXTINFO_ATTR_IDS_##aname].type
 TEXTINFO macro to address textinfos attribute types.
#define ISTEXTINFOATTRNAME(w, aname)   ((strcmp(attrname, GETTEXTINFOATTRNAME(w, aname))==0)?(tafff->convertString2TaffAttributeType(GETTEXTINFOATTRTYPE(w, aname), attrval_str, &attrval_str_valid, &int_val_set, &byte_val_set, p_int_val, attrname, attrid, tafff->getCurrentTagName())):(0))
 TEXTINFO macro for widget specific setAttributesFromTAFF() implementation.
#define MMSGUI_TEXTINFO_ATTR_ATTRDESC
#define MMSGUI_TEXTINFO_ATTR_IDS
#define MMSGUI_TEXTINFO_ATTR_INIT
#define SET_TEXTINFO_FROM_TAFF(w)
 TEXTINFO macro for widget specific setAttributesFromTAFF() implementation.
#define SET_TEXTINFO_FROM_TAFF_WITH_PREFIX(w)
 TEXTINFO macro for widget specific setAttributesFromTAFF() implementation.

Enumerations

enum  ids { MMSGUI_FONT_ATTR::MMSGUI_FONT_ATTR_IDS }
enum  ids { MMSGUI_SHADOW_ATTR::MMSGUI_SHADOW_ATTR_IDS }
enum  ids { MMSGUI_TEXTINFO_ATTR::MMSGUI_TEXTINFO_ATTR_IDS }

Define Documentation

#define GETFONTATTRNAME ( w,
aname   )     w##_I[w::MMSGUI_FONT_ATTR_IDS_##aname].name

FONT macro to address font attribute names.

Definition at line 42 of file mmstextbaseclass.h.

#define GETFONTATTRTYPE ( w,
aname   )     w##_I[w::MMSGUI_FONT_ATTR_IDS_##aname].type

FONT macro to address font attribute types.

Definition at line 45 of file mmstextbaseclass.h.

#define GETSHADOWATTRNAME ( w,
aname   )     w##_I[w::MMSGUI_SHADOW_ATTR_IDS_##aname].name

SHADOW macro to address shadow attribute names.

Definition at line 268 of file mmstextbaseclass.h.

#define GETSHADOWATTRTYPE ( w,
aname   )     w##_I[w::MMSGUI_SHADOW_ATTR_IDS_##aname].type

SHADOW macro to address shadow attribute types.

Definition at line 271 of file mmstextbaseclass.h.

#define GETTEXTINFOATTRNAME ( w,
aname   )     w##_I[w::MMSGUI_TEXTINFO_ATTR_IDS_##aname].name

TEXTINFO macro to address textinfo attribute names.

Definition at line 452 of file mmstextbaseclass.h.

#define GETTEXTINFOATTRTYPE ( w,
aname   )     w##_I[w::MMSGUI_TEXTINFO_ATTR_IDS_##aname].type

TEXTINFO macro to address textinfos attribute types.

Definition at line 455 of file mmstextbaseclass.h.

#define ISFONTATTRNAME ( w,
aname   )     ((strcmp(attrname, GETFONTATTRNAME(w, aname))==0)?(tafff->convertString2TaffAttributeType(GETFONTATTRTYPE(w, aname), attrval_str, &attrval_str_valid, &int_val_set, &byte_val_set, p_int_val, attrname, attrid, tafff->getCurrentTagName())):(0))

FONT macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 48 of file mmstextbaseclass.h.

#define ISSHADOWATTRNAME ( w,
aname   )     ((strcmp(attrname, GETSHADOWATTRNAME(w, aname))==0)?(tafff->convertString2TaffAttributeType(GETSHADOWATTRTYPE(w, aname), attrval_str, &attrval_str_valid, &int_val_set, &byte_val_set, p_int_val, attrname, attrid, tafff->getCurrentTagName())):(0))

SHADOW macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 274 of file mmstextbaseclass.h.

#define ISTEXTINFOATTRNAME ( w,
aname   )     ((strcmp(attrname, GETTEXTINFOATTRNAME(w, aname))==0)?(tafff->convertString2TaffAttributeType(GETTEXTINFOATTRTYPE(w, aname), attrval_str, &attrval_str_valid, &int_val_set, &byte_val_set, p_int_val, attrname, attrid, tafff->getCurrentTagName())):(0))

TEXTINFO macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 458 of file mmstextbaseclass.h.

#define MMSGUI_FONT_ATTR_ATTRDESC

Value:

{ "font.path", TAFF_ATTRTYPE_STRING }, \
        { "font.size", TAFF_ATTRTYPE_UCHAR }, \
        { "font.name", TAFF_ATTRTYPE_STRING }, \
        { "font.name.de", TAFF_ATTRTYPE_STRING }, \
        { "font.name.en", TAFF_ATTRTYPE_STRING }, \
        { "font.name.dk", TAFF_ATTRTYPE_STRING }, \
        { "font.name.es", TAFF_ATTRTYPE_STRING }, \
        { "font.name.fi", TAFF_ATTRTYPE_STRING }, \
        { "font.name.fr", TAFF_ATTRTYPE_STRING }, \
        { "font.name.it", TAFF_ATTRTYPE_STRING }, \
        { "font.name.nl", TAFF_ATTRTYPE_STRING }, \
        { "font.name.no", TAFF_ATTRTYPE_STRING }, \
        { "font.name.se", TAFF_ATTRTYPE_STRING }, \
        { "font.name.tr", TAFF_ATTRTYPE_STRING }, \
        { "font.name.cn", TAFF_ATTRTYPE_STRING }, \
        { "font.name.il", TAFF_ATTRTYPE_STRING }, \
        { "font.name.ar", TAFF_ATTRTYPE_STRING }, \
        { "font.name.cs", TAFF_ATTRTYPE_STRING }, \
        { "font.name.ru", TAFF_ATTRTYPE_STRING }, \
        { "font.name.hr", TAFF_ATTRTYPE_STRING }

Definition at line 54 of file mmstextbaseclass.h.

#define MMSGUI_FONT_ATTR_IDS

Value:

MMSGUI_FONT_ATTR_IDS_font_path, \
        MMSGUI_FONT_ATTR_IDS_font_size, \
        MMSGUI_FONT_ATTR_IDS_font_name, \
        MMSGUI_FONT_ATTR_IDS_font_name_de, \
        MMSGUI_FONT_ATTR_IDS_font_name_en, \
        MMSGUI_FONT_ATTR_IDS_font_name_dk, \
        MMSGUI_FONT_ATTR_IDS_font_name_es, \
        MMSGUI_FONT_ATTR_IDS_font_name_fi, \
        MMSGUI_FONT_ATTR_IDS_font_name_fr, \
        MMSGUI_FONT_ATTR_IDS_font_name_it, \
        MMSGUI_FONT_ATTR_IDS_font_name_nl, \
        MMSGUI_FONT_ATTR_IDS_font_name_no, \
        MMSGUI_FONT_ATTR_IDS_font_name_se, \
        MMSGUI_FONT_ATTR_IDS_font_name_tr, \
        MMSGUI_FONT_ATTR_IDS_font_name_cn, \
        MMSGUI_FONT_ATTR_IDS_font_name_il, \
        MMSGUI_FONT_ATTR_IDS_font_name_ar, \
        MMSGUI_FONT_ATTR_IDS_font_name_cs, \
        MMSGUI_FONT_ATTR_IDS_font_name_ru, \
        MMSGUI_FONT_ATTR_IDS_font_name_hr

Definition at line 76 of file mmstextbaseclass.h.

#define MMSGUI_FONT_ATTR_INIT

Value:

Definition at line 98 of file mmstextbaseclass.h.

#define MMSGUI_SHADOW_ATTR_ATTRDESC

Value:

{ "shadow.top.color", TAFF_ATTRTYPE_COLOR }, \
        { "shadow.bottom.color", TAFF_ATTRTYPE_COLOR }, \
        { "shadow.left.color", TAFF_ATTRTYPE_COLOR }, \
        { "shadow.right.color", TAFF_ATTRTYPE_COLOR }, \
        { "shadow.top-left.color", TAFF_ATTRTYPE_COLOR }, \
        { "shadow.top-right.color", TAFF_ATTRTYPE_COLOR }, \
        { "shadow.bottom-left.color", TAFF_ATTRTYPE_COLOR }, \
        { "shadow.bottom-right.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.top.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.bottom.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.left.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.right.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.top-left.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.top-right.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.bottom-left.color", TAFF_ATTRTYPE_COLOR }, \
        { "selshadow.bottom-right.color", TAFF_ATTRTYPE_COLOR }

Definition at line 280 of file mmstextbaseclass.h.

#define MMSGUI_SHADOW_ATTR_IDS

Value:

MMSGUI_SHADOW_ATTR_IDS_shadow_top_color, \
        MMSGUI_SHADOW_ATTR_IDS_shadow_bottom_color, \
        MMSGUI_SHADOW_ATTR_IDS_shadow_left_color, \
        MMSGUI_SHADOW_ATTR_IDS_shadow_right_color, \
        MMSGUI_SHADOW_ATTR_IDS_shadow_top_left_color, \
        MMSGUI_SHADOW_ATTR_IDS_shadow_top_right_color, \
        MMSGUI_SHADOW_ATTR_IDS_shadow_bottom_left_color, \
        MMSGUI_SHADOW_ATTR_IDS_shadow_bottom_right_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_top_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_bottom_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_left_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_right_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_top_left_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_top_right_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_bottom_left_color, \
        MMSGUI_SHADOW_ATTR_IDS_selshadow_bottom_right_color

Definition at line 298 of file mmstextbaseclass.h.

#define MMSGUI_SHADOW_ATTR_INIT

Value:

Definition at line 316 of file mmstextbaseclass.h.

#define MMSGUI_TEXTINFO_ATTR_ATTRDESC

Definition at line 464 of file mmstextbaseclass.h.

#define MMSGUI_TEXTINFO_ATTR_IDS

Definition at line 499 of file mmstextbaseclass.h.

#define MMSGUI_TEXTINFO_ATTR_INIT

Value:

Definition at line 533 of file mmstextbaseclass.h.

#define SET_FONT_FROM_TAFF (  ) 

FONT macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 110 of file mmstextbaseclass.h.

#define SET_FONT_FROM_TAFF_WITH_PREFIX (  ) 

FONT macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 177 of file mmstextbaseclass.h.

#define SET_SHADOW_FROM_TAFF (  ) 

SHADOW macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 328 of file mmstextbaseclass.h.

#define SET_SHADOW_FROM_TAFF_WITH_PREFIX (  ) 

SHADOW macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 380 of file mmstextbaseclass.h.

#define SET_TEXTINFO_FROM_TAFF (  ) 

TEXTINFO macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 545 of file mmstextbaseclass.h.

#define SET_TEXTINFO_FROM_TAFF_WITH_PREFIX (  ) 

TEXTINFO macro for widget specific setAttributesFromTAFF() implementation.

Definition at line 718 of file mmstextbaseclass.h.