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

Identifiers of the entities built for one item. More...

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

Public Member Functions

bool operator== (const Row &other) const noexcept
 Compare two rows.

Public Attributes

ecs::Entity::Identifier view
 Pressable container of the row.
std::vector< ecs::Entity::Identifier > content {}
 Children of the row, in layout order.
ecs::Entity::Identifier label
 Text child that draws the label.
std::vector< ecs::Entity::Identifier > icons {}
 Leading and trailing icon children.

Detailed Description

Identifiers of the entities built for one item.

Definition at line 102 of file menu.hpp.

Member Function Documentation

◆ operator==()

bool guillaume::components::Menu::Row::operator== ( const Row & other) const
noexcept

Compare two rows.

Parameters
otherThe row to compare with.
Returns
True when both name the same entities.

Definition at line 30 of file menu.cpp.

Member Data Documentation

◆ content

std::vector<ecs::Entity::Identifier> guillaume::components::Menu::Row::content {}

Children of the row, in layout order.

Definition at line 107 of file menu.hpp.

◆ icons

std::vector<ecs::Entity::Identifier> guillaume::components::Menu::Row::icons {}

Leading and trailing icon children.

Definition at line 112 of file menu.hpp.

◆ label

ecs::Entity::Identifier guillaume::components::Menu::Row::label
Initial value:
{
}
static constexpr Identifier InvalidIdentifier
"No entity": never the identifier of a real entity
Definition entity.hpp:93

Text child that draws the label.

Definition at line 108 of file menu.hpp.

◆ view

ecs::Entity::Identifier guillaume::components::Menu::Row::view
Initial value:

Pressable container of the row.

Definition at line 103 of file menu.hpp.


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