17 #include "utils/ColorUtils.h" 18 #include "utils/MovingSpeed.h" 50 TiXmlElement* pControlNode,
51 bool insideContainer =
false);
57 static CGUIControl::GUICONTROLTYPES TranslateControlType(
const std::string& type);
63 static std::string TranslateControlType(CGUIControl::GUICONTROLTYPES type);
65 static bool GetAspectRatio(
const TiXmlNode* pRootNode,
68 static bool GetInfoTexture(
const TiXmlNode* pRootNode,
73 static bool GetTexture(
const TiXmlNode* pRootNode,
const char* strTag,
CTextureInfo& image);
74 static bool GetAlignment(
const TiXmlNode* pRootNode,
const char* strTag, uint32_t& dwAlignment);
75 static bool GetAlignmentY(
const TiXmlNode* pRootNode,
const char* strTag, uint32_t& dwAlignment);
76 static bool GetAnimations(TiXmlNode* control,
79 std::vector<CAnimation>& animation);
102 static float ParsePosition(
const char*
pos,
const float parentSize);
104 static bool GetInfoLabelFromElement(
const TiXmlElement* element,
107 static void GetInfoLabel(
const TiXmlNode* pControlNode,
108 const std::string& labelTag,
111 static void GetInfoLabels(
const TiXmlNode* pControlNode,
112 const std::string& labelTag,
113 std::vector<KODI::GUILIB::GUIINFO::CGUIInfoLabel>& infoLabels,
115 static bool GetColor(
const TiXmlNode* pRootNode,
const char* strTag, UTILS::COLOR::Color& value);
116 static bool GetInfoColor(
const TiXmlNode* pRootNode,
120 static std::string FilterLabel(
const std::string& label);
121 static bool GetConditionalVisibility(
const TiXmlNode* control, std::string& condition);
122 static bool GetActions(
const TiXmlNode* pRootNode,
const char* strTag,
CGUIAction&
actions);
123 static void GetRectFromString(
const std::string&
string,
CRect& rect);
124 static bool GetHitRect(
const TiXmlNode* pRootNode,
CRect& rect,
const CRect& parentRect);
125 static bool GetScroller(
const TiXmlNode* pControlNode,
126 const std::string& scrollerTag,
130 static std::string GetType(
const TiXmlElement* pControlNode);
131 static bool GetMovingSpeedConfig(
const TiXmlNode* pRootNode,
133 UTILS::MOVING_SPEED::MapEventConfig& movingSpeedCfg);
134 static bool GetConditionalVisibility(
const TiXmlNode* control,
135 std::string& condition,
136 std::string& allowHiddenFocus);
137 bool GetString(
const TiXmlNode* pRootNode,
const char* strTag, std::string& strString);
138 static bool GetFloatRange(
const TiXmlNode* pRootNode,
142 float& iIntervalValue);
143 static bool GetIntRange(
const TiXmlNode* pRootNode,
147 int& iIntervalValue);
157 static bool GetPosition(
const TiXmlNode* node,
159 const float parentSize,
176 static bool GetDimension(
177 const TiXmlNode* node,
const char* strTag,
const float parentSize,
float& value,
float& min);
196 static bool GetDimensions(
const TiXmlNode* node,
198 const char* rightTag,
199 const char* centerLeftTag,
200 const char* centerRightTag,
201 const char* widthTag,
202 const float parentSize,
Definition: GUIInfoLabel.h:31
Base class for controls.
Definition: GUIControl.h:83
Definition: GUIControlFactory.h:43
Definition: GUITexture.h:28
Definition: GUITexture.h:51
Definition: AudioDecoder.h:18
Definition: LibInputPointer.h:13
Definition: GUIInfoColor.h:30
Class containing vector of condition->(action/navigation route) and handling its execution.
Definition: GUIAction.h:21