- add clearBackgroundColor to use default (defined by style) again
[enigma2.git] / lib / gui / ewidget.cpp
index 2241577ecc959a1c723479c07faa830ed136e3de..7586c6277b7dd18e386845e3b80a800221b63922 100644 (file)
@@ -153,11 +153,15 @@ void eWidget::destruct()
 
 void eWidget::setBackgroundColor(const gRGB &col)
 {
-       eDebug("set background color in ewidget!");
        m_background_color = col;
        m_have_background_color = 1;
 }
 
+void eWidget::clearBackgroundColor()
+{
+       m_have_background_color = 0;
+}
+
 void eWidget::mayKillFocus()
 {
        setFocus(0);
@@ -264,7 +268,6 @@ int eWidget::event(int event, void *data, void *data2)
                m_focus_owner = (eWidget*)data;
                break;
        case evtFocusLost:
-               eDebug("unhandled focus lost in %p", this);
                m_focus_owner = 0;
                break;
        default: