CComponentsItemBox: Add flag 'isCalculated' for control calculateElements()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 33b4fc4cfa
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2012-09-04 (Tue, 04 Sep 2012)


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

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2012-09-04 20:31:36 +02:00
committed by Thilo Graf
parent 1b4cce9392
commit f0d6eeea7f
2 changed files with 14 additions and 0 deletions

View File

@@ -342,6 +342,7 @@ class CComponentsItemBox : public CComponentsContainer
size_t prevElementLeft;
size_t prevElementRight;
std::vector<comp_element_data_t> v_element_data;
bool isCalculated;
void clearElements();
void initVarItemBox();
@@ -367,6 +368,7 @@ class CComponentsItemBox : public CComponentsContainer
virtual void addIcon(const std::string& s_icon_name, const int align=CC_ALIGN_LEFT, size_t *index=NULL);
virtual void addPicture(const std::string& s_picture_path, const int align=CC_ALIGN_LEFT, size_t *index=NULL);
virtual void addClock(const int align=CC_ALIGN_RIGHT, size_t *index=NULL);
virtual int getHeight();
};
class CComponentsTitleBar : public CComponentsItemBox