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 setNoWrap(int nowrap);
32 void clearForegroundColor();
34 eSize calculateSize();
37 int m_valign, m_halign;
39 int event(int event, void *data=0, void *data2=0);
42 int m_have_foreground_color, m_have_shadow_color;
43 gRGB m_foreground_color, m_shadow_color;
44 ePoint m_shadow_offset;
49 evtChangedText = evtUserWidget,