CComponentsWindow: add constructors with parameters for caption and icon

This commit is contained in:
2013-03-14 16:53:38 +01:00
parent 2b41601d11
commit d87d0754e0
2 changed files with 18 additions and 0 deletions

View File

@@ -514,6 +514,8 @@ class CComponentsWindow : public CComponentsForm
CC_WINDOW_ITEM_HEADER = 0
};
CComponentsWindow();
CComponentsWindow(const std::string& caption, const char* iconname = NULL);
CComponentsWindow(neutrino_locale_t locale_caption, const char* iconname = NULL);
~CComponentsWindow();
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);