summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-09-17 16:50:57 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-09-17 16:50:57 +0000
commitb160338c1b40aab86772883701396bf06fd9593b (patch)
treea78fcc68b2ceb19cb75dc2a47fe2db745fc2254b
parentc71ccf2c7380de6c3241372387f458e5cb0125cc (diff)
downloadmana-client-b160338c1b40aab86772883701396bf06fd9593b.tar.gz
mana-client-b160338c1b40aab86772883701396bf06fd9593b.tar.bz2
mana-client-b160338c1b40aab86772883701396bf06fd9593b.tar.xz
mana-client-b160338c1b40aab86772883701396bf06fd9593b.zip
Stop using the sticky window attribute which is unneeded for the current implementation, instead adjust the set of affected windows by the 'hide' shortcut.
-rw-r--r--ChangeLog6
-rw-r--r--src/game.cpp12
2 files changed, 9 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c642b9e..5625062c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-17 Björn Steinbrink <B.Steinbrink@gmx.de>
+
+ * src/game.cpp: Stop using the sticky window attribute which is
+ unneeded for the current implementation, instead adjust the set of
+ affected windows by the 'hide' shortcut.
+
2006-09-17 Philipp Sehmisch <tmw@crushnet.org>
* data/maps/new_14-1.tmx.gz, data/maps/new_15-1.tmx.gz,
diff --git a/src/game.cpp b/src/game.cpp
index e548e1ef..bc6b0622 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -202,9 +202,9 @@ void createGuiWindows(Network *network)
minimap->getHeight() + 30);*/
// Set initial window visibility
- chatWindow->setSticky(true);
- miniStatusWindow->setSticky(true);
- menuWindow->setSticky(true);
+// chatWindow->setSticky(true);
+// miniStatusWindow->setSticky(true);
+// menuWindow->setSticky(true);
chatWindow->setVisible(true);
miniStatusWindow->setVisible(true);
@@ -494,10 +494,7 @@ void Game::handleInput()
// Attempt to hide all windows
case SDLK_h:
- chatWindow->setVisible(false);
- miniStatusWindow->setVisible(false);
statusWindow->setVisible(false);
- menuWindow->setVisible(false);
buyDialog->setVisible(false);
sellDialog->setVisible(false);
buySellDialog->setVisible(false);
@@ -505,12 +502,9 @@ void Game::handleInput()
npcTextDialog->setVisible(false);
npcListDialog->setVisible(false);
skillDialog->setVisible(false);
- //newSkillWindow->setVisible(false);
setupWindow->setVisible(false);
equipmentWindow->setVisible(false);
chargeDialog->setVisible(false);
- tradeWindow->setVisible(false);
- //buddyWindow->setVisible(false);
helpWindow->setVisible(false);
debugWindow->setVisible(false);
break;