aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIProgressControl.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-03-26 09:43:00 +0000
committerjmarshallnz <jmarshallnz@svn>2010-03-26 09:43:00 +0000
commitadef801ce56c83e4798845db586deb743992e569 (patch)
tree64b814a5c5d67fc0112855ebb80bd19bff25f08c /guilib/GUIProgressControl.cpp
parent6d22e83986fa752e550ff7ff839c0542eafb2860 (diff)
added: Allow immediate deletion of resources via CGUIControl::FreeResources(true);
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28827 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIProgressControl.cpp')
-rw-r--r--guilib/GUIProgressControl.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/guilib/GUIProgressControl.cpp b/guilib/GUIProgressControl.cpp
index cdf18b0a1a..98f57fff79 100644
--- a/guilib/GUIProgressControl.cpp
+++ b/guilib/GUIProgressControl.cpp
@@ -202,14 +202,14 @@ float CGUIProgressControl::GetPercentage() const
{
return m_fPercent;
}
-void CGUIProgressControl::FreeResources()
+void CGUIProgressControl::FreeResources(bool immediately)
{
- CGUIControl::FreeResources();
- m_guiBackground.FreeResources();
- m_guiMid.FreeResources();
- m_guiRight.FreeResources();
- m_guiLeft.FreeResources();
- m_guiOverlay.FreeResources();
+ CGUIControl::FreeResources(immediately);
+ m_guiBackground.FreeResources(immediately);
+ m_guiMid.FreeResources(immediately);
+ m_guiRight.FreeResources(immediately);
+ m_guiLeft.FreeResources(immediately);
+ m_guiOverlay.FreeResources(immediately);
}
void CGUIProgressControl::DynamicResourceAlloc(bool bOnOff)