Skip to content

Comments

Refactor MainWindow UI and improve text insertion handling#9

Merged
Joe1sn merged 1 commit intomainfrom
imgui-docking
Jan 16, 2026
Merged

Refactor MainWindow UI and improve text insertion handling#9
Joe1sn merged 1 commit intomainfrom
imgui-docking

Conversation

@Joe1sn
Copy link
Owner

@Joe1sn Joe1sn commented Jan 16, 2026

  • Updated setupUi function in MainWindow to return a boolean indicating success or failure.
  • Added a new inline variable mainwndOpen to control the visibility of the main window.
  • Enhanced the STB_TEXTEDIT_INSERTCHARS function to return the number of characters actually inserted, allowing for partial insertions.
  • Modified the main application entry point to remove command line parsing and focus on GUI initialization.
  • Improved the rendering loop to handle additional platform windows when using ImGui's viewport feature.
  • Cleaned up code formatting and comments for better readability and maintainability.

- Updated `setupUi` function in MainWindow to return a boolean indicating success or failure.
- Added a new inline variable `mainwndOpen` to control the visibility of the main window.
- Enhanced the `STB_TEXTEDIT_INSERTCHARS` function to return the number of characters actually inserted, allowing for partial insertions.
- Modified the main application entry point to remove command line parsing and focus on GUI initialization.
- Improved the rendering loop to handle additional platform windows when using ImGui's viewport feature.
- Cleaned up code formatting and comments for better readability and maintainability.
@Joe1sn Joe1sn merged commit 6bab97f into main Jan 16, 2026
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.

1 participant