gui/widget/buttons: remove unused parameters

Origin commit data
------------------
Commit: cc4010716a
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-02-17 (Thu, 17 Feb 2022)
This commit is contained in:
2022-02-17 07:11:09 +01:00
committed by vanhofen
parent 5f021312eb
commit f1b35ccbd7
4 changed files with 6 additions and 10 deletions

View File

@@ -296,13 +296,11 @@ int paintButtons( const int &x,
const struct button_label * const content,
const int &maxwidth,
const int &footerheight,
std::string /* just to make sure nobody uses anything below */,
bool vertical_paint,
const uint32_t fcolor,
const char * alt_buttontext,
const uint &buttontext_id,
bool show,
const std::vector<neutrino_locale_t>& /*all_buttontext_id*/)
bool show)
{
CFrameBuffer *frameBuffer = CFrameBuffer::getInstance();
Font * font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT];

View File

@@ -79,12 +79,10 @@ int paintButtons( const int &x,
const struct button_label * const content,
const int &maxwidth,
const int &footerheight = 0,
std::string tmp = "", /* just to make sure compilation breaks */
bool vertical_paint = false,
const uint32_t fcolor = COL_MENUFOOT_TEXT,
const char * alt_buttontext = NULL,
const uint &buttontext_id = 0,
bool show = true,
const std::vector<neutrino_locale_t>& all_buttontext_id = std::vector<neutrino_locale_t>());
bool show = true);
#endif /* __gui_widget_buttons_h__ */