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

A check box (without label). More...

#include <AUI/View/ACheckBox.h>

Detailed Description

Checkbox is a checkable button that is typically used to enable/disable some action.

See declarative::CheckBox for a declarative form and examples.

For a checkbox with label, see ACheckBoxWrapper.

Whenever the checkbox is checked or unchecked, it emits checked() signal.

Member Function Documentation

> All members, including inherited

◆ consumesClick()

bool ACheckBox::consumesClick ( const glm::ivec2 & pos)
overridevirtual
Parameters
posmouse position
Returns
true if AView processes this click

Used in AViewContainer::getViewAt method subset, thus affecting click event handling.

Reimplemented from AView.

◆ selectableIsSelectedImpl()

bool ACheckBox::selectableIsSelectedImpl ( )
overrideprotectedvirtual

Implements ass::ISelectable.