HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Enumerations
button_state.hpp File Reference

Go to the source code of this file.

Enumerations

enum class  tt::button_state { off , on , other }
 The state of a button. More...
 

Enumeration Type Documentation

◆ button_state

enum class tt::button_state
strong

The state of a button.

Enumerator
off 

The 'off' state of a button.

on 

The 'on' state of a button.

other 

The other state of a button.

For checkboxes the 'other' state is when the value it represents is neither 'on' or 'off'. Examples off this is when the checkbox is a parent in a tree structure, where 'other' represents that its children have different values.