mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- framebuffer: better name for getWindowWidth/Height() functions
getScreenWidth/HeightRel() was confusing because it depends on users window settings. Replace names in old unused framebuffer code too. Signed-off-by: Thilo Graf <dbt@novatux.de> Conflicts: gui/channellist.cpp
This commit is contained in:
@@ -74,7 +74,7 @@ typedef struct gradientData_t
|
||||
|
||||
#define WINDOW_SIZE_MAX 100 // %
|
||||
#define WINDOW_SIZE_MIN 50 // %
|
||||
#define WINDOW_SIZE_MIN_FORCED 80 // %
|
||||
#define WINDOW_SIZE_SMALL 80 // %
|
||||
|
||||
/** Ausfuehrung als Singleton */
|
||||
class CFrameBuffer : public sigc::trackable
|
||||
@@ -184,8 +184,8 @@ class CFrameBuffer : public sigc::trackable
|
||||
virtual unsigned int getStride() const; // size of a single line in the framebuffer (in bytes)
|
||||
unsigned int getScreenWidth(bool real = false);
|
||||
unsigned int getScreenHeight(bool real = false);
|
||||
unsigned int getScreenWidthRel(bool force_small = false);
|
||||
unsigned int getScreenHeightRel(bool force_small = false);
|
||||
unsigned int getWindowWidth(bool force_small = false);
|
||||
unsigned int getWindowHeight(bool force_small = false);
|
||||
unsigned int getScreenX();
|
||||
unsigned int getScreenY();
|
||||
|
||||
|
Reference in New Issue
Block a user