mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
30 lines
520 B
C++
30 lines
520 B
C++
|
|
#ifndef __osd_helpers__
|
|
#define __osd_helpers__
|
|
|
|
enum {
|
|
OSDMODE_720 = 0,
|
|
OSDMODE_1080 = 1
|
|
};
|
|
|
|
class COsdHelpers
|
|
{
|
|
private:
|
|
|
|
public:
|
|
COsdHelpers();
|
|
~COsdHelpers();
|
|
static COsdHelpers* getInstance();
|
|
|
|
int g_settings_osd_resolution_save;
|
|
|
|
void changeOsdResolution(uint32_t mode, bool automode=false, bool forceOsdReset=false);
|
|
int isVideoSystem1080(int res);
|
|
int getVideoSystem();
|
|
uint32_t getOsdResolution();
|
|
int setVideoSystem(int newSystem, bool remember = true);
|
|
};
|
|
|
|
|
|
#endif //__osd_helpers__
|