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);
10 void setText(const std::string &string);
11 void setFont(gFont *font);
12 gFont* eLabel::getFont();
20 alignBottom=alignRight,
24 void setVAlign(int align);
25 void setHAlign(int align);
27 void setForegroundColor(const gRGB &col);
28 void clearForegroundColor();
30 eSize calculateSize();
33 int m_valign, m_halign;
35 int event(int event, void *data=0, void *data2=0);
37 int m_have_foreground_color;
38 gRGB m_foreground_color;
42 evtChangedText = evtUserWidget,