mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Rename function
This commit is contained in:
parent
71a78f01bd
commit
f85f5b0c9b
@ -316,11 +316,11 @@ int SDL_AppEvent(void* appstate, const SDL_Event* event)
|
|||||||
switch (event->type) {
|
switch (event->type) {
|
||||||
case SDL_EVENT_WINDOW_FOCUS_GAINED:
|
case SDL_EVENT_WINDOW_FOCUS_GAINED:
|
||||||
g_isle->SetWindowActive(TRUE);
|
g_isle->SetWindowActive(TRUE);
|
||||||
Lego()->StopTimer();
|
Lego()->Resume();
|
||||||
break;
|
break;
|
||||||
case SDL_EVENT_WINDOW_FOCUS_LOST:
|
case SDL_EVENT_WINDOW_FOCUS_LOST:
|
||||||
g_isle->SetWindowActive(FALSE);
|
g_isle->SetWindowActive(FALSE);
|
||||||
Lego()->StartTimer();
|
Lego()->Pause();
|
||||||
break;
|
break;
|
||||||
case SDL_EVENT_WINDOW_CLOSE_REQUESTED:
|
case SDL_EVENT_WINDOW_CLOSE_REQUESTED:
|
||||||
if (!g_closed) {
|
if (!g_closed) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user