support backgroundColor for eWindow
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 14 May 2006 22:52:51 +0000 (22:52 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 14 May 2006 22:52:51 +0000 (22:52 +0000)
lib/gui/ewindow.cpp
lib/gui/ewindow.h

index 112b82d..910acda 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;
index bb7f771..265f512 100644 (file)
@@ -19,6 +19,8 @@ public:
        enum {
                wfNoBorder = 1
        };
+
+       void setBackgroundColor(const gRGB &col);
        
        void setFlag(int flags);
        void clearFlag(int flags);