47 void Process(
unsigned int currentTime, CDirtyRegionList &dirtyregions)
override;
48 void Render()
override;
49 bool OnAction(
const CAction &action)
override;
50 void OnUnFocus()
override;
53 bool IsActive()
const override {
return m_active; }
54 void AllocResources()
override;
55 void FreeResources(
bool immediately =
false)
override;
56 void DynamicResourceAlloc(
bool bOnOff)
override;
57 void SetInvalid()
override;
58 void SetPosition(
float posX,
float posY)
override;
59 float GetWidth()
const override {
return m_buttonControl.GetWidth(); }
60 void SetWidth(
float width)
override;
61 float GetHeight()
const override {
return m_buttonControl.GetHeight(); }
62 void SetHeight(
float height)
override;
63 void SetEnabled(
bool bEnable)
override;
65 void SetText(
const std::string& label) { m_buttonControl.SetLabel(label); }
66 float GetXPosition()
const override {
return m_buttonControl.GetXPosition(); }
67 float GetYPosition()
const override {
return m_buttonControl.GetYPosition(); }
68 std::string GetDescription()
const override;
73 virtual void ProcessText();
Class for rendering text labels. Handles alignment and rendering of text within a control...
Definition: GUILabel.h:69
Definition: GUIListItem.h:30
Definition: GUISettingsSliderControl.h:23
EVENT_RESULT
Results of OnMouseEvent() Any value not equal to EVENT_RESULT_UNHANDLED indicates that the event was ...
Definition: GUIControl.h:60
class encapsulating information regarding a particular user action to be sent to windows and controls...
Definition: Action.h:22
Definition: GUITexture.h:51
EVENT_RESULT OnMouseEvent(const CPoint &point, const CMouseEvent &event) override
Perform a mouse action.
Definition: GUISettingsSliderControl.cpp:126
Definition: GUILabel.h:22
Definition: GUISliderControl.h:37
virtual bool HitTest(const CPoint &point) const
Used to test whether the point is inside a control.
Definition: GUIControl.cpp:571
bool HitTest(const CPoint &point) const override
Used to test whether the point is inside a control.
Definition: GUISettingsSliderControl.h:69
Simple class for mouse events.
Definition: Key.h:114