aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-05-14 22:52:51 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-05-14 22:52:51 +0000
commit8bca86cd0957744b9b1439c0ef63debb2e562c94 (patch)
treee95375bf70e9b58c95b2cedf588f81831e7db897
parentfdec43a4957e03cf120dfe55fb98735fdce21796 (diff)
downloadenigma2-8bca86cd0957744b9b1439c0ef63debb2e562c94.tar.gz
enigma2-8bca86cd0957744b9b1439c0ef63debb2e562c94.zip
support backgroundColor for eWindow
-rw-r--r--lib/gui/ewindow.cpp8
-rw-r--r--lib/gui/ewindow.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/gui/ewindow.cpp b/lib/gui/ewindow.cpp
index 112b82d7..910acda4 100644
--- a/lib/gui/ewindow.cpp
+++ b/lib/gui/ewindow.cpp
@@ -52,6 +52,14 @@ std::string eWindow::getTitle() const
return m_title;
}
+void eWindow::setBackgroundColor(const gRGB &col)
+{
+ eDebug("eWindow: Set background color!");
+ /* set background color for child, too */
+ eWidget::setBackgroundColor(col);
+ m_child->setBackgroundColor(col);
+}
+
void eWindow::setFlag(int flags)
{
m_flags |= flags;
diff --git a/lib/gui/ewindow.h b/lib/gui/ewindow.h
index bb7f771c..265f512a 100644
--- a/lib/gui/ewindow.h
+++ b/lib/gui/ewindow.h
@@ -19,6 +19,8 @@ public:
enum {
wfNoBorder = 1
};
+
+ void setBackgroundColor(const gRGB &col);
void setFlag(int flags);
void clearFlag(int flags);