mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CComponentsItemBox: use plausible member names
Origin commit data
------------------
Branch: ni/coolstream
Commit: 19e6866bb8
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-27 (Mon, 27 Aug 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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();
|
||||||
|
@@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user