HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Friends
v1::text_variant Class Reference

#include <hikogui/label.hpp>

Inheritance diagram for v1::text_variant:

Friends

constexpr friend bool to_bool (text_variant const &rhs) noexcept
 Check if text contains a string.
 
constexpr friend text to_text (hi::text_variant const &rhs) noexcept
 Convert the text into a gstring.
 
constexpr friend gstring to_gstring (hi::text_variant const &rhs) noexcept
 
constexpr friend std::string to_string (hi::text_variant const &rhs) noexcept
 
constexpr friend std::wstring to_wstring (hi::text_variant const &rhs) noexcept
 

Detailed Description

A variant of text.

May be:

Friends And Related Symbol Documentation

◆ to_bool

constexpr friend bool to_bool ( text_variant const & rhs)
friend

Check if text contains a string.

Note
to_bool() returns true on an zero length string.

◆ to_text

constexpr friend text to_text ( hi::text_variant const & rhs)
friend

Convert the text into a gstring.


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