mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
fix typo / add default progressbar width
This commit is contained in:
@@ -173,7 +173,7 @@ void CComponentsHeader::initVarHeader( const int& x_pos, const int& y_pos, const
|
||||
cch_cl_enable_run = false;
|
||||
|
||||
cch_pb_x = cch_offset;
|
||||
cch_pb_w = 100;
|
||||
cch_pb_w = PROGRESSBAR_WIDTH;
|
||||
cch_pb_percent = 0;
|
||||
cch_pb_enable = false;
|
||||
|
||||
|
@@ -58,7 +58,7 @@ class CComponentsSlider : public CComponentsForm
|
||||
void initCCSlItems();
|
||||
|
||||
public:
|
||||
CComponentsSlider( const int& x_pos = 0, const int& y_pos = 0, const int& w = SLIDER_WIDHT, const int& h = SLIDER_HEIGHT,
|
||||
CComponentsSlider( const int& x_pos = 0, const int& y_pos = 0, const int& w = SLIDER_WIDTH, const int& h = SLIDER_HEIGHT,
|
||||
const int& current_value = 0,
|
||||
const int& max_value = 100,
|
||||
CComponentsForm *parent = NULL,
|
||||
|
@@ -1378,7 +1378,9 @@ const time_settings_struct_t handling_infobar_setting[SNeutrinoSettings::HANDLIN
|
||||
#define SIDEBAR_WIDTH CFrameBuffer::getInstance()->scale2Res(40)
|
||||
|
||||
#define SLIDER_HEIGHT CFrameBuffer::getInstance()->scale2Res(22)
|
||||
#define SLIDER_WIDHT CFrameBuffer::getInstance()->scale2Res(120)
|
||||
#define SLIDER_WIDTH CFrameBuffer::getInstance()->scale2Res(120)
|
||||
|
||||
#define PROGRESSBAR_WIDTH CFrameBuffer::getInstance()->scale2Res(100)
|
||||
|
||||
#define BIGFONT_FACTOR 1.5
|
||||
|
||||
|
Reference in New Issue
Block a user