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

Description of one destination, as given by the user. More...

#include <headers/guillaume/components/navigation_bar.hpp>

Public Member Functions

bool operator== (const Destination &other) const =default
 Compare two destinations.

Public Attributes

std::string icon
 Icon glyph name while not selected.
std::string label
 Text under the icon.
std::string focusedIcon
std::string badge
 Badge text; empty means no badge.

Detailed Description

Description of one destination, as given by the user.

Definition at line 67 of file navigation_bar.hpp.

Member Function Documentation

◆ operator==()

bool guillaume::components::NavigationBar::Destination::operator== ( const Destination & other) const
default

Compare two destinations.

Parameters
otherThe destination to compare with.
Returns
True when every field is equal.

Member Data Documentation

◆ badge

std::string guillaume::components::NavigationBar::Destination::badge

Badge text; empty means no badge.

Definition at line 72 of file navigation_bar.hpp.

◆ focusedIcon

std::string guillaume::components::NavigationBar::Destination::focusedIcon

Icon glyph name while selected; empty keeps icon.

Definition at line 70 of file navigation_bar.hpp.

◆ icon

std::string guillaume::components::NavigationBar::Destination::icon

Icon glyph name while not selected.

Definition at line 68 of file navigation_bar.hpp.

◆ label

std::string guillaume::components::NavigationBar::Destination::label

Text under the icon.

Definition at line 69 of file navigation_bar.hpp.


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