aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIControlFactory.h
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2009-09-24 01:04:35 +0000
committerjmarshallnz <jmarshallnz@svn>2009-09-24 01:04:35 +0000
commit9cffa27f00de6c87ee6eafbf5531a620e2840c89 (patch)
treee650cdc22b791e6aa9d04d2a0191f938471f6156 /guilib/GUIControlFactory.h
parent7d4c7b70bff223fdd55aa9713466071735039576 (diff)
removed: FRECT struct - use CRect instead.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23127 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIControlFactory.h')
-rw-r--r--guilib/GUIControlFactory.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/guilib/GUIControlFactory.h b/guilib/GUIControlFactory.h
index d41d5c17da..018b945eb7 100644
--- a/guilib/GUIControlFactory.h
+++ b/guilib/GUIControlFactory.h
@@ -46,7 +46,7 @@ public:
CGUIControlFactory(void);
virtual ~CGUIControlFactory(void);
static CStdString GetType(const TiXmlElement *pControlNode);
- CGUIControl* Create(int parentID, const FRECT &rect, TiXmlElement* pControlNode, bool insideContainer = false);
+ CGUIControl* Create(int parentID, const CRect &rect, TiXmlElement* pControlNode, bool insideContainer = false);
void ScaleElement(TiXmlElement *element, RESOLUTION fileRes, RESOLUTION destRes);
static bool GetFloat(const TiXmlNode* pRootNode, const char* strTag, float& value);
static bool GetUnsigned(const TiXmlNode* pRootNode, const char* strTag, unsigned int& value);
@@ -55,7 +55,7 @@ public:
static bool GetTexture(const TiXmlNode* pRootNode, const char* strTag, CTextureInfo &image);
static bool GetAlignment(const TiXmlNode* pRootNode, const char* strTag, uint32_t& dwAlignment);
static bool GetAlignmentY(const TiXmlNode* pRootNode, const char* strTag, uint32_t& dwAlignment);
- static bool GetAnimations(const TiXmlNode *control, const FRECT &rect, std::vector<CAnimation> &animation);
+ static bool GetAnimations(const TiXmlNode *control, const CRect &rect, std::vector<CAnimation> &animation);
static void GetInfoLabel(const TiXmlNode *pControlNode, const CStdString &labelTag, CGUIInfoLabel &infoLabel);
static void GetInfoLabels(const TiXmlNode *pControlNode, const CStdString &labelTag, std::vector<CGUIInfoLabel> &infoLabels);
static bool GetColor(const TiXmlNode* pRootNode, const char* strTag, color_t &value);
@@ -63,7 +63,7 @@ public:
static CStdString FilterLabel(const CStdString &label);
static bool GetConditionalVisibility(const TiXmlNode* control, int &condition);
static bool GetMultipleString(const TiXmlNode* pRootNode, const char* strTag, std::vector<CGUIActionDescriptor>& vecStringValue);
- static void GetRectFromString(const CStdString &string, FRECT &rect);
+ static void GetRectFromString(const CStdString &string, CRect &rect);
static bool GetAction(const TiXmlElement* pElement, CGUIActionDescriptor &action);
private:
bool GetNavigation(const TiXmlElement *node, const char *tag, int &direction, std::vector<CGUIActionDescriptor> &actions);