X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ba02fb4aced5868d047a5bffbd2ed87583daee4d..9b1c4b296ae2f83c62cb83c5babfc35cbc3d52f7:/lib/gui/ewindow.h diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h index f5bcd51a..d36d9124 100644 --- a/lib/gui/ewindow.h +++ b/lib/gui/ewindow.h @@ -10,10 +10,18 @@ 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 setFlag(int flags); + void clearFlag(int flags); protected: enum eWindowEvents { @@ -23,6 +31,7 @@ protected: private: std::string m_title; eWidget *m_child; + int m_flags; }; #endif