17 #include "utils/ColorUtils.h" 18 #include "utils/MovingSpeed.h" 48 CGUIControl* Create(
int parentID,
const CRect &rect, TiXmlElement* pControlNode,
bool insideContainer =
false);
54 static CGUIControl::GUICONTROLTYPES TranslateControlType(
const std::string &type);
60 static std::string TranslateControlType(CGUIControl::GUICONTROLTYPES type);
62 static bool GetAspectRatio(
const TiXmlNode* pRootNode,
const char* strTag,
CAspectRatio &aspectRatio);
64 static bool GetTexture(
const TiXmlNode* pRootNode,
const char* strTag,
CTextureInfo &image);
65 static bool GetAlignment(
const TiXmlNode* pRootNode,
const char* strTag, uint32_t& dwAlignment);
66 static bool GetAlignmentY(
const TiXmlNode* pRootNode,
const char* strTag, uint32_t& dwAlignment);
67 static bool GetAnimations(TiXmlNode *control,
const CRect &rect,
int context, std::vector<CAnimation> &animation);
90 static float ParsePosition(
const char*
pos,
const float parentSize);
94 static void GetInfoLabels(
const TiXmlNode *pControlNode,
const std::string &labelTag, std::vector<KODI::GUILIB::GUIINFO::CGUIInfoLabel> &infoLabels,
int parentID);
95 static bool GetColor(
const TiXmlNode* pRootNode,
const char* strTag, UTILS::COLOR::Color& value);
97 static std::string FilterLabel(
const std::string &label);
98 static bool GetConditionalVisibility(
const TiXmlNode* control, std::string &condition);
99 static bool GetActions(
const TiXmlNode* pRootNode,
const char* strTag,
CGUIAction&
actions);
100 static void GetRectFromString(
const std::string &
string,
CRect &rect);
101 static bool GetHitRect(
const TiXmlNode* pRootNode,
CRect &rect,
const CRect &parentRect);
102 static bool GetScroller(
const TiXmlNode *pControlNode,
const std::string &scrollerTag,
CScroller& scroller);
104 static std::string GetType(
const TiXmlElement *pControlNode);
105 static bool GetMovingSpeedConfig(
const TiXmlNode* pRootNode,
107 UTILS::MOVING_SPEED::MapEventConfig& movingSpeedCfg);
108 static bool GetConditionalVisibility(
const TiXmlNode* control, std::string &condition, std::string &allowHiddenFocus);
109 bool GetString(
const TiXmlNode* pRootNode,
const char* strTag, std::string& strString);
110 static bool GetFloatRange(
const TiXmlNode* pRootNode,
const char* strTag,
float& iMinValue,
float& iMaxValue,
float& iIntervalValue);
111 static bool GetIntRange(
const TiXmlNode* pRootNode,
const char* strTag,
int& iMinValue,
int& iMaxValue,
int& iIntervalValue);
121 static bool GetPosition(
const TiXmlNode *node,
const char* tag,
const float parentSize,
float& value);
137 static bool GetDimension(
const TiXmlNode *node,
const char* strTag,
const float parentSize,
float &value,
float &min);
156 static bool GetDimensions(
const TiXmlNode *node,
const char *leftTag,
const char *rightTag,
const char *centerLeftTag,
157 const char *centerRightTag,
const char *widthTag,
const float parentSize,
float &left,
158 float &width,
float &min_width);
Definition: GUIInfoLabel.h:31
Base class for controls.
Definition: GUIControl.h:75
Definition: GUIControlFactory.h:43
Definition: GUITexture.h:28
Definition: GUITexture.h:51
Controller configuration window.
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