diff options
author | Ira Rice <irarice@gmail.com> | 2009-04-20 20:32:12 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-20 20:32:55 +0200 |
commit | b926bec4ff23e43729e88ea36c3cba9509b66f7c (patch) | |
tree | a68850498d170640f57e2d0f74716b6a61f700c9 /src/gui/confirm_dialog.h | |
parent | a1dbbdf1ca8560de8cff703d21c0063610261196 (diff) | |
download | mana-client-b926bec4ff23e43729e88ea36c3cba9509b66f7c.tar.gz mana-client-b926bec4ff23e43729e88ea36c3cba9509b66f7c.tar.bz2 mana-client-b926bec4ff23e43729e88ea36c3cba9509b66f7c.tar.xz mana-client-b926bec4ff23e43729e88ea36c3cba9509b66f7c.zip |
Reduced the weight of a few gui windows and popups which wrapped their
TextBoxes in ScrollAreas, but never needed to scroll (and disabled both
the horizontal and vertical scrollbars, which makes using a scrollarea
kind of pointless to begin with).
Signed-off-by: Ira Rice <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/confirm_dialog.h')
-rw-r--r-- | src/gui/confirm_dialog.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/confirm_dialog.h b/src/gui/confirm_dialog.h index dad79933..38ea2abd 100644 --- a/src/gui/confirm_dialog.h +++ b/src/gui/confirm_dialog.h @@ -26,7 +26,6 @@ #include <guichan/actionlistener.hpp> -class ScrollArea; class TextBox; /** @@ -43,7 +42,7 @@ class ConfirmDialog : public Window, public gcn::ActionListener * @see Window::Window */ ConfirmDialog(const std::string &title, const std::string &msg, - Window *parent = NULL); + Window *parent = NULL); /** * Called when receiving actions from the widgets. @@ -52,7 +51,6 @@ class ConfirmDialog : public Window, public gcn::ActionListener private: TextBox *mTextBox; - ScrollArea *mTextArea; }; #endif |