GGUI::CellValue struct

One cell. Text is only valid until the next call into the source.

Public types

enum class Kind: uint8_t { None, Number, Text }
What it holds.

Public static functions

static auto Of(float number) -> CellValue
A number cell.
static auto Of(std::string_view text) -> CellValue
A text cell.

Public variables

Kind What
what it holds
float Number
Number.
std::string_view Text
Text.

Enum documentation

enum class GGUI::CellValue::Kind: uint8_t

What it holds.

Enumerators
None

nothing

Number

a number

Text

text