CComponentsWindow: add method to set header color

This commit is contained in:
2015-11-29 16:24:58 +01:00
parent da786ac384
commit 8e99559d90
2 changed files with 6 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const
ccw_show_l_sideber = false;
ccw_show_r_sideber = false;
ccw_w_sidebar = 40;
ccw_col_head = COL_MENUCONTENT_PLUS_0;
page_scroll_mode = PG_SCROLL_M_OFF; //permanent disabled here, only in body used!
@@ -200,6 +201,7 @@ void CComponentsWindow::initHeader()
ccw_head->setCaption(ccw_caption, ccw_align_mode);
ccw_head->setContextButton(ccw_buttons);
ccw_head->setCorner(corner_rad, CORNER_TOP);
ccw_head->setColorBody(ccw_col_head);
}
}