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/graphic/graphic.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/graphic/graphic.cpp')
-rw-r--r-- | src/graphic/graphic.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 3b9e1e1e..0e5b9a32 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -158,29 +158,29 @@ GraphicEngine::GraphicEngine() { // Create dialogs - statusWindow = new StatusWindow(guiTop); + statusWindow = new StatusWindow(); statusWindow->setPosition(SCREEN_W - statusWindow->getWidth() - 10, 10); - buyDialog = new BuyDialog(guiTop); + buyDialog = new BuyDialog(); buyDialog->setVisible(false); - sellDialog = new SellDialog(guiTop); + sellDialog = new SellDialog(); sellDialog->setVisible(false); - buySellDialog = new BuySellDialog(guiTop, new BuySellListener()); + buySellDialog = new BuySellDialog(new BuySellListener()); buySellDialog->setVisible(false); - inventoryWindow = new InventoryWindow(guiTop); + inventoryWindow = new InventoryWindow(); inventoryWindow->setVisible(false); inventoryWindow->setPosition(100, 100); - npcTextDialog = new NpcTextDialog(guiTop); + npcTextDialog = new NpcTextDialog(); npcTextDialog->setVisible(false); - npcListDialog = new NpcListDialog(guiTop); + npcListDialog = new NpcListDialog(); npcListDialog->setVisible(false); - skillDialog = new SkillDialog(guiTop); + skillDialog = new SkillDialog(); skillDialog->setVisible(false); // Give focus to the chat input |