Clean OSD messages code

Some OSD messages were displayed in RenderBase.cpp using global variables and some code duplicated
in OnScreeDisplay.cpp.
Now all messages are displayed using functions in the OSD namepace.

* OSDChoice and OSDTime global variables are gone
* All OSD logic is kept at the same place
* All messages are properly aligned
* Clean characters for all OSD messages

Original commit:

commit f0ec61c057
Author: Aestek <thib.gilles@gmail.com>
Date:   Sun Aug 7 16:08:41 2016 +0200
This commit is contained in:
Shawn Hoffman
2016-10-03 19:37:18 -07:00
parent 4573cc89fa
commit fa5fa8e094
7 changed files with 132 additions and 145 deletions

View File

@ -337,6 +337,13 @@ private:
bool InitControllers();
// OSD
void OSDPrintInternalResolution();
void OSDPrintAspectRatio();
void OSDPrintEFB();
void OSDPrintFog();
void OSDPrintEmulationSpeed();
// Event table
DECLARE_EVENT_TABLE();
};