Add basic IME support to SDL2 video driver
This commit is contained in:
@@ -374,6 +374,11 @@ struct IConsoleWindow : Window
|
||||
this->Scroll(-wheel);
|
||||
}
|
||||
|
||||
virtual void OnFocus(Window *previously_focused_window) override
|
||||
{
|
||||
VideoDriver::GetInstance()->EditBoxGainedFocus();
|
||||
}
|
||||
|
||||
void OnFocusLost(Window *newly_focused_window) override
|
||||
{
|
||||
VideoDriver::GetInstance()->EditBoxLostFocus();
|
||||
|
Reference in New Issue
Block a user