diff options
author | David Athay <ko2fan@gmail.com> | 2008-12-18 18:43:14 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-01-05 00:41:02 +0100 |
commit | 3329815114f2e352b8b1438899bd92c13facd8a1 (patch) | |
tree | 04355bbfb6559a558f0ce01ddb8c1da7c519f95a /src/gui/buddywindow.cpp | |
parent | 550a02997572b5d090b436b7c05d19c1823556a9 (diff) | |
download | mana-3329815114f2e352b8b1438899bd92c13facd8a1.tar.gz mana-3329815114f2e352b8b1438899bd92c13facd8a1.tar.bz2 mana-3329815114f2e352b8b1438899bd92c13facd8a1.tar.xz mana-3329815114f2e352b8b1438899bd92c13facd8a1.zip |
Re-enabled buddy window
Diffstat (limited to 'src/gui/buddywindow.cpp')
-rw-r--r-- | src/gui/buddywindow.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gui/buddywindow.cpp b/src/gui/buddywindow.cpp index 0535f837..25084593 100644 --- a/src/gui/buddywindow.cpp +++ b/src/gui/buddywindow.cpp @@ -34,10 +34,13 @@ BuddyWindow::BuddyWindow(): Window(_("Buddy")) { setVisible(false); - setContentSize(124, 202); + setWindowName("Buddy Window"); setCaption(_("Buddy List")); setResizable(true); setCloseButton(true); + setMinWidth(110); + setMinHeight(200); + setDefaultSize(124, 41, 288, 330); Image *addImg = ResourceManager::getInstance()->getImage("buddyadd.png"); Image *delImg = ResourceManager::getInstance()->getImage("buddydel.png"); @@ -51,10 +54,15 @@ BuddyWindow::BuddyWindow(): add(delBuddy); } - loadWindowState("Buddy"); + loadWindowState(); } void BuddyWindow::action(const gcn::ActionEvent &event) { } + +void BuddyWindow::draw(gcn::Graphics *graphics) +{ + Window::draw(graphics); +} |