ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
UIEnums.hpp File Reference

Small enumerations describing layout strategy and interaction state. More...

#include <cstdint>

Go to the source code of this file.

Enumerations

enum class  ZenitUI::LayoutType : uint8_t { LayoutType::Stack , LayoutType::Vertical , LayoutType::Horizontal , LayoutType::Grid }
 Positioning strategy applied to a Layout node's direct children. More...
enum class  ZenitUI::UIState : uint8_t { UIState::Idle , UIState::Hover , UIState::Pressed , UIState::Disabled }
 Interaction state computed per node and consumed by the style resolver to select pseudo-class overlays. More...
enum class  ZenitUI::CursorShape : uint8_t {
  CursorShape::Auto , CursorShape::Default , CursorShape::Pointer , CursorShape::Text ,
  CursorShape::Move , CursorShape::Grab , CursorShape::Grabbing , CursorShape::ResizeEW ,
  CursorShape::ResizeNS , CursorShape::ResizeNESW , CursorShape::ResizeNWSE , CursorShape::NotAllowed ,
  CursorShape::Crosshair , CursorShape::Wait
}
 Standard OS cursor shapes requested via ZStyle cursor: and IPlatform::setCursor. More...
enum class  ZenitUI::TextDirection : uint8_t { TextDirection::Auto , TextDirection::LTR , TextDirection::RTL }
 Inline / layout writing direction for Bidi text and RTL layout mirroring (ยง6.2). More...

Detailed Description

Small enumerations describing layout strategy and interaction state.

Kept in their own header so that components and the style resolver can both reference these enums without pulling in the full Layout.hpp.