CComponentsItemBox: use plausible member names

This commit is contained in:
2012-08-27 15:27:40 +02:00
parent 6a29d7b83a
commit 19e6866bb8
2 changed files with 6 additions and 6 deletions

View File

@@ -343,8 +343,8 @@ class CComponentsItemBox : public CComponentsContainer
void clearElements(); void clearElements();
void paintPic(CComponentsPicture* pic); void paintPic(CComponentsPicture* pic);
void initVarItemBox(); void initVarItemBox();
void calculateElementsInitPart1(); void calSizeOfElements();
void calculateElementsInitPart2(); void calPositionOfElements();
public: public:
CComponentsItemBox(); CComponentsItemBox();

View File

@@ -943,7 +943,7 @@ bool CComponentsItemBox::addElement(int align, int type, const std::string& elem
return true; return true;
} }
void CComponentsItemBox::calculateElementsInitPart1() void CComponentsItemBox::calSizeOfElements()
{ {
size_t i; size_t i;
@@ -995,7 +995,7 @@ void CComponentsItemBox::calculateElementsInitPart1()
} }
} }
void CComponentsItemBox::calculateElementsInitPart2() void CComponentsItemBox::calPositionOfElements()
{ {
size_t i; size_t i;
@@ -1152,7 +1152,7 @@ void CComponentsTitleBar::calculateElements()
size_t i; size_t i;
calculateElementsInitPart1(); calSizeOfElements();
// hMax correction if no text element. // hMax correction if no text element.
if (!has_TextElement) if (!has_TextElement)
@@ -1184,5 +1184,5 @@ void CComponentsTitleBar::calculateElements()
} }
} }
calculateElementsInitPart2(); calPositionOfElements();
} }