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);
m_focus_owner = (eWidget*)data;
break;
case evtFocusLost:
- eDebug("unhandled focus lost in %p", this);
m_focus_owner = 0;
break;
default:
void setStyle(eWindowStyle *style) { m_style = style; }
void setBackgroundColor(const gRGB &col);
+ void clearBackgroundColor();
/* untested code */
int isVisible() { return (m_vis & wVisShow) && ((!m_parent) || m_parent->isVisible()); }