diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-09-17 16:50:57 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-09-17 16:50:57 +0000 |
commit | b160338c1b40aab86772883701396bf06fd9593b (patch) | |
tree | a78fcc68b2ceb19cb75dc2a47fe2db745fc2254b /src | |
parent | c71ccf2c7380de6c3241372387f458e5cb0125cc (diff) | |
download | mana-b160338c1b40aab86772883701396bf06fd9593b.tar.gz mana-b160338c1b40aab86772883701396bf06fd9593b.tar.bz2 mana-b160338c1b40aab86772883701396bf06fd9593b.tar.xz mana-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
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; |