diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-14 02:54:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-14 02:54:44 +0300 |
commit | 84499779fcf0c8b5392a88f1c9311775e692ebef (patch) | |
tree | f390326a50eed73d8f8c62107979a4d81093ce52 /src/guichan/widget.cpp | |
parent | 4ee30f47b491de0ace9b692072fd286cf12c7828 (diff) | |
download | plus-84499779fcf0c8b5392a88f1c9311775e692ebef.tar.gz plus-84499779fcf0c8b5392a88f1c9311775e692ebef.tar.bz2 plus-84499779fcf0c8b5392a88f1c9311775e692ebef.tar.xz plus-84499779fcf0c8b5392a88f1c9311775e692ebef.zip |
Improve a bit some gui controls speed.
Diffstat (limited to 'src/guichan/widget.cpp')
-rw-r--r-- | src/guichan/widget.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/guichan/widget.cpp b/src/guichan/widget.cpp index 8b68b8510..87d6fb635 100644 --- a/src/guichan/widget.cpp +++ b/src/guichan/widget.cpp @@ -304,14 +304,6 @@ namespace gcn mVisible = visible; } - bool Widget::isVisible() const - { - if (!mParent) - return mVisible; - else - return mVisible && mParent->isVisible(); - } - void Widget::setBaseColor(const Color& color) { mBaseColor = color; |