Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/madladsquad/untitledimguitextutils
A bunch of small utility functions to make marking down text in ImGui easier
https://github.com/madladsquad/untitledimguitextutils
cpp imgui utility utility-library
Last synced: about 1 month ago
JSON representation
A bunch of small utility functions to make marking down text in ImGui easier
- Host: GitHub
- URL: https://github.com/madladsquad/untitledimguitextutils
- Owner: MadLadSquad
- License: mit
- Created: 2023-01-07T11:34:04.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T10:48:47.000Z (2 months ago)
- Last Synced: 2024-10-28T03:17:16.986Z (2 months ago)
- Topics: cpp, imgui, utility, utility-library
- Language: C++
- Homepage: https://madladsquad.com/
- Size: 125 KB
- Stars: 18
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# UntitledImGuiTextUtils
[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)
[![trello](https://img.shields.io/badge/Trello-UDE-blue])](https://trello.com/b/HmfuRY2K/untitleddesktop)
[![Discord](https://img.shields.io/discord/717037253292982315.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/4wgH8ZE)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](https://github.com/MadLadSquad/UntitledImGuiTextUtils/wiki).## Showcase
### Easy typeface rendering
Rendering Normal, Bold, Italic, BoldItalic and Monospace text all in 5 lines of code:![image](https://github.com/MadLadSquad/UntitledImGuiTextUtils/assets/40400590/bfe53f8d-5803-48c4-93f7-cca3e7d5ecd4)
### Underline, strikethrough, links and text highlighting
Rendering Underline, Strikethrough, Link and highlighted text with and without word wrapping, all with configurable colours:![image](https://github.com/MadLadSquad/UntitledImGuiTextUtils/assets/40400590/5b68c98f-d83e-4adc-b48e-5e16c3fb9e42)
### Blockquotes
Blockquotes, with an additional function to render only the rectangle to enable for nesting:![image](https://github.com/MadLadSquad/UntitledImGuiTextUtils/assets/40400590/1ba16928-bc66-4ee5-9016-1162462a45b9)
### Code blocks
Code blocks with monospaced text and custom background:![image](https://github.com/MadLadSquad/UntitledImGuiTextUtils/assets/40400590/6c6773b5-0596-4919-b6e6-194c20759ab5)
### Inline code
Inline code with monospaced text and custom background:![image](https://github.com/MadLadSquad/UntitledImGuiTextUtils/assets/40400590/1bbe635b-0d0c-4a26-bbe8-e5e5ec24444b)
### Ruby annotations
Ruby annotations for use with logographic writing systems like Hanzi(Only `Kanji` is ruby text in this example):![image](https://github.com/MadLadSquad/UntitledImGuiTextUtils/assets/40400590/33c76da7-6881-4366-8eb4-6fd34b50dba5)
### Subscripts and superscripts
Subscript and superscript text rendered in 1 function call, both starting from the same X position:![image](https://github.com/MadLadSquad/UntitledImGuiTextUtils/assets/40400590/ae576a01-e00a-47db-90be-671469a90aef)