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

Photoshop-like ruler area for measuring display units. More...

#include <AUI/View/ARulerArea.h>

Detailed Description

Consists of vertical and horizontal rulers.

Member Function Documentation

> All members, including inherited

◆ invalidateFont()

void ARulerArea::invalidateFont ( )
overridevirtual

Implements IFontView.

◆ onPointerMove()

void ARulerArea::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.

◆ render()

void ARulerArea::render ( ARenderContext ctx)
overridevirtual
See also
AView::drawView

AView::render is not guaranteed to be called on per-frame basis. Moreover, this method can be called multiple times if render-to-texture caching decides to do so.

Reimplemented from AView.

◆ setSize()

void ARulerArea::setSize ( glm::ivec2 size)
overridevirtual

Reimplemented from AView.