mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
* VCAI: can't request actions from action handling thread
* Save game screen and returning to main menu will work if game was started with --start option * GUI controls can selectively capture keyboard events. CTextInput won't capture Enter. Fixes #654.
This commit is contained in:
@ -405,9 +405,11 @@ public:
|
||||
CTextInput(const Rect &Pos, const Point &bgOffset, const std::string &bgName, const CFunctionList<void(const std::string &)> &CB);
|
||||
CTextInput(const Rect &Pos, SDL_Surface *srf = NULL);
|
||||
~CTextInput();
|
||||
void showAll(SDL_Surface * to);
|
||||
void clickLeft(tribool down, bool previousState);
|
||||
void keyPressed(const SDL_KeyboardEvent & key);
|
||||
|
||||
void showAll(SDL_Surface * to) OVERRIDE;
|
||||
void clickLeft(tribool down, bool previousState) OVERRIDE;
|
||||
void keyPressed(const SDL_KeyboardEvent & key) OVERRIDE;
|
||||
bool captureThisEvent(const SDL_KeyboardEvent & key) OVERRIDE;
|
||||
};
|
||||
|
||||
/// Listbox UI Element
|
||||
|
Reference in New Issue
Block a user