|
| class | tachyon::IClipboard |
| | The clipboard text editors copy to and paste from; GUIApplication::SetClipboard sets one (default: SDL's, or LocalClipboard without SDL). More...
|
| class | tachyon::LocalClipboard |
| | A clipboard inside the process, not shared with other applications. More...
|
| struct | tachyon::IconTextPlacement |
| | Placement of a text + icon pair inside rect: More...
|
| struct | tachyon::NumericFieldConfig< T > |
| | Drag speed and range of a numeric Field, specialized per value type. More...
|
| struct | tachyon::NumericFieldConfig< double > |
| | NumericFieldConfig for double values. More...
|
| struct | tachyon::NumericFieldConfig< float > |
| | NumericFieldConfig for float values. More...
|
| struct | tachyon::NumericFieldConfig< uint64_t > |
| | NumericFieldConfig for uint64_t values. More...
|
| struct | tachyon::NumericFieldConfig< uint32_t > |
| | NumericFieldConfig for uint32_t values. More...
|
| struct | tachyon::NumericFieldConfig< uint16_t > |
| | NumericFieldConfig for uint16_t values. More...
|
| struct | tachyon::NumericFieldConfig< uint8_t > |
| | NumericFieldConfig for uint8_t values. More...
|
| struct | tachyon::NumericFieldConfig< int64_t > |
| | NumericFieldConfig for int64_t values. More...
|
| struct | tachyon::NumericFieldConfig< int32_t > |
| | NumericFieldConfig for int32_t values. More...
|
| struct | tachyon::NumericFieldConfig< int16_t > |
| | NumericFieldConfig for int16_t values. More...
|
| struct | tachyon::NumericFieldConfig< int8_t > |
| | NumericFieldConfig for int8_t values. More...
|
| union | tachyon::NumericValue |
| class | tachyon::TextAtlasManager |
| class | tachyon::ITextValidator |
| | What an editable field takes as text, asked while it is edited. More...
|
| struct | tachyon::TextConverter< T > |
| | Turns a field's value into the text it shows and edits, and edited text back into a value. More...
|
| struct | tachyon::TextConverter< T > |
| struct | tachyon::FontFaceSource |
| | One face of a font family: a font file, or font data in memory that stays valid while the family is registered (embedded in the executable, say). More...
|
| struct | tachyon::IconMeasurement |
| struct | tachyon::TextMeasurement |
| struct | tachyon::TextWrapContext |
| struct | tachyon::LinkStyle |
| | Colors of a link run, normal and hovered. More...
|
| struct | tachyon::ContentRun |
| | One run of rich text: a piece of text or an inline icon. More...
|
| class | tachyon::ITextSystem |
| | Text and icon registration, measurement, rendering and editing. More...
|
| class | tachyon::SkribidiTextSystem |
| | Skribidi-based implementation of ITextSystem. More...
|
|
| int32_t | tachyon::HorizontalAlignOffset (TextAlign horizontalAlignment, int32_t boxWidth, int32_t contentWidth) |
| | X offset, in pixels, of contentWidth content aligned inside a boxWidth box.
|
| int32_t | tachyon::VerticalAlignOffset (TextAlign verticalAlignment, int32_t boxHeight, int32_t contentHeight) |
| IconTextPlacement | tachyon::ComputeIconTextPlacement (const IntRect &rect, int32_t textWidth, int32_t textHeight, const IconMeasurement &iconMeasurement, IconSide iconSide, int32_t iconTextGap, TextAlign horizontalAlignment, TextAlign verticalAlignment=TextAlign::Start) |
| int32_t | tachyon::IconAwareLayoutMaxWidth (int32_t rectWidth, const IconMeasurement &iconMeasurement, IconSide iconSide, int32_t iconTextGap, bool hasIcon) |
| | The max width to lay text out in: rectWidth minus the icon and gap for a Left / Right icon, so text-align can't reach into the icon area; rectWidth otherwise.
|
| std::string | tachyon::FormatNumber (NumericType type, const NumericValue &value) |
| | value as text; floats use up to 9 significant digits, NaN and infinities spelled out.
|
| bool | tachyon::ParseNumber (std::string_view text, NumericType type, NumericValue &outValue) |
| | The whole text as a number of type: in range and, for floats, finite.
|
| bool | tachyon::FilterNumberText (NumericType type, std::string &text) |
| | Strips what a number of type can't hold (letters, a second dot, ...).
|
| bool | tachyon::IsNumberCharacter (NumericType type, uint32_t codepoint) |
| | Whether codepoint can be typed into a number of type.
|
| template<typename T> |
| constexpr NumericType | tachyon::GetNumericType (const T &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const int8_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const int16_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const int32_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const int64_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const uint8_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const uint16_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const uint32_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const uint64_t &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const float &) |
| template<> |
| constexpr NumericType | tachyon::GetNumericType (const double &) |
| template<typename T> |
| NumericType | tachyon::CopyNumericTypeTo (const T &, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const int8_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const int16_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const int32_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const int64_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const uint8_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const uint16_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const uint32_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const uint64_t &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const float &src, NumericValue &dst) |
| template<> |
| NumericType | tachyon::CopyNumericTypeTo (const double &src, NumericValue &dst) |
| template<typename T> |
| bool | tachyon::CopyNumericTypeTo (NumericType, const NumericValue &, T &) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int8_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int16_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int32_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, int64_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint8_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint16_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint32_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, uint64_t &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, float &dst) |
| template<> |
| bool | tachyon::CopyNumericTypeTo (NumericType type, const NumericValue &src, double &dst) |
| template<typename T> |
| bool | tachyon::EqualsNumericType (NumericType, NumericValue &, const T &) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int8_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int16_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int32_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const int64_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint8_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint16_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint32_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const uint64_t &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const float &right) |
| template<> |
| bool | tachyon::EqualsNumericType (NumericType type, NumericValue &left, const double &right) |
| bool | tachyon::EqualsNumericType (NumericType leftType, NumericValue &left, NumericType rightType, const NumericValue &right) |
| template<typename T> |
| const TextConverter< T > & | tachyon::DefaultTextConverter () |
| | The converter a field uses for T when it is given none.
|
| uint32_t | tachyon::NextUtf8Codepoint (std::string_view text, size_t &i) |
| | The codepoint starting at text[i], with i moved past it.
|
| void | tachyon::AppendUtf8 (std::string &out, uint32_t codepoint) |
| std::string | tachyon::ToValidUtf8 (std::string_view text) |
| | Text with each malformed byte replaced by U+FFFD (the replacement character).
|
| size_t | tachyon::LastUtf8CodepointSize (std::string_view text) |
| | The byte length of text's last codepoint (0 when empty).
|
Shaping, fonts, text atlases, numeric text and the clipboard.