1762 Commits

Author SHA1 Message Date
54c61a525c fix: add monitor initialization workaround for viewport support
Provides a workaround for missing monitor initialization in platform
backends like imgui-winit-support. Without proper monitor initialization,
Dear ImGui throws "Platform init didn't setup Monitors list?" assertion.

- Add monitor_init_fix module with initialization utilities
- Support single and multi-monitor configurations
- Add unit tests and examples
- Document workaround usage

Co-Authored-By: Elias Stepanik <eliasstepanik@proton.me>
2025-07-10 12:27:37 +02:00
57ae256f37 fix: viewport window creation callbacks not triggered
Identified and implemented workaround for viewport callbacks not being
triggered when windows are dragged outside the main window.

Root cause: ConfigFlags::VIEWPORTS_ENABLE is reset after first render()
call due to an issue in the imgui-rs bindings or Dear ImGui itself.

Workaround: Re-apply the viewport flag before each new_frame() call
using viewport_issue_fix::apply_viewport_fix().

Added:
- viewport_issue_fix module with apply_viewport_fix() function
- Debug and solution examples demonstrating the issue and fix
- Integration tests for the workaround
- Comprehensive documentation of findings in VIEWPORT_FIX_SUMMARY.md

This is a temporary workaround until the root cause is fixed in
imgui-rs or the Dear ImGui library.

Co-Authored-By: Elias Stepanik <eliasstepanik@proton.me>
2025-07-10 11:19:10 +02:00
7fba64ceab Added multi viewport support 2025-07-10 10:09:55 +02:00
Melaton
8fba808a9a fix: incorrect semicolon 2025-02-05 11:19:08 -05:00
dbr
23e08485a3 Update actions/cache 2025-01-21 08:24:42 -05:00
Jonathan Spira
e78f50512f bumping changelog 2025-01-19 12:29:30 -05:00
Jonathan Spira
763b34eaa2 fixed incorrect mod handling 2025-01-19 12:29:30 -05:00
Jonathan Spira
2707fd84b7 fixed the cargo doc warnings 2025-01-19 11:48:40 -05:00
Jonathan Spira
4c872b1466 fixes a chunk of clippy lints 2025-01-19 11:48:40 -05:00
Jonathan Spira
c681d7d067 adding freetype2 i think 2025-01-19 11:34:52 -05:00
Jonathan Spira
10eac13b88 bump msrv to 1.82 2025-01-19 11:34:52 -05:00
Paulo Santana
38f6f32280 use dummy contexts instead of Option 2025-01-19 11:07:10 -05:00
Paulo Santana
c3dab791b9 Revert "delete unused code for dummy platform and renderer backends"
This reverts commit d616a13047e0f138e92fa582202f06d7dc3d5397.
2025-01-19 11:07:10 -05:00
Paulo Santana
ec123482c0 turn global contexts into thread locals 2025-01-19 11:07:10 -05:00
Paulo Santana
5cfd7fe182 delete unused code for dummy platform and renderer backends 2025-01-19 11:07:10 -05:00
Paulo Santana
286562a9b9 delete context storage for backends 2025-01-19 11:07:10 -05:00
Paulo Santana
184b86d355 move platform and renderer backends out of Dear Imgui
Store the objects containing the callback methods for multi viewport
support in two globals that are managed by imgui-rs, instead of using
BackendPlatformUserdata and BackendRendererUserData

fixes #820
2025-01-19 11:07:10 -05:00
Lokathor
150ede3b4e update wasm, docking, freetype, and docking freetype bindings. 2024-12-30 16:15:08 -08:00
Lokathor
4d56a476b6 delete use of the chlorine crate 2024-12-30 16:15:08 -08:00
t4ccer
8445334450 Change return type of column_user_id to Id
This matches the type of `TableColumnSetup.user_id`
2024-11-14 18:11:14 -05:00
Jonathan Spira
ec07713c5a over the finish line 2024-11-14 18:11:05 -05:00
jestarray
ad52a5bb0f fix add_focus_event doc comment 2024-11-14 18:11:05 -05:00
jestarray
36dd72e72d document add_focus_event 2024-11-14 18:11:05 -05:00
jestarray
a09b72049f add support for focus event 2024-11-14 18:11:05 -05:00
Gianluigi Pierini
2abba18c08 Fix broken reference in README.markdown 2024-10-30 14:36:59 -04:00
sk44rt
8140b3f0a8 remove Copy and Clone traits from TableColumnFlags 2024-10-18 14:25:37 -04:00
Roy Jacobs
91fdf45397 Return the dockspace ID from dockspace_over_main_viewport 2024-10-12 13:03:23 -04:00
sk44rt
beef13f54d add Copy and Clone traits for TableColumnSetup and TableColumnFlags 2024-10-12 13:02:40 -04:00
Jonathan Spira
bcac953a65 initial bindings 2024-10-08 10:37:42 -04:00
Jonathan Spira
08db03ac5a added a changelog 2024-10-03 17:02:51 -04:00
Jonathan Spira
a51a5624f0 fixed docking 2024-10-03 17:02:51 -04:00
Jonathan Spira
1de51b6230 Added style and color defaults 2024-10-03 17:02:51 -04:00
Jonathan Spira
464d867d42 accidentally made docking default 2024-10-03 13:28:48 -04:00
Jonathan Spira
79c237cf17 fixed methods not made public 2024-10-02 19:32:48 -04:00
Jonathan Spira
cf3c01bf0f fixes small formatting issue 2024-10-02 13:56:06 -04:00
Jonathan Spira
2360280b64 marked the platfrom io funcs as pub(crate) 2024-10-02 08:48:59 -04:00
Jonathan Spira
8f636f8057 returned the platform io func on the docking branch 2024-10-02 08:48:59 -04:00
Jonathan Spira
17986be68a some final renames, and the changelog 2024-10-02 08:48:59 -04:00
Jonathan Spira
a0f7659a71 remove test wasm binding 2024-10-02 08:48:59 -04:00
Jonathan Spira
2702390eb5 normal works without warning now 2024-10-02 08:48:59 -04:00
Jonathan Spira
44b8621d20 docking branch 2024-10-02 08:48:59 -04:00
Jonathan Spira
57d155301c fixed the tables api 2024-10-02 08:48:59 -04:00
Jonathan Spira
75d3f4b2fd initial master branch impl 2024-10-02 08:48:59 -04:00
Jonathan Spira
1fbe6331f4 luajit 2024-10-02 08:48:59 -04:00
Jonathan Spira
34a01d1133 getting new cpp files 2024-10-02 08:48:59 -04:00
Jonathan Spira
8f0bbe3c03 no more step on int scalar, fixes 758 2024-10-02 00:26:27 -04:00
Jonathan Spira
42a7ce8ceb updating changelog 2024-10-01 21:24:36 -04:00
Jonathan Spira
2ae1afa15b adding a new readme 2024-09-29 21:35:04 -04:00
Jonathan Spira
bdf2ebea20 moved markdown to md, because it's bothered me for years 2024-09-29 21:35:04 -04:00
Jonathan Spira
87eb08be42 removed resources folder, as we don't use it anymore 2024-09-29 21:35:04 -04:00