support backgroundColor for eWindow
[enigma2.git] / lib / gui / ewindow.cpp
index 112b82d74bb7cf84710cb5157d5ab836b6f25152..910acda4f490f8b1c3ae8fbc31ba3989edeb8afb 100644 (file)
@@ -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;