dont show toneburst(MiniDiSEqC) setting when no diseqc is used
[enigma2.git] / lib / gui / ewindow.h
1 #ifndef __lib_gui_ewindow_h
2 #define __lib_gui_ewindow_h
3
4 #include <lib/gui/ewidget.h>
5 #include <lib/gui/ewindowstyle.h>
6
7 class eWidgetDesktop;
8
9 class eWindow: public eWidget
10 {
11         friend class eWindowStyle;
12 public:
13         eWindow(eWidgetDesktop *desktop, int z = 0);
14         ~eWindow();
15         void setTitle(const std::string &string);
16         std::string getTitle() const;
17         eWidget *child() { return m_child; }
18         
19         enum {
20                 wfNoBorder = 1
21         };
22         
23         void setFlag(int flags);
24         void clearFlag(int flags);
25 protected:
26         enum eWindowEvents
27         {
28                 evtTitleChanged = evtUserWidget,
29         };
30         int event(int event, void *data=0, void *data2=0);
31 private:
32         std::string m_title;
33         eWidget *m_child;
34         int m_flags;
35 };
36
37 #endif