diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-19 20:35:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-19 20:35:08 +0300 |
commit | 5f2ee9e2f8c8d313de85df08abdc2a7f7396995f (patch) | |
tree | d11927d1bb549dd0027ac014aa169174f127bd1d /src/gui | |
parent | 479e8a53ec90c19890dfb4b3746c4453769d806a (diff) | |
download | manaplus-5f2ee9e2f8c8d313de85df08abdc2a7f7396995f.tar.gz manaplus-5f2ee9e2f8c8d313de85df08abdc2a7f7396995f.tar.bz2 manaplus-5f2ee9e2f8c8d313de85df08abdc2a7f7396995f.tar.xz manaplus-5f2ee9e2f8c8d313de85df08abdc2a7f7396995f.zip |
Unhide method widgetResized. Removed empty widgetResized from some classes.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/botcheckerwindow.cpp | 5 | ||||
-rw-r--r-- | src/gui/botcheckerwindow.h | 2 | ||||
-rw-r--r-- | src/gui/npcdialog.cpp | 7 | ||||
-rw-r--r-- | src/gui/npcdialog.h | 7 | ||||
-rw-r--r-- | src/gui/textcommandeditor.cpp | 5 | ||||
-rw-r--r-- | src/gui/textcommandeditor.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/window.h | 2 |
7 files changed, 1 insertions, 29 deletions
diff --git a/src/gui/botcheckerwindow.cpp b/src/gui/botcheckerwindow.cpp index 34293e59d..88bc65a78 100644 --- a/src/gui/botcheckerwindow.cpp +++ b/src/gui/botcheckerwindow.cpp @@ -378,11 +378,6 @@ void BotCheckerWindow::update() { } -void BotCheckerWindow::widgetResized(const gcn::Event &event) -{ - Window::widgetResized(event); -} - void BotCheckerWindow::updateList() { if (mTableModel) diff --git a/src/gui/botcheckerwindow.h b/src/gui/botcheckerwindow.h index a69781865..6af9c91d6 100644 --- a/src/gui/botcheckerwindow.h +++ b/src/gui/botcheckerwindow.h @@ -71,8 +71,6 @@ class BotCheckerWindow : public Window, public gcn::ActionListener, void logic(); - void widgetResized(const gcn::Event &event); - void updateList(); void reset(); diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index 3e1ee46d8..b926d260e 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -404,13 +404,6 @@ void NpcDialog::move(int amount) } } -void NpcDialog::widgetResized(const gcn::Event &event) -{ - Window::widgetResized(event); - -// setText(mText); -} - void NpcDialog::setVisible(bool visible) { Window::setVisible(visible); diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h index 2f5a90b5f..7e9ea7e10 100644 --- a/src/gui/npcdialog.h +++ b/src/gui/npcdialog.h @@ -147,13 +147,6 @@ class NpcDialog : public Window, public gcn::ActionListener, void move(int amount); - /** - * Called when resizing the window. - * - * @param event The calling event - */ - void widgetResized(const gcn::Event &event); - void setVisible(bool visible); void optionChanged(const std::string &name); diff --git a/src/gui/textcommandeditor.cpp b/src/gui/textcommandeditor.cpp index 0bd25fcb5..6512f8465 100644 --- a/src/gui/textcommandeditor.cpp +++ b/src/gui/textcommandeditor.cpp @@ -343,11 +343,6 @@ void TextCommandEditor::update() { } -void TextCommandEditor::widgetResized(const gcn::Event &event) -{ - Window::widgetResized(event); -} - void TextCommandEditor::updateList() { } diff --git a/src/gui/textcommandeditor.h b/src/gui/textcommandeditor.h index 9239481b7..d0b2f0a54 100644 --- a/src/gui/textcommandeditor.h +++ b/src/gui/textcommandeditor.h @@ -60,8 +60,6 @@ class TextCommandEditor : public Window, public gcn::ActionListener void update(); - void widgetResized(const gcn::Event &event); - void updateList(); void reset(); diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 510a68323..cc7c6e6a1 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -113,7 +113,7 @@ class Window : public gcn::Window, gcn::WidgetListener /** * Called whenever the widget changes size. */ - void widgetResized(const gcn::Event &event); + virtual void widgetResized(const gcn::Event &event); virtual void widgetMoved(const gcn::Event& event); |