Renamed UpdateScreen() to UpdateGuiScreen()

To avoid confusion with the emulation screen
This commit is contained in:
Dimitris Panokostas 2017-02-23 00:34:24 +01:00
parent 8c1c8110c5
commit 0ab994809d
8 changed files with 60 additions and 60 deletions

View file

@ -251,7 +251,7 @@ static void CreateFilesysHardfileLoop()
uae_gui->draw();
// Finally we update the screen.
UpdateScreen();
UpdateGuiScreen();
}
}

View file

@ -316,7 +316,7 @@ static void EditFilesysHardfileLoop()
uae_gui->draw();
// Finally we update the screen.
UpdateScreen();
UpdateGuiScreen();
}
}

View file

@ -255,7 +255,7 @@ static void EditFilesysVirtualLoop(void)
uae_gui->draw();
// Finally we update the screen.
UpdateScreen();
UpdateGuiScreen();
}
}

View file

@ -125,7 +125,7 @@ void InGameMessage(const char *msg)
// Finally we update the screen.
if (!drawn)
{
UpdateScreen();
UpdateGuiScreen();
}
drawn = true;
}

View file

@ -352,7 +352,7 @@ static void SelectFileLoop()
uae_gui->draw();
// Finally we update the screen.
UpdateScreen();
UpdateGuiScreen();
if (!dialogCreated)
{

View file

@ -144,7 +144,7 @@ static void ShowMessageLoop()
uae_gui->draw();
// Finally we update the screen.
UpdateScreen();
UpdateGuiScreen();
}
}

View file

@ -124,6 +124,6 @@ extern char *screenshot_filename;
extern int currentStateNum;
extern int delay_savestate_frame;
extern void UpdateScreen();
extern void UpdateGuiScreen();
#endif // _GUI_HANDLING_H

View file

@ -139,7 +139,7 @@ void RegisterRefreshFunc(void (*func)())
refreshFuncAfterDraw = func;
}
void UpdateScreen()
void UpdateGuiScreen()
{
// Update the texture from the surface
SDL_UpdateTexture(gui_texture, nullptr, gui_screen->pixels, gui_screen->pitch);
@ -319,7 +319,7 @@ namespace sdl
uae_gui->draw();
// Finally we update the screen.
UpdateScreen();
UpdateGuiScreen();
if (refreshFuncAfterDraw != nullptr)
{