X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ddc3964ed95d01e72229dc9af968a327cd84e56c..7373f39fe2ebe1b5007ed56ddd86d9ce0ad3efb7:/lib/gui/ewindow.h diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h index 671a0079..265f512a 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