mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 09:29:25 +02:00
- attempt to see if IRC chat works better with sdl2 textinput
This commit is contained in:
@@ -321,6 +321,14 @@ void Program::restoreStateFromSystemError() {
|
||||
}
|
||||
}
|
||||
|
||||
bool Program::textInput(std::string text) {
|
||||
if(msgBox.getEnabled()) {
|
||||
return false;
|
||||
}
|
||||
//delegate event
|
||||
return programState->textInput(text);
|
||||
}
|
||||
|
||||
void Program::keyDown(SDL_KeyboardEvent key) {
|
||||
if(msgBox.getEnabled()) {
|
||||
//SDL_keysym keystate = Window::getKeystate();
|
||||
|
Reference in New Issue
Block a user