offsets: add SIDEBAR_WIDTH

required in window class
This commit is contained in:
2017-08-02 08:59:56 +02:00
parent 9c89f13cba
commit c18e337d1f
2 changed files with 3 additions and 1 deletions

View File

@@ -153,7 +153,7 @@ void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const
ccw_align_mode = DEFAULT_TITLE_ALIGN;
ccw_show_l_sideber = false;
ccw_show_r_sideber = false;
ccw_w_sidebar = 40;
ccw_w_sidebar = SIDEBAR_WIDTH;
ccw_col_head = COL_MENUHEAD_PLUS_0;
ccw_col_head_text = COL_MENUHEAD_TEXT;
ccw_col_footer = COL_MENUFOOT_PLUS_0;

View File

@@ -948,6 +948,8 @@ const time_settings_struct_t timing_setting[SNeutrinoSettings::TIMING_SETTING_CO
#define DETAILSLINE_WIDTH CFrameBuffer::getInstance()->scale2Res(16)
#define SIDEBAR_WIDTH CFrameBuffer::getInstance()->scale2Res(40)
#define BIGFONT_FACTOR 1.5
struct SglobalInfo