aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIListGroup.cpp
diff options
context:
space:
mode:
authorLars Op den Kamp <lars@opdenkamp.eu>2011-01-23 03:58:06 +0100
committerLars Op den Kamp <lars@opdenkamp.eu>2011-01-23 03:58:06 +0100
commitbfb0ba2b0417a043e39689592a807ede41f12034 (patch)
treebc3227800a23dfa852e848b22ae218e624f98fd0 /guilib/GUIListGroup.cpp
parent4e98a514c6a2975ec234fe19fe058e7e74bcfb7d (diff)
Revert "Merge remote branch 'upstream/master'"
This reverts commit 4e98a514c6a2975ec234fe19fe058e7e74bcfb7d, reversing changes made to 8d73cbde1dcd240d80bee9301d0321703a15c995.
Diffstat (limited to 'guilib/GUIListGroup.cpp')
-rw-r--r--guilib/GUIListGroup.cpp44
1 files changed, 0 insertions, 44 deletions
diff --git a/guilib/GUIListGroup.cpp b/guilib/GUIListGroup.cpp
index c27a6dbf62..215e2212f2 100644
--- a/guilib/GUIListGroup.cpp
+++ b/guilib/GUIListGroup.cpp
@@ -111,50 +111,6 @@ void CGUIListGroup::UpdateInfo(const CGUIListItem *item)
}
}
-void CGUIListGroup::EnlargeWidth(float difference)
-{
- // Alters the width of the controls that have an ID of 1
- for (iControls it = m_children.begin(); it != m_children.end(); it++)
- {
- CGUIControl *child = *it;
- if (child->GetID() >= 1 && child->GetID() <= 14)
- {
- if (child->GetID() == 1) // label
- {
- child->SetWidth(child->GetWidth() + difference - 10);
- child->SetVisible(child->GetWidth() > 10); ///
- }
- else
- {
- child->SetWidth(child->GetWidth() + difference);
- }
- }
- }
- SetInvalid();
-}
-
-void CGUIListGroup::EnlargeHeight(float difference)
-{
- // Alters the width of the controls that have an ID of 1
- for (iControls it = m_children.begin(); it != m_children.end(); it++)
- {
- CGUIControl *child = *it;
- if (child->GetID() >= 1 && child->GetID() <= 14)
- {
- if (child->GetID() == 1) // label
- {
- child->SetHeight(child->GetHeight() + difference);
- child->SetVisible(child->GetHeight() > 10); ///
- }
- else
- {
- child->SetHeight(child->GetHeight() + difference);
- }
- }
- }
- SetInvalid();
-}
-
void CGUIListGroup::SetFocusedItem(unsigned int focus)
{
for (iControls it = m_children.begin(); it != m_children.end(); it++)