Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SeString renderer #1977

Merged
merged 1 commit into from
Jul 28, 2024
Merged

Conversation

Soreepeong
Copy link
Contributor

Does not have contextual evaluation. Only styling payloads are handled for (relative) simplicity.

image

Usage:

ImGuiHelpers.SeStringWrapped("sestring here actually"u8);
ImGuiHelpers.CompileSeStringWrapped("<colortype(500)>macro here<colortype(0)>")

@Soreepeong Soreepeong requested a review from a team as a code owner July 26, 2024 13:47
@Soreepeong Soreepeong marked this pull request as draft July 27, 2024 10:05
@Soreepeong Soreepeong force-pushed the feature/drawsestring branch from c896384 to 02c2e60 Compare July 27, 2024 14:05
@Soreepeong Soreepeong marked this pull request as ready for review July 27, 2024 14:06
@Soreepeong Soreepeong marked this pull request as draft July 27, 2024 14:07
@Soreepeong Soreepeong marked this pull request as ready for review July 27, 2024 14:08
@Soreepeong
Copy link
Contributor Author

Implemented Unicode line breaking algorithm. Most of line additions are from adding .txt files downloaded from unicode.org as EmbeddedResource.

@Soreepeong Soreepeong force-pushed the feature/drawsestring branch 6 times, most recently from b388338 to 9b91288 Compare July 28, 2024 11:15
@Soreepeong Soreepeong force-pushed the feature/drawsestring branch from 9b91288 to d2842db Compare July 28, 2024 11:19
@goaaats goaaats merged commit 844b04f into goatcorp:master Jul 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants