mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CComponentsWindow: remove paint() member
The derived member of ComponentsForm() should be sufficiently
and should serve its purpose.
Origin commit data
------------------
Commit: cbeb9f3ac6
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-08 (Fri, 08 Nov 2013)
This commit is contained in:
@@ -285,16 +285,13 @@ class CComponentsWindow : public CComponentsForm
|
|||||||
|
|
||||||
~CComponentsWindow();
|
~CComponentsWindow();
|
||||||
|
|
||||||
///paint window
|
|
||||||
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
|
|
||||||
|
|
||||||
///add item to body object, also usable is addCCItem() to add items to the windo object
|
///add item to body object, also usable is addCCItem() to add items to the windo object
|
||||||
void addWindowItem(CComponentsItem* cc_Item);
|
void addWindowItem(CComponentsItem* cc_Item);
|
||||||
|
|
||||||
///allow/disallow paint a footer, default true, see also ccw_show_footer, showHeader()
|
///allow/disallow paint a footer, default true, see also ccw_show_footer, showHeader()
|
||||||
void showFooter(bool show = true){ccw_show_footer = show;};
|
void showFooter(bool show = true){ccw_show_footer = show; initCCWItems();};
|
||||||
///allow/disallow paint a header, default true, see also ccw_show_header, showFooter()
|
///allow/disallow paint a header, default true, see also ccw_show_header, showFooter()
|
||||||
void showHeader(bool show = true){ccw_show_header = show;};
|
void showHeader(bool show = true){ccw_show_header = show; initCCWItems();};
|
||||||
|
|
||||||
///set caption in header with string, see also getHeaderObject()
|
///set caption in header with string, see also getHeaderObject()
|
||||||
void setWindowCaption(const std::string& text, const int& align_mode = CTextBox::NO_AUTO_LINEBREAK){ccw_caption = text; ccw_align_mode = align_mode;};
|
void setWindowCaption(const std::string& text, const int& align_mode = CTextBox::NO_AUTO_LINEBREAK){ccw_caption = text; ccw_align_mode = align_mode;};
|
||||||
|
@@ -254,11 +254,3 @@ void CComponentsWindow::initCCWItems()
|
|||||||
addCCItem(ccw_footer);
|
addCCItem(ccw_footer);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComponentsWindow::paint(bool do_save_bg)
|
|
||||||
{
|
|
||||||
//prepare items before paint
|
|
||||||
initCCWItems();
|
|
||||||
|
|
||||||
//paint form contents
|
|
||||||
paintForm(do_save_bg);
|
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user