40 Commits

Author SHA1 Message Date
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
Jonathan Spira
79c237cf17 fixed methods not made public 2024-10-02 19:32:48 -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
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
75d3f4b2fd initial master branch impl 2024-10-02 08:48:59 -04:00
Victor Mororó
8e3da3ba15 fix NewFrame doc alias 2024-09-27 01:36:23 -04:00
Jonathan Spira
50e166e84f clippy don't be so mad! 2023-09-14 23:03:46 -04:00
dbr
6cd80834e5 Missing 'mut' in unsafe{} comment 2023-01-30 17:00:11 +10:30
Robin Quint
768034a681 Added Documentation 2022-03-04 15:49:43 +01:00
Robin Quint
066d802979 Make sure imgui compiles with docking enabled and disabled 2022-03-04 13:09:59 +01:00
Robin Quint
acda14c7f1 Fixed initial window position 2022-03-02 10:42:39 +01:00
Robin Quint
daf039c098 WIP 2022-03-01 13:38:20 +01:00
Robin Quint
b6617b2c0e WIP 2022-03-01 10:23:59 +01:00
Robin Quint
1d7bcd33ad Fixed crashes 2022-03-01 08:08:53 +01:00
Robin Quint
3a9cf40de3 Implemented basic viewport support 2022-02-28 16:45:52 +01:00
Robin Quint
4b307a1bf7 Added basic Viewport structs and flags 2022-02-22 16:07:58 +01:00
Jack Mac
4a2d847b3a passing tests 2021-10-06 11:31:35 -04:00
Jack Mac
f00b5707c0 added mouse cursor state to the context 2021-10-03 18:26:22 -04:00
Jack Mac
5a98270944 added clone so i guess you can interact with it here... 2021-10-01 12:35:22 -04:00
Jack Mac
1f65184deb borked the lifetime, simplified here 2021-10-01 12:33:36 -04:00
Jack Mac
5bdd4f819c added end frame handle 2021-10-01 11:36:24 -04:00
Jack Mac
2a8374a339 removed ZST for Ui and changed shared font atlas to be based on UnsafeCell 2021-10-01 11:36:24 -04:00
Jack Mac
63267ddf56 better support for non-send-sync 2021-10-01 11:36:24 -04:00
Jack Mac
9b6f6c0fb8 fix tests 2021-10-01 11:36:24 -04:00
Jack Mac
41ab364384 and added the thorn in this method 2021-10-01 11:36:24 -04:00
Jack Mac
1d15196b5e removed the lifetime from the majority of the library 2021-10-01 11:36:22 -04:00
Jack Mac
191a346545 init significant changes 2021-10-01 11:28:36 -04:00
Jack Mac
50edf02d39 added deny(rust_2018_idioms)
we might as well be on 2018 if we're going to have to upgrade to 2021 in a few weeks!
2021-09-15 11:59:00 -04:00
Jack Mac
3eaee3359d imstr and imstring have been removed.
fixed some instability and added a hacky shim to input_text functions.
We're looking okay so far, but more testing will be needed
2021-09-13 17:12:00 -04:00
Jack Mac
694cd96d49 getting close! input_text resize is broken,
and i'll need to check the imgui docs example with std::string
to get a reference to how to do it properly.
2021-09-13 17:12:00 -04:00
Jack Spira
e0125f4c06 removed imstr and imstring from clipboard support 2021-09-13 17:12:00 -04:00
Jack Spira
5802931a88 did some work and began converting modules over 2021-09-13 17:10:43 -04:00
Jack Spira
52e08bd09a init effort 2021-09-13 17:10:43 -04:00
Jack Mac
257345a53f Updating small clippy errors and adding debug derive to style 2021-09-02 17:44:00 -04:00
toyboot4e
9b90f0e9d0 Add doc aliases 2021-03-05 14:00:06 +09:00
Thom Chiovoloni
0df089ab29 Move to virtual workspace 2020-12-06 09:32:21 -08:00