diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-08 01:33:53 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-08 01:33:53 +0000 |
commit | ee416a5f3de03a689247a290077e7fdf451e1a23 (patch) | |
tree | f456df99f954919ac7a425606df51f010aa4ef2d /src/gui/stats.cpp | |
parent | 4070dda1560bc729c3e272f0a5c03d77391e2661 (diff) | |
download | mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.gz mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.bz2 mana-ee416a5f3de03a689247a290077e7fdf451e1a23.tar.xz mana-ee416a5f3de03a689247a290077e7fdf451e1a23.zip |
Well improved window container and window widgets a bit, and made a start
on support for modal dialogs. Still some issues to work out. Tell me if you
experience something unsettling.
Diffstat (limited to 'src/gui/stats.cpp')
-rw-r--r-- | src/gui/stats.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/stats.cpp b/src/gui/stats.cpp index eebfab70..d8ea9c34 100644 --- a/src/gui/stats.cpp +++ b/src/gui/stats.cpp @@ -25,8 +25,8 @@ extern PLAYER_INFO *char_info; -StatsWindow::StatsWindow(gcn::Container *parent) - : Window(parent, "Stats") +StatsWindow::StatsWindow(): + Window("Stats") { // New labels for (i = 0; i < 6; i++) { @@ -91,7 +91,7 @@ StatsWindow::~StatsWindow() { StatsWindow * StatsWindow::ptr = NULL; StatsWindow * StatsWindow::create_statswindow() { if (ptr == NULL) { - ptr = new StatsWindow(guiTop); + ptr = new StatsWindow(); } else { ptr->setVisible(true); |