git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add missing \n (without this the lamedb is currupted after shutdown enigma2)
[enigma2.git]
/
lib
/
gui
/
ewindow.h
diff --git
a/lib/gui/ewindow.h
b/lib/gui/ewindow.h
index f5bcd51af72e3930bf394032b8890eafd4c4cdd2..265f512adeeaeaf7e99857affc99962f9ce633c2 100644
(file)
--- a/
lib/gui/ewindow.h
+++ b/
lib/gui/ewindow.h
@@
-10,10
+10,20
@@
class eWindow: public eWidget
{
friend class eWindowStyle;
public:
{
friend class eWindowStyle;
public:
- eWindow(eWidgetDesktop *desktop);
+ eWindow(eWidgetDesktop *desktop
, int z = 0
);
~eWindow();
void setTitle(const std::string &string);
~eWindow();
void setTitle(const std::string &string);
+ std::string getTitle() const;
eWidget *child() { return m_child; }
eWidget *child() { return m_child; }
+
+ enum {
+ wfNoBorder = 1
+ };
+
+ void setBackgroundColor(const gRGB &col);
+
+ void setFlag(int flags);
+ void clearFlag(int flags);
protected:
enum eWindowEvents
{
protected:
enum eWindowEvents
{
@@
-23,6
+33,8
@@
protected:
private:
std::string m_title;
eWidget *m_child;
private:
std::string m_title;
eWidget *m_child;
+ int m_flags;
+ eWidgetDesktop *m_desktop;
};
#endif
};
#endif