mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
fix typo / add default progressbar width
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0924849d6f
Author: TangoCash <eric@loxat.de>
Date: 2022-04-30 (Sat, 30 Apr 2022)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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,
|
||||
|
@@ -1380,7 +1380,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