mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-04 17:15:23 -06:00
VirtualGUI/SDL2GL: Event hook virtual method
git-svn-id: svn://ultimatepp.org/upp/trunk@12027 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
6119484523
commit
bfecf1d5db
2 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ dword SDL2GUI::GetModKeys()
|
|||
return modkeys;
|
||||
}
|
||||
|
||||
void HandleSDLEvent(SDL_Event* event)
|
||||
void SDL2GUI::HandleSDLEvent(SDL_Event* event)
|
||||
{
|
||||
LLOG("HandleSDLEvent " << event->type);
|
||||
SDL_Event next_event;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ struct SDL2GUI : VirtualGui {
|
|||
virtual void CommitDraw();
|
||||
|
||||
virtual void Quit();
|
||||
virtual void HandleSDLEvent(SDL_Event* event);
|
||||
|
||||
SDL_Window *win;
|
||||
SDL_GLContext glcontext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue