- added ListBoxContents: based on std::list<std::string> and PyList with Strings
[enigma2.git] / lib / gui / elabel.h
1 #ifndef __lib_gui_elabel_h
2 #define __lib_gui_elabel_h
3
4 #include <lib/gui/ewidget.h>
5
6 class eLabel: public eWidget
7 {
8 public:
9         eLabel(eWidget *parent);
10         void setText(const std::string &string);
11 protected:
12         int event(int event, void *data=0, void *data2=0);
13 private:
14         enum eLabelEvent
15         {
16                 evtChangedText = evtUserWidget
17         };
18         std::string m_text;
19 };
20
21 #endif