mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +02:00
- colors: make footer background color configurable
TODO: footer text color and maybe footer font
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
#include <driver/neutrinofonts.h>
|
||||
#include <driver/rcinput.h>
|
||||
|
||||
#define COL_BUTTON_BODY COL_SHADOW_PLUS_1
|
||||
#define COL_BUTTON_BODY COL_MENUFOOT_PLUS_0
|
||||
#define COL_BUTTON_TEXT_ENABLED COL_BLACK
|
||||
#define COL_BUTTON_TEXT_DISABLED COL_LIGHT_GRAY
|
||||
|
||||
|
@@ -65,7 +65,7 @@ class CComponentsFooter : public CComponentsHeader
|
||||
CComponentsForm *parent = NULL,
|
||||
int shadow_mode = CC_SHADOW_OFF,
|
||||
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
|
||||
fb_pixel_t color_body = COL_SHADOW_PLUS_1,
|
||||
fb_pixel_t color_body = COL_MENUFOOT_PLUS_0,
|
||||
fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
|
||||
|
||||
///show button frame and background, default false
|
||||
@@ -86,7 +86,7 @@ class CComponentsFooter : public CComponentsHeader
|
||||
CComponentsForm *parent = NULL,
|
||||
int shadow_mode = CC_SHADOW_OFF,
|
||||
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
|
||||
fb_pixel_t color_body = COL_SHADOW_PLUS_1,
|
||||
fb_pixel_t color_body = COL_MENUFOOT_PLUS_0,
|
||||
fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
|
||||
|
||||
///add button labels with string label type as content, count as size_t, chain_width as int, label width as int
|
||||
|
@@ -155,7 +155,7 @@ void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const
|
||||
ccw_w_sidebar = 40;
|
||||
ccw_col_head = COL_MENUHEAD_PLUS_0;
|
||||
ccw_col_head_text = COL_MENUHEAD_TEXT;
|
||||
ccw_col_footer = COL_SHADOW_PLUS_1;
|
||||
ccw_col_footer = COL_MENUFOOT_PLUS_0;
|
||||
|
||||
page_scroll_mode = PG_SCROLL_M_OFF; //permanent disabled here, only in body used!
|
||||
|
||||
|
Reference in New Issue
Block a user