1 #ifndef __lib_gui_elabel_h
2 #define __lib_gui_elabel_h
4 #include <lib/gui/ewidget.h>
6 class eLabel: public eWidget
9 eLabel(eWidget *parent, int markedPos = -1);
10 void setText(const std::string &string);
11 void setMarkedPos(int markedPos);
12 void setFont(gFont *font);
21 alignBottom=alignRight,
25 void setVAlign(int align);
26 void setHAlign(int align);
28 void setForegroundColor(const gRGB &col);
29 void setShadowColor(const gRGB &col);
30 void setShadowOffset(const ePoint &offset);
31 void clearForegroundColor();
33 eSize calculateSize();
36 int m_valign, m_halign;
38 int event(int event, void *data=0, void *data2=0);
41 int m_have_foreground_color, m_have_shadow_color;
42 gRGB m_foreground_color, m_shadow_color;
43 ePoint m_shadow_offset;
47 evtChangedText = evtUserWidget,