mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
CComponentsWindow: add constructors with parameters for caption and icon
Origin commit data
------------------
Branch: ni/coolstream
Commit: d87d0754e0
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-03-14 (Thu, 14 Mar 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -42,6 +42,22 @@ CComponentsWindow::CComponentsWindow()
|
||||
initVarWindow();
|
||||
}
|
||||
|
||||
CComponentsWindow::CComponentsWindow(const std::string& caption, const char* iconname)
|
||||
{
|
||||
initVarWindow();
|
||||
|
||||
ccw_caption = caption;
|
||||
ccw_icon_name = iconname;
|
||||
}
|
||||
|
||||
CComponentsWindow::CComponentsWindow(neutrino_locale_t locale_caption, const char* iconname)
|
||||
{
|
||||
initVarWindow();
|
||||
|
||||
ccw_caption = g_Locale->getText(locale_caption);
|
||||
ccw_icon_name = iconname;
|
||||
}
|
||||
|
||||
CComponentsWindow::~CComponentsWindow()
|
||||
{
|
||||
#ifdef DEBUG_CC
|
||||
|
Reference in New Issue
Block a user