git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
505654a
)
prepare next background color for transparent widgets
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 14 May 2006 22:08:13 +0000
(22:08 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 14 May 2006 22:08:13 +0000
(22:08 +0000)
lib/gui/ewidget.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/ewidget.cpp
b/lib/gui/ewidget.cpp
index e05042965b5cfaad310bdf63b1aa68c16104dca2..30602c558ca238acc6c59c9a3d648cb2e2237f6c 100644
(file)
--- a/
lib/gui/ewidget.cpp
+++ b/
lib/gui/ewidget.cpp
@@
-341,8
+341,13
@@
int eWidget::event(int event, void *data, void *data2)
}
} else
{
- if (m_have_background_color)
- painter.setBackgroundColor(m_background_color);
+ eWidget *w = this;
+
+ while (w && !w->m_have_background_color)
+ w = w->m_parent;
+
+ if (w)
+ painter.setBackgroundColor(w->m_background_color);
}
break;
}