mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CComponentsWindowMax: add missing parameters to constructors
Origin commit data
------------------
Commit: 9482613d4c
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-01-31 (Fri, 31 Jan 2014)
This commit is contained in:
@@ -63,11 +63,24 @@ CComponentsWindow::CComponentsWindow( const int& x_pos, const int& y_pos, const
|
|||||||
initVarWindow(x_pos, y_pos, w, h, caption, iconname, has_shadow, color_frame, color_body, color_shadow);
|
initVarWindow(x_pos, y_pos, w, h, caption, iconname, has_shadow, color_frame, color_body, color_shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
CComponentsWindowMax::CComponentsWindowMax(const string& caption, const string& iconname)
|
CComponentsWindowMax::CComponentsWindowMax( const string& caption,
|
||||||
:CComponentsWindow(0, 0, 0, 0, caption, iconname){};
|
const string& iconname,
|
||||||
|
bool has_shadow,
|
||||||
|
fb_pixel_t color_frame,
|
||||||
|
fb_pixel_t color_body,
|
||||||
|
fb_pixel_t color_shadow)
|
||||||
|
:CComponentsWindow(0, 0, 0, 0, caption,
|
||||||
|
iconname, has_shadow, color_frame, color_body, color_shadow){};
|
||||||
|
|
||||||
CComponentsWindowMax::CComponentsWindowMax(neutrino_locale_t locale_caption, const string& iconname)
|
CComponentsWindowMax::CComponentsWindowMax( neutrino_locale_t locale_caption,
|
||||||
:CComponentsWindow(0, 0, 0, 0, locale_caption != NONEXISTANT_LOCALE ? g_Locale->getText(locale_caption) : "", iconname){};
|
const string& iconname,
|
||||||
|
bool has_shadow,
|
||||||
|
fb_pixel_t color_frame,
|
||||||
|
fb_pixel_t color_body,
|
||||||
|
fb_pixel_t color_shadow)
|
||||||
|
:CComponentsWindow(0, 0, 0, 0,
|
||||||
|
locale_caption != NONEXISTANT_LOCALE ? g_Locale->getText(locale_caption) : "",
|
||||||
|
iconname, has_shadow, color_frame, color_body, color_shadow){};
|
||||||
|
|
||||||
void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const int& w, const int& h,
|
void CComponentsWindow::initVarWindow( const int& x_pos, const int& y_pos, const int& w, const int& h,
|
||||||
const string& caption,
|
const string& caption,
|
||||||
|
@@ -164,10 +164,18 @@ class CComponentsWindowMax : public CComponentsWindow
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
///simple constructor for CComponentsWindow, provides parameters for caption as string and icon, this shows a centered window based up current screen settings
|
///simple constructor for CComponentsWindow, provides parameters for caption as string and icon, this shows a centered window based up current screen settings
|
||||||
CComponentsWindowMax(const std::string& caption, const std::string& iconname = "");
|
CComponentsWindowMax( const std::string& caption, const std::string& iconname = "",
|
||||||
|
bool has_shadow = CC_SHADOW_OFF,
|
||||||
|
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
|
||||||
|
fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0,
|
||||||
|
fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
|
||||||
|
|
||||||
///simple constructor for CComponentsWindow, provides parameters for caption from locales and icon, this shows a centered window based up current screen settings
|
///simple constructor for CComponentsWindow, provides parameters for caption from locales and icon, this shows a centered window based up current screen settings
|
||||||
CComponentsWindowMax(neutrino_locale_t locale_caption, const std::string& iconname = "");
|
CComponentsWindowMax( neutrino_locale_t locale_caption, const std::string& iconname = "",
|
||||||
|
bool has_shadow = CC_SHADOW_OFF,
|
||||||
|
fb_pixel_t color_frame = COL_MENUCONTENT_PLUS_6,
|
||||||
|
fb_pixel_t color_body = COL_MENUCONTENT_PLUS_0,
|
||||||
|
fb_pixel_t color_shadow = COL_MENUCONTENTDARK_PLUS_0);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user