CSignalBar: use global offsets for init of min height

This commit is contained in:
2017-04-17 16:56:42 +02:00
parent 04f9468ddb
commit b8822803d9

View File

@@ -34,7 +34,7 @@
#include <zapit/include/zapit/frontend_c.h>
#include <sstream>
#define SB_MIN_HEIGHT 12
#define SB_MIN_HEIGHT OFFSET_INNER_MID
#define REF_PERCENT_TXT "100% "
using namespace std;
@@ -55,8 +55,8 @@ void CSignalBar::initVarSigBar(const int& xpos, const int& ypos, const int& w, c
corner_rad = 0;
corner_type = 0;
append_x_offset = 2;
append_y_offset = 2;
append_x_offset = OFFSET_INNER_MIN;
append_y_offset = OFFSET_INNER_MIN;
sb_scale_height = -1;
dy_font = CNeutrinoFonts::getInstance();