mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
neutrino: Add switch osd resolution when supported from hardware
- At the moment supported hardware: CS HD2 Currently known problems: ------------------------- - Display menus after changing resolution (Reboot required) - Display headers after changing resolution hd => fullhd (Reboot required) - Display infobar after changing resolution hd => fullhd (Reboot required) - Screenshot broken (With new driver and set resolution to 1280x720)
This commit is contained in:
@@ -39,6 +39,13 @@
|
||||
|
||||
typedef struct fb_var_screeninfo t_fb_var_screeninfo;
|
||||
|
||||
typedef struct osd_resolution_t
|
||||
{
|
||||
uint32_t yRes;
|
||||
uint32_t xRes;
|
||||
uint32_t bpp;
|
||||
} osd_resolution_struct_t;
|
||||
|
||||
typedef struct gradientData_t
|
||||
{
|
||||
fb_pixel_t* gradientBuf;
|
||||
@@ -271,6 +278,9 @@ class CFrameBuffer : public sigc::trackable
|
||||
|
||||
virtual void mark(int x, int y, int dx, int dy);
|
||||
virtual int scaleFont(int size) { return size; };
|
||||
virtual bool fullHdAvailable() { return false; };
|
||||
virtual void setOsdResolutions();
|
||||
std::vector<osd_resolution_t> osd_resolutions;
|
||||
|
||||
enum
|
||||
{
|
||||
|
Reference in New Issue
Block a user