31 CGUIControlGroupList(
int parentID,
int controlID,
float posX,
float posY,
float width,
float height,
float itemGap,
int pageControl, ORIENTATION orientation,
bool useControlPositions, uint32_t alignment,
const CScroller& scroller);
35 float GetWidth()
const override;
36 float GetHeight()
const override;
37 virtual float Size()
const;
38 void SetInvalid()
override;
40 void Process(
unsigned int currentTime, CDirtyRegionList &dirtyregions)
override;
41 void Render()
override;
42 bool OnAction(
const CAction& action)
override;
46 void UnfocusFromPoint(
const CPoint &point)
override;
48 void AddControl(
CGUIControl *control,
int position = -1)
override;
49 void ClearAll()
override;
51 virtual std::string GetLabel(
int info)
const;
52 bool GetCondition(
int condition,
int data)
const override;
56 float GetTotalSize()
const;
57 ORIENTATION GetOrientation()
const {
return m_orientation; }
60 void SetMinSize(
float minWidth,
float minHeight);
62 using CGUIControlGroup::GetFirstFocusableControl;
66 bool IsControlOnScreen(
float pos,
const CGUIControl* control)
const;
67 void ValidateOffset();
68 void CalculateItemGap();
69 inline float Size(
const CGUIControl *control)
const;
70 void ScrollTo(
float offset);
71 float GetAlignOffset()
const;
73 int GetNumItems()
const;
74 int GetSelectedItem()
const;
81 float GetControlOffset(
const CGUIControl* control)
const;
96 void ScrollPages(
float pages);
114 int m_focusedPosition;
119 int m_lastScrollerValue;
121 bool m_useControlPositions;
122 ORIENTATION m_orientation;
123 uint32_t m_alignment;
Definition: GUIControlGroupList.h:18
Base class for controls.
Definition: GUIControl.h:75
EVENT_RESULT
Results of OnMouseEvent() Any value not equal to EVENT_RESULT_UNHANDLED indicates that the event was ...
Definition: GUIControl.h:60
list of controls that is scrollable
Definition: GUIControlGroupList.h:28
class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:22
Definition: LibInputPointer.h:13
Definition: GUIMessage.h:365
group of controls, useful for remembering last control + animating/hiding together ...
Definition: GUIControlGroup.h:24
Simple class for mouse events.
Definition: Key.h:114