HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions | Friends
tt::Label Class Reference

Public Member Functions

 Label (std::string text, Image &&icon=Image{}) noexcept
 
 Label (Image &&icon) noexcept
 
 Label (Label const &other) noexcept
 
 Label (Label &&) noexcept=default
 
Labeloperator= (Label const &other)
 
Labeloperator= (Label &&) noexcept=default
 
std::string text () const noexcept
 Get the text translated in the current locale.
 
Image const & icon () const noexcept
 Get the text translated in the current locale.
 

Friends

std::string to_string (Label const &rhs) noexcept
 
std::ostreamoperator<< (std::ostream &lhs, Label const &rhs)
 

Member Function Documentation

◆ icon()

Image const & tt::Label::icon ( ) const
inlinenoexcept

Get the text translated in the current locale.

◆ text()

std::string tt::Label::text ( ) const
inlinenoexcept

Get the text translated in the current locale.


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