AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ASlider Class Reference

Slider control.

#include <AUI/View/ASlider.h>

Member Function Documentation

> All members, including inherited

◆ applyGeometryToChildren()

void ASlider::applyGeometryToChildren ( )
overridevirtual

See Layout Managers for more info.

Reimplemented from AViewContainerBase.

◆ capturesFocus()

bool ASlider::capturesFocus ( )
overridevirtual
Returns
Can this view capture focus.

For containers, capturing focus is redundant.

Reimplemented from AView.

◆ onPointerMove()

void ASlider::onPointerMove ( glm::vec2 pos,
const APointerMoveEvent & event )
overridevirtual
Parameters
posevent position
eventevent description
Note
If the view is pressed, it would still received move events. Use AView::isMouseHover to check is the pointer actually over view or not. See AView::onPointerReleased for more info.

Reimplemented from AView.

◆ onPointerPressed()

void ASlider::onPointerPressed ( const APointerPressedEvent & event)
overridevirtual
Parameters
eventevent

Reimplemented from AView.

◆ onPointerReleased()

void ASlider::onPointerReleased ( const APointerReleasedEvent & event)
overridevirtual
Parameters
eventevent
Note
To handle clicks, you should use AView::clicked signal instead. View still receives pointer move and released events even if cursor goes outside the view boundaries, or other exclusive event appeared (i.e. scrollarea scroll). AView::clicked emitted only if release event occurred inside view and no other event has prevented click gesture. See APointerReleasedEvent::triggerClick.

Reimplemented from AView.