Enumerations

UI

Brief descriptions

Enumerations

nau::ui::EventType

Enumerates GUI element input event types.

nau::ui::UIState

Enumerates GUI element states.

nau::ui::HorizontalAlignment

Encapsulates horizontal alignment types.

nau::ui::VerticalAlignment

Encapsulates vertical alignment types.

nau::ui::DebugDrawLevel

Detailed information

ui::EventType

engine/core/modules/ui/include/nau/ui/ui_control.h

enum class nau::ui::EventType

Enumerates GUI element input event types.

Values:

enumerator press

Indicates that the element is being pressed on with the cursor.

enumerator release

Indicates that the element has just stopped being pressed on with the cursor.

enumerator hover

Indicates that the cursor is currently hovered over it.

enumerator leave

Indicates that the cursor has just exited the area of the element and it is no more hovered over.


ui::UIState

engine/core/modules/ui/include/nau/ui/ui_control.h

enum class nau::ui::UIState

Enumerates GUI element states.

Values:

enumerator normal

Default (enabled) state of the element when it is not receiving any cursor input.

enumerator hovered

The state the element transitions to when the cursor is hovered over it.

enumerator pressed

The state the element transitions to when is is being pressed on with the cursor.

enumerator disabled

The state the element transitions to when it gets disabled.


ui::HorizontalAlignment

engine/core/modules/ui/include/nau/ui/ui_control.h

enum class nau::ui::HorizontalAlignment

Encapsulates horizontal alignment types.

Values:

enumerator left
enumerator center
enumerator right

ui::VerticalAlignment

engine/core/modules/ui/include/nau/ui/ui_control.h

enum class nau::ui::VerticalAlignment

Encapsulates vertical alignment types.

Values:

enumerator top
enumerator center
enumerator bottom

ui::DebugDrawLevel

engine/core/modules/ui/include/nau/ui/elements/node.h

enum class nau::ui::DebugDrawLevel

Values:

enumerator borders
enumerator includingNestedElements