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

Radius of each corner, for a button joined to its neighbours (a segment of a segmented button). More...

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

Public Member Functions

bool operator== (const Corners &other) const =default
 Compare two corner sets.

Public Attributes

float topLeft { 0.0f }
 Top-left radius, in dp.
float topRight { 0.0f }
 Top-right radius, in dp.
float bottomRight { 0.0f }
 Bottom-right radius, in dp.
float bottomLeft { 0.0f }
 Bottom-left radius, in dp.

Detailed Description

Radius of each corner, for a button joined to its neighbours (a segment of a segmented button).

Definition at line 93 of file common_button.hpp.

Member Function Documentation

◆ operator==()

bool guillaume::components::CommonButton::Corners::operator== ( const Corners & other) const
default

Compare two corner sets.

Parameters
otherThe other corner set.
Returns
True when every radius is equal.

Member Data Documentation

◆ bottomLeft

float guillaume::components::CommonButton::Corners::bottomLeft { 0.0f }

Bottom-left radius, in dp.

Definition at line 97 of file common_button.hpp.

◆ bottomRight

float guillaume::components::CommonButton::Corners::bottomRight { 0.0f }

Bottom-right radius, in dp.

Definition at line 96 of file common_button.hpp.

◆ topLeft

float guillaume::components::CommonButton::Corners::topLeft { 0.0f }

Top-left radius, in dp.

Definition at line 94 of file common_button.hpp.

◆ topRight

float guillaume::components::CommonButton::Corners::topRight { 0.0f }

Top-right radius, in dp.

Definition at line 95 of file common_button.hpp.


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