mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-30 23:18:08 +02:00
32ece9513d
The control flows the following way: - we receive SDL_KEYDOWN with letter 's' in the adventure map interface - save dialog opens - text input receives focus - text input enables receiving SDL_KeyboardEvent-s which go between DOWN and UP - the button on keyboard becomes UP (the menu opens very fast) - text input receives SDL_KeyboardEvent and inserts 's' - text input receives SDL_KEYUP So the apparent fix is to open the save dialog on SDL_KEYUP event |
||
---|---|---|
.. | ||
CAdvmapInterface.cpp | ||
CAdvmapInterface.h | ||
CCastleInterface.cpp | ||
CCastleInterface.h | ||
CCreatureWindow.cpp | ||
CCreatureWindow.h | ||
CHeroWindow.cpp | ||
CHeroWindow.h | ||
CKingdomInterface.cpp | ||
CKingdomInterface.h | ||
CQuestLog.cpp | ||
CQuestLog.h | ||
CSpellWindow.cpp | ||
CSpellWindow.h | ||
CTradeWindow.cpp | ||
CTradeWindow.h | ||
CWindowObject.cpp | ||
CWindowObject.h | ||
GUIClasses.cpp | ||
GUIClasses.h | ||
InfoWindows.cpp | ||
InfoWindows.h |