17 #include "GUITexture.h" 31 CGUIRange(
float fPosX,
float fPosY,
float fWidth,
float fHeight,
33 const CTextureInfo& upperTextureInfo,
const std::pair<float, float>& percentages);
35 CGUIRange(
const CGUIRange& range);
37 void AllocResources();
38 void FreeResources(
bool bImmediately);
39 void DynamicResourceAlloc(
bool bOnOff);
43 bool Process(
unsigned int iCurrentTime);
45 bool UpdateLayout(
float fBackgroundTextureHeight,
float fPosX,
float fPosY,
float fWidth,
float fScaleX,
float fScaleY);
48 std::unique_ptr<CGUITexture> m_guiLowerTexture;
49 std::unique_ptr<CGUITexture> m_guiFillTexture;
50 std::unique_ptr<CGUITexture> m_guiUpperTexture;
51 std::pair<float,float> m_percentValues;
56 float fWidth,
float fHeight,
const CTextureInfo& backGroundTexture,
63 void Process(
unsigned int iCurrentTime, CDirtyRegionList& dirtyregions)
override;
64 void Render()
override;
65 bool CanFocus()
const override;
66 void AllocResources()
override;
67 void FreeResources(
bool bImmediately =
false)
override;
68 void DynamicResourceAlloc(
bool bOnOff)
override;
69 void SetInvalid()
override;
70 void SetPosition(
float fPosX,
float fPosY)
override;
71 void UpdateInfo(
const CGUIListItem* item =
nullptr)
override;
74 void SetRanges(
const std::vector<std::pair<float, float>>& ranges);
80 std::unique_ptr<CGUITexture> m_guiBackground;
81 std::unique_ptr<CGUITexture> m_guiOverlay;
85 std::vector<CGUIRange> m_ranges;
87 std::string m_prevRanges;
Definition: GUIListItem.h:29
Definition: GUIRangesControl.h:26
Base class for controls.
Definition: GUIControl.h:83
Definition: GUITexture.h:51
Definition: GUIInfoColor.h:30