mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
CSignalBar: use global offsets for init of min height
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
#include <zapit/include/zapit/frontend_c.h>
|
#include <zapit/include/zapit/frontend_c.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
#define SB_MIN_HEIGHT 12
|
#define SB_MIN_HEIGHT OFFSET_INNER_MID
|
||||||
#define REF_PERCENT_TXT "100% "
|
#define REF_PERCENT_TXT "100% "
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@@ -55,8 +55,8 @@ void CSignalBar::initVarSigBar(const int& xpos, const int& ypos, const int& w, c
|
|||||||
|
|
||||||
corner_rad = 0;
|
corner_rad = 0;
|
||||||
corner_type = 0;
|
corner_type = 0;
|
||||||
append_x_offset = 2;
|
append_x_offset = OFFSET_INNER_MIN;
|
||||||
append_y_offset = 2;
|
append_y_offset = OFFSET_INNER_MIN;
|
||||||
|
|
||||||
sb_scale_height = -1;
|
sb_scale_height = -1;
|
||||||
dy_font = CNeutrinoFonts::getInstance();
|
dy_font = CNeutrinoFonts::getInstance();
|
||||||
|
Reference in New Issue
Block a user