aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIToggleButtonControl.h
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2009-10-25 05:51:23 +0000
committerjmarshallnz <jmarshallnz@svn>2009-10-25 05:51:23 +0000
commit5c4c090371178f2532d31cd2c6a520f218d413b5 (patch)
treed4aa40c971eb237bb0a759b25720f04b885fb24b /guilib/GUIToggleButtonControl.h
parent0f3f19a7d22800c659013335bea80b2b04ecb83a (diff)
changed: Invalidate controls when changing the window size, rather than being lazy and reallocate them. Thanks for the kick up the pants Martin :)
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23993 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIToggleButtonControl.h')
-rw-r--r--guilib/GUIToggleButtonControl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIToggleButtonControl.h b/guilib/GUIToggleButtonControl.h
index 177ddd057f..61a4676646 100644
--- a/guilib/GUIToggleButtonControl.h
+++ b/guilib/GUIToggleButtonControl.h
@@ -47,6 +47,7 @@ public:
virtual void AllocResources();
virtual void FreeResources();
virtual void DynamicResourceAlloc(bool bOnOff);
+ virtual void SetInvalid();
virtual void SetPosition(float posX, float posY);
virtual void SetWidth(float width);
virtual void SetHeight(float height);
@@ -59,7 +60,6 @@ public:
protected:
virtual void UpdateColors();
virtual void OnClick();
- virtual void SetInvalid();
CGUIButtonControl m_selectButton;
int m_toggleSelect;
};