X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fgui%2Fewindow.h;h=265f512adeeaeaf7e99857affc99962f9ce633c2;hb=2a0689a69ba995ec3adcf1cd6cc20146a6d4ef58;hp=671a00791db0b5e1883bc332d51c1b91fe664342;hpb=ddc3964ed95d01e72229dc9af968a327cd84e56c;p=vuplus_dvbapp diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h index 671a007..265f512 100644 --- a/lib/gui/ewindow.h +++ b/lib/gui/ewindow.h @@ -10,9 +10,20 @@ class eWindow: public eWidget { friend class eWindowStyle; public: - eWindow(eWidgetDesktop *desktop); + eWindow(eWidgetDesktop *desktop, int z = 0); + ~eWindow(); void setTitle(const std::string &string); + std::string getTitle() const; eWidget *child() { return m_child; } + + enum { + wfNoBorder = 1 + }; + + void setBackgroundColor(const gRGB &col); + + void setFlag(int flags); + void clearFlag(int flags); protected: enum eWindowEvents { @@ -22,7 +33,8 @@ protected: private: std::string m_title; eWidget *m_child; - ePtr m_style; + int m_flags; + eWidgetDesktop *m_desktop; }; #endif