summaryrefslogtreecommitdiff
path: root/src/gui/ok_dialog.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-04-20 20:32:12 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-20 20:32:55 +0200
commitb926bec4ff23e43729e88ea36c3cba9509b66f7c (patch)
treea68850498d170640f57e2d0f74716b6a61f700c9 /src/gui/ok_dialog.h
parenta1dbbdf1ca8560de8cff703d21c0063610261196 (diff)
downloadmana-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/ok_dialog.h')
-rw-r--r--src/gui/ok_dialog.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/ok_dialog.h b/src/gui/ok_dialog.h
index 26e788f5..5df2fb4f 100644
--- a/src/gui/ok_dialog.h
+++ b/src/gui/ok_dialog.h
@@ -26,7 +26,6 @@
#include <guichan/actionlistener.hpp>
-class ScrollArea;
class TextBox;
/**
@@ -43,7 +42,7 @@ class OkDialog : public Window, public gcn::ActionListener
* @see Window::Window
*/
OkDialog(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 OkDialog : public Window, public gcn::ActionListener
private:
TextBox *mTextBox;
- ScrollArea *mTextArea;
};
#endif