aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIControlFactory.h
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-01-12 04:21:14 +0000
committerjmarshallnz <jmarshallnz@svn>2010-01-12 04:21:14 +0000
commitae9550b7de777a464c30ee50733f91c2682a79a5 (patch)
treedc32c3a9b0fc5bdb508f27ed22ebf9942d0e83d1 /guilib/GUIControlFactory.h
parent5e7705c2c39ec3893d6ea64b7471a31dfe1f462f (diff)
changed: Default the <hitrect> for windows and dialogs to the fullscreen size, and remove unneeded HitTest() routine when the base class suffices. Fixes #8469
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26710 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIControlFactory.h')
-rw-r--r--guilib/GUIControlFactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIControlFactory.h b/guilib/GUIControlFactory.h
index 018b945eb7..6867e2635d 100644
--- a/guilib/GUIControlFactory.h
+++ b/guilib/GUIControlFactory.h
@@ -65,6 +65,7 @@ public:
static bool GetMultipleString(const TiXmlNode* pRootNode, const char* strTag, std::vector<CGUIActionDescriptor>& vecStringValue);
static void GetRectFromString(const CStdString &string, CRect &rect);
static bool GetAction(const TiXmlElement* pElement, CGUIActionDescriptor &action);
+ static bool GetHitRect(const TiXmlNode* pRootNode, CRect &rect);
private:
bool GetNavigation(const TiXmlElement *node, const char *tag, int &direction, std::vector<CGUIActionDescriptor> &actions);
bool GetCondition(const TiXmlNode *control, const char *tag, int &condition);
@@ -72,6 +73,5 @@ private:
bool GetString(const TiXmlNode* pRootNode, const char* strTag, CStdString& strString);
bool GetFloatRange(const TiXmlNode* pRootNode, const char* strTag, float& iMinValue, float& iMaxValue, float& iIntervalValue);
bool GetIntRange(const TiXmlNode* pRootNode, const char* strTag, int& iMinValue, int& iMaxValue, int& iIntervalValue);
- bool GetHitRect(const TiXmlNode* pRootNode, CRect &rect);
};
#endif