HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
hi::v1::text_theme Class Reference
Inheritance diagram for hi::v1::text_theme:
std::vector< text_style >

Public Member Functions

text_style const & find (text_phrasing phrasing, language_tag language) const noexcept
 
text_stylefind_or_add (text_phrasing_mask phrasing_mask, language_tag language_mask) noexcept
 Find or add an text_style to the text-theme.
 
- Public Member Functions inherited from std::vector< text_style >
text_style push_back (text_style ... args)
 
text_style crbegin (text_style ... args)
 
text_style erase (text_style ... args)
 
text_style data (text_style ... args)
 
text_style insert (text_style ... args)
 
text_style pop_back (text_style ... args)
 
text_style shrink_to_fit (text_style ... args)
 
text_style back (text_style ... args)
 
text_style end (text_style ... args)
 
text_style resize (text_style ... args)
 
text_style emplace_back (text_style ... args)
 
text_style size (text_style ... args)
 
text_style cbegin (text_style ... args)
 
text_style front (text_style ... args)
 
text_style ~vector (text_style ... args)
 
text_style rbegin (text_style ... args)
 
text_style crend (text_style ... args)
 
text_style assign (text_style ... args)
 
text_style operator= (text_style ... args)
 
text_style vector (text_style ... args)
 
text_style reserve (text_style ... args)
 
text_style capacity (text_style ... args)
 
text_style empty (text_style ... args)
 
text_style cend (text_style ... args)
 
text_style swap (text_style ... args)
 
text_style max_size (text_style ... args)
 
text_style rend (text_style ... args)
 
text_style get_allocator (text_style ... args)
 
text_style clear (text_style ... args)
 
text_style at (text_style ... args)
 
text_style emplace (text_style ... args)
 
text_style operator[] (text_style ... args)
 
text_style begin (text_style ... args)
 

Additional Inherited Members

- Data Fields inherited from std::vector< text_style >
text_style elements
 STL member.
 

Member Function Documentation

◆ find_or_add()

text_style & hi::v1::text_theme::find_or_add ( text_phrasing_mask phrasing_mask,
language_tag language_mask )
inlinenoexcept

Find or add an text_style to the text-theme.

This function is used by the style_sheet::activate() to populate the text theme. Therefor this function look for an exact match for the phrasing and language, if not found it will create a new entry.

Parameters
phrasing_maskA mask of phrasing values.
language_maskA mask of the language.

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