Skip to content

Conversation

@ocornut
Copy link
Contributor

@ocornut ocornut commented Nov 24, 2025

Hello,

I realize this project is unmaintained, I am taking the chance that you may trust my input to merge this PR blindly.
If you want to share edit access I would likely merge this myself and anything that would prevent using the library of future version of Dear ImGui.

  • GetKeyIndex() was marked obsolete in 1.87 (february 2022) and definitively removed in 1.91.5 (nov 2024). The indirection is unnecessary.
  • PushAllowKeyboardFocus() was marked obsolete in 1.89.4 (march 2023) and definitively removed in 1.92.0 (june 20250.
  • Also fixed three minor warnings that triggers in vs2022 + removed an unnecessary define.

The first commit should be the same as #161 / #164 / #159 / #158 which I noticed afterwards.

- warning C4800: 'int': forcing value to bool 'true' or 'false' (performance warning)
- IMGUI_DEFINE_MATH_OPERATORS is not needed by the lib.
…owKeyboardFocus()/PopAllowKeyboardFocus().

Require imgui 1.89.4 (2023-03).
@BalazsJako
Copy link
Owner

Hi Omar, yes, I did not have the chance to touch it in a while for various reasons. But I will accept this one just to keep it alive. Many thanks for this. :)

@BalazsJako BalazsJako merged commit ca2f9f1 into BalazsJako:master Nov 24, 2025
1 check 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