CComponentsItemBox: move paint of icons and pictures into it's own member

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5bbe8e770e
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-09-09 (Sun, 09 Sep 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
2012-09-09 12:49:05 +02:00
parent 870cff0392
commit a1f04c1a97
2 changed files with 33 additions and 21 deletions

View File

@@ -341,6 +341,7 @@ class CComponentsItemBox : public CComponentsContainer
void paintItemBox(bool do_save_bg = CC_SAVE_SCREEN_YES);
void calculateElements();
bool addElement(int align, int type, const std::string& element="", size_t *index=NULL);
void paintImage(size_t index, bool newElement);
public:
CComponentsItemBox();
@@ -400,7 +401,7 @@ class CComponentsForm : public CComponentsContainer
public:
CComponentsForm();
~CComponentsForm();
void paint(bool do_save_bg = CC_SAVE_SCREEN_YES);
void hide(bool no_restore = false);
void setCaption(const std::string& text);