> All members, including inherited
◆ onPointerMove()
void AScrollbarHandle::onPointerMove |
( |
glm::vec2 | pos, |
|
|
const APointerMoveEvent & | event ) |
|
overridevirtual |
- Parameters
-
pos | event position |
event | event 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()
- Parameters
-
Reimplemented from AView.
◆ onPointerReleased()
- Parameters
-
- 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.
◆ setSize()
void AScrollbarHandle::setSize |
( |
glm::ivec2 | size | ) |
|
|
overridevirtual |
Reimplemented from AView.