guillaume 2026.6.1
A C++ UI framework designed for modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
guillaume::theme::FocusRing Struct Reference

Dimensions of the ring drawn around the entity that has the keyboard focus. More...

#include <headers/guillaume/theme/tokens.hpp>

Static Public Attributes

static constexpr float Width = 3.0f
 Ring thickness, in dp.
static constexpr float Offset = 2.0f
 Gap between the bound and the ring, in dp.

Detailed Description

Dimensions of the ring drawn around the entity that has the keyboard focus.

The ring is painted outside the focused entity, Offset away from its bound, Width thick, in the scheme's secondary color. The values are the same for every theme.

Definition at line 468 of file tokens.hpp.

Member Data Documentation

◆ Offset

float guillaume::theme::FocusRing::Offset = 2.0f
staticconstexpr

Gap between the bound and the ring, in dp.

Definition at line 477 of file tokens.hpp.

◆ Width

float guillaume::theme::FocusRing::Width = 3.0f
staticconstexpr

Ring thickness, in dp.

Definition at line 472 of file tokens.hpp.


The documentation for this struct was generated from the following file: