CCButtonSelect: unfify bg color parameter order with related base methode

Order was different between setSelectedButton() and setSelectedItem()
This commit is contained in:
2018-03-01 19:04:34 +01:00
parent 318550767f
commit e920fd3c9c
2 changed files with 11 additions and 11 deletions

View File

@@ -49,14 +49,14 @@ int CCButtonSelect::getSelectedButton()
}
void CCButtonSelect::setSelectedButton( size_t item_id,
const fb_pixel_t& sel_fr_col,
const fb_pixel_t& fr_col,
const fb_pixel_t& bg_col,
const fb_pixel_t& sel_bg_col,
const fb_pixel_t& text_col,
const fb_pixel_t& sel_text_col,
const int& frame_width,
const int& sel_frame_width)
const fb_pixel_t& sel_fr_col,
const fb_pixel_t& fr_col,
const fb_pixel_t& sel_bg_col,
const fb_pixel_t& bg_col,
const fb_pixel_t& text_col,
const fb_pixel_t& sel_text_col,
const int& frame_width,
const int& sel_frame_width)
{
CComponentsButton *btn = NULL;
if (btn_container){