HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Enumerations
Unicode character database and algorithms

Enumerations

enum class  v1::phrasing : uint8_t {
  v1::phrasing::regular = 0 , v1::phrasing::emphesis = 1 , v1::phrasing::strong = 2 , v1::phrasing::code = 3 ,
  v1::phrasing::abbreviation = 4 , v1::phrasing::quote = 5 , v1::phrasing::keyboard = 6 , v1::phrasing::highlight = 7 ,
  v1::phrasing::math = 8 , v1::phrasing::example = 9 , v1::phrasing::unarticulated = 10 , v1::phrasing::title = 11 ,
  v1::phrasing::success = 12 , v1::phrasing::warning = 13 , v1::phrasing::error = 14
}
 Phrasing. More...
 

Detailed Description

Enumeration Type Documentation

◆ phrasing

enum class v1::phrasing : uint8_t
strong

Phrasing.

This is the phrasing of a piece of text. The phrasing determines the style of text on a semantic level. Simular to HTML phrasing tags.

The underlying value must be between 0 through 63; so that the phrasing_mask can be 64-bits.

Enumerator
regular 

Regular, normal text.

emphesis 

Emphesised text; spoken as if the text is special importance, significant or promonent.

Often formatted in italic.

strong 

Strong text; spoken louder, as if the text is not to be missed.

Often formatted in bold.

code 

Text is a piece of programming-code; a variable name, a function name.

Often formatted in a constant-width font, with a greater weight and in a different color and possible background block, than the surrounding text.

abbreviation 

An abbreviation.

Sometimes formatted with a double underline and hovering will show the expansion of the abbreviation.

quote 

The text is quoted from somewhere.

Often formatted using a more italic / cursive font, with a lower weight.

keyboard 

Used in help text to show which key or button to press.

Often formatted with a background that looks raised up like a button. With the text in inverted color.

highlight 

The text is marked or highlighted as if being marked by a highlight pen.

Often formatted with a yellow background.

math 

Text formatted as math.

Often formatted using a special math font.

example 

Used in help text to show an example.

Often formatted using a non-proportional font with a low resultion bitmap-like style. Used for displaying console output.

unarticulated 

Unarticulated.

Often formatted using an underlying line.

title 

Format a heading Often in bold, larger font and on a line by itself.

success 

Format a "good" message Often in bright green.

warning 

Format a warning message Often in bright yellow.

error 

Format a "bad" message Often in bright red.