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

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

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

Public Member Functions

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

Public Attributes

ecs::Entity::Identifier entity
 Row root (container, subheader text or divider).
ecs::Entity::Identifier view
 Pressable row container.
ecs::Entity::Identifier lead
 Leading group.
ecs::Entity::Identifier spacer
 Nesting inset of an accordion child.
ecs::Entity::Identifier leadingImage
 Leading image child.
ecs::Entity::Identifier leadingIcon
 Leading icon child.
ecs::Entity::Identifier content
 Column holding the headline and supporting text.
ecs::Entity::Identifier headline
 Headline text child.
ecs::Entity::Identifier supporting
 Supporting text child.
ecs::Entity::Identifier trailingIcon
 Trailing icon child (the chevron of an accordion).
std::vector< Row > children {}

Detailed Description

Identifiers of the entities built for one entry.

A subheader or a divider only has entity. A pressable row is a container (view) holding a leading group (lead: nesting spacer, leading image or icon, text column) and an optional trailing icon. A field is ecs::Entity::InvalidIdentifier when the entry has no such part.

Definition at line 113 of file list.hpp.

Member Function Documentation

◆ operator==()

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

Compare two rows.

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

Definition at line 53 of file list.cpp.

Member Data Documentation

◆ children

std::vector<Row> guillaume::components::List::Row::children {}

Rows of the accordion children.

Definition at line 144 of file list.hpp.

◆ content

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

Column holding the headline and supporting text.

Definition at line 132 of file list.hpp.

◆ entity

ecs::Entity::Identifier guillaume::components::List::Row::entity
Initial value:

Row root (container, subheader text or divider).

Definition at line 114 of file list.hpp.

◆ headline

ecs::Entity::Identifier guillaume::components::List::Row::headline
Initial value:

Headline text child.

Definition at line 135 of file list.hpp.

◆ lead

ecs::Entity::Identifier guillaume::components::List::Row::lead
Initial value:

Leading group.

Definition at line 120 of file list.hpp.

◆ leadingIcon

ecs::Entity::Identifier guillaume::components::List::Row::leadingIcon
Initial value:

Leading icon child.

Definition at line 129 of file list.hpp.

◆ leadingImage

ecs::Entity::Identifier guillaume::components::List::Row::leadingImage
Initial value:

Leading image child.

Definition at line 126 of file list.hpp.

◆ spacer

ecs::Entity::Identifier guillaume::components::List::Row::spacer
Initial value:

Nesting inset of an accordion child.

Definition at line 123 of file list.hpp.

◆ supporting

ecs::Entity::Identifier guillaume::components::List::Row::supporting
Initial value:

Supporting text child.

Definition at line 138 of file list.hpp.

◆ trailingIcon

ecs::Entity::Identifier guillaume::components::List::Row::trailingIcon
Initial value:

Trailing icon child (the chevron of an accordion).

Definition at line 141 of file list.hpp.

◆ view

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

Pressable row container.

Definition at line 117 of file list.hpp.


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