1 #ifndef __lib_gui_ewindow_h
2 #define __lib_gui_ewindow_h
4 #include <lib/gui/ewidget.h>
5 #include <lib/gui/ewindowstyle.h>
9 class eWindow: public eWidget
11 friend class eWindowStyle;
13 eWindow(eWidgetDesktop *desktop, int z = 0);
15 void setTitle(const std::string &string);
16 std::string getTitle() const;
17 eWidget *child() { return m_child; }
23 void setBackgroundColor(const gRGB &col);
25 void setFlag(int flags);
26 void clearFlag(int flags);
30 evtTitleChanged = evtUserWidget,
32 int event(int event, void *data=0, void *data2=0);
37 eWidgetDesktop *m_desktop;