UntitledImGuiTextUtils
A bunch of small utility functions to make marking down text in ImGui easier
Install / Use
/learn @MadLadSquad/UntitledImGuiTextUtilsREADME
UntitledImGuiTextUtils
A bunch of small utility functions to make marking down text in ImGui easier. We have the following rendering features:
- [x] Bold
- [x] Italic
- [x] Bold Italic
- [x] Monospace
- [x] Small
- [x] Link
- [x] Underline
- [x] Strikethrough
- [x] Blockquote
- [x] Code blocks
- [x] Inline code
- [x] Subscript
- [x] Superscript
- [x] Highlighted text
- [x] Ruby text
Learning
All information can be found on the wiki.
Showcase
Easy typeface rendering
Rendering Normal, Bold, Italic, BoldItalic and Monospace text all in 5 lines of code:
Underline, strikethrough, links and text highlighting
Rendering Underline, Strikethrough, Link and highlighted text with and without word wrapping, all with configurable colours:
Blockquotes
Blockquotes, with an additional function to render only the rectangle to enable for nesting:
Code blocks
Code blocks with monospaced text and custom background:
Inline code
Inline code with monospaced text and custom background:
Ruby annotations
Ruby annotations for use with logographic writing systems like Hanzi(Only Kanji is ruby text in this example):
Subscripts and superscripts
Subscript and superscript text rendered in 1 function call, both starting from the same X position:
