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

UI cleanup and changes to ImGuiHelpers #2147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Infiziert90
Copy link
Contributor

@Infiziert90 Infiziert90 commented Dec 17, 2024

  • Removes most uses of formatted imgui function

ImGuiHelpers Class:

  • Changes the existing SafeTextWrapped implementation from .Replace() to what ImGui does internally
  • Adds two new "Safe" function SafeTextDisabled and SafeTextColored

- Change existing safe function
- Add new safe function
@Infiziert90 Infiziert90 changed the title - Remove formatted imgui function usage UI cleanup and changes to ImGuiHelpers Dec 17, 2024
@Infiziert90 Infiziert90 marked this pull request as ready for review December 17, 2024 13:31
@Infiziert90 Infiziert90 requested a review from a team as a code owner December 17, 2024 13:31
@KazWolfe
Copy link
Member

Yet another argument for just forking ImGui.NET and locking our API surface to *Unformatted only.

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