mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
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:
@@ -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];
|
||||
|
@@ -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__ */
|
||||
|
Reference in New Issue
Block a user