mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
CCButtonSelect: fix order of frame color parameters
This commit is contained in:
@@ -49,8 +49,8 @@ int CCButtonSelect::getSelectedButton()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CCButtonSelect::setSelectedButton( size_t item_id,
|
void CCButtonSelect::setSelectedButton( size_t item_id,
|
||||||
const fb_pixel_t& fr_col,
|
|
||||||
const fb_pixel_t& sel_fr_col,
|
const fb_pixel_t& sel_fr_col,
|
||||||
|
const fb_pixel_t& fr_col,
|
||||||
const fb_pixel_t& bg_col,
|
const fb_pixel_t& bg_col,
|
||||||
const fb_pixel_t& sel_bg_col,
|
const fb_pixel_t& sel_bg_col,
|
||||||
const fb_pixel_t& text_col,
|
const fb_pixel_t& text_col,
|
||||||
|
@@ -49,11 +49,11 @@ class CCButtonSelect
|
|||||||
|
|
||||||
/**Select a definied button inside button chain object
|
/**Select a definied button inside button chain object
|
||||||
* @param[in] item_id
|
* @param[in] item_id
|
||||||
* @li optional: expects type size_t
|
* @li expects type size_t
|
||||||
* @param[in] fr_col
|
|
||||||
* @li optional: expects type fb_pixel_t, as default frame color
|
|
||||||
* @param[in] sel_fr_col
|
* @param[in] sel_fr_col
|
||||||
* @li optional: expects type fb_pixel_t, as selected frame color
|
* @li optional: expects type fb_pixel_t, as selected frame color
|
||||||
|
* @param[in] fr_col
|
||||||
|
* @li optional: expects type fb_pixel_t, as default frame color
|
||||||
* @param[in] bg_col
|
* @param[in] bg_col
|
||||||
* @li optional: expects type fb_pixel_t, as default background color
|
* @li optional: expects type fb_pixel_t, as default background color
|
||||||
* @param[in] sel_bg_col
|
* @param[in] sel_bg_col
|
||||||
@@ -68,8 +68,8 @@ class CCButtonSelect
|
|||||||
* @li optional: expects type int, default = 1
|
* @li optional: expects type int, default = 1
|
||||||
*/
|
*/
|
||||||
void setSelectedButton(size_t item_id,
|
void setSelectedButton(size_t item_id,
|
||||||
const fb_pixel_t& fr_col = COL_MENUCONTENTSELECTED_PLUS_2,
|
|
||||||
const fb_pixel_t& sel_fr_col = COL_MENUCONTENTSELECTED_PLUS_0,
|
const fb_pixel_t& sel_fr_col = COL_MENUCONTENTSELECTED_PLUS_0,
|
||||||
|
const fb_pixel_t& fr_col = COL_MENUCONTENTSELECTED_PLUS_2,
|
||||||
const fb_pixel_t& bg_col = COL_MENUCONTENT_PLUS_0,
|
const fb_pixel_t& bg_col = COL_MENUCONTENT_PLUS_0,
|
||||||
const fb_pixel_t& sel_bg_col = COL_MENUCONTENTSELECTED_PLUS_0,
|
const fb_pixel_t& sel_bg_col = COL_MENUCONTENTSELECTED_PLUS_0,
|
||||||
const fb_pixel_t& text_col = COL_MENUCONTENT_TEXT,
|
const fb_pixel_t& text_col = COL_MENUCONTENT_TEXT,
|
||||||
|
Reference in New Issue
Block a user