aboutsummaryrefslogtreecommitdiff
path: root/backends/wince/CEgui/Panel.cpp
diff options
context:
space:
mode:
authorNicolas Bacca2004-01-28 01:09:08 +0000
committerNicolas Bacca2004-01-28 01:09:08 +0000
commit2ff396d7e8682ae5b06c54a57f3ceefed01e20e3 (patch)
tree20ce2113539518734a0db8d4054309adb4b6e671 /backends/wince/CEgui/Panel.cpp
parent4793b48326a111e05deb76d61b5bbbcc965d861d (diff)
downloadscummvm-rg350-2ff396d7e8682ae5b06c54a57f3ceefed01e20e3.tar.gz
scummvm-rg350-2ff396d7e8682ae5b06c54a57f3ceefed01e20e3.tar.bz2
scummvm-rg350-2ff396d7e8682ae5b06c54a57f3ceefed01e20e3.zip
640x480 toolbar fixes, don't draw an invisible toolbar
svn-id: r12644
Diffstat (limited to 'backends/wince/CEgui/Panel.cpp')
-rw-r--r--backends/wince/CEgui/Panel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/wince/CEgui/Panel.cpp b/backends/wince/CEgui/Panel.cpp
index 012742740e..d29f4004e2 100644
--- a/backends/wince/CEgui/Panel.cpp
+++ b/backends/wince/CEgui/Panel.cpp
@@ -43,7 +43,7 @@ namespace CEGUI {
bool Panel::draw(SDL_Surface *surface) {
ItemMap::ConstIterator iterator;
- if (!_drawn) {
+ if (!_drawn && _visible) {
GUIElement::draw(surface);
for (iterator = _itemsMap.begin(); iterator != _itemsMap.end(); ++iterator) {
((GUIElement*)(iterator->_value))->draw(surface);