X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fgui%2Fewindow.h;h=f5bcd51af72e3930bf394032b8890eafd4c4cdd2;hb=ba02fb4aced5868d047a5bffbd2ed87583daee4d;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5;p=vuplus_dvbapp diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h index e69de29..f5bcd51 100644 --- a/lib/gui/ewindow.h +++ b/lib/gui/ewindow.h @@ -0,0 +1,28 @@ +#ifndef __lib_gui_ewindow_h +#define __lib_gui_ewindow_h + +#include +#include + +class eWidgetDesktop; + +class eWindow: public eWidget +{ + friend class eWindowStyle; +public: + eWindow(eWidgetDesktop *desktop); + ~eWindow(); + void setTitle(const std::string &string); + eWidget *child() { return m_child; } +protected: + enum eWindowEvents + { + evtTitleChanged = evtUserWidget, + }; + int event(int event, void *data=0, void *data2=0); +private: + std::string m_title; + eWidget *m_child; +}; + +#endif