1752 Commits

Author SHA1 Message Date
dbr
57267d5a4f Bunch more comments in sdl2 example 2023-01-10 11:58:16 +10:30
dbr
904d2a072f Update key handling to be event-based 2023-01-10 11:54:36 +10:30
Robin Quint
07fc930ab9
Merge branch 'imgui-rs:main' into main 2023-01-09 12:04:31 +01:00
dbr
09a83bac6c Update mouse wheel event 2023-01-09 20:16:25 +10:30
dbr
2ce985996a Use event based IO for sdl2 mouse buttons 2023-01-09 20:06:58 +10:30
dbr
0184913560 Simple doc showing status of all crates
May make sense to merge this into main README
2023-01-09 19:45:03 +10:30
dbr
7dfa919317 Update changelog 2023-01-09 19:44:15 +10:30
dbr
50337fb9b0 Update imgui version in readme badge
Also note it in update process
2023-01-09 19:26:06 +10:30
dbr/Ben
52a44edbbb
Merge pull request #692 from dbr/examples-reorg
Reorganization of examples
2023-01-09 19:20:41 +10:30
dbr/Ben
942f04d3b1
Merge pull request #688 from Rob2309/imgui-event-io
Update ImGui and use event-based io
2023-01-09 19:08:09 +10:30
dbr/Ben
c7f8948772
Merge pull request #693 from Ararem/DataTypeKind-for-size-types
Implement DataTypeKind for `usize` and `isize`
2023-01-05 12:08:56 +10:30
dbr
84dd23a959 Linkify imgui-examples also 2023-01-05 12:05:10 +10:30
dbr
e8cb3897d0 Fix Markdown syntax error 2023-01-05 12:01:40 +10:30
dbr
fb6aa53235 Linkify crate names 2023-01-05 12:00:38 +10:30
dbr
81f8e0b48a fmt 2023-01-05 10:41:03 +10:30
dbr
2a5ffdfc3f More rewording 2023-01-05 10:28:59 +10:30
ararem
9b614eaae3 Implement DataTypeKind for usize and isize
This allows direct use of the size types in `imgui-rs` functions, like `Slider`s. Previously, they had to be cast, passed in, then cast back. This change allows for direct use (no casts necessary)
2023-01-04 13:00:42 +01:00
dbr
e96b2f1a04 Tweak wording about imgui-examples 2023-01-04 19:11:54 +10:30
dbr
6d08cb502c Tweak wording to make it clearer(?) there are other renderers 2023-01-04 19:07:01 +10:30
dbr
34453a9081 Placeholder for imgui-winit-support
A standalone example would either be missing a renderer (of minimal usefulness), or an exact duplicate of the linked examples
2023-01-04 19:05:15 +10:30
dbr
38f11442c9 Self-contained example for glutin [#691] 2023-01-04 19:00:56 +10:30
dbr
ba9cb7f052 Update features section 2023-01-04 18:31:40 +10:30
dbr
df7ccae78c [#691] Update "main library crates" doc
- sdl2 wasn't mentioned
- mention examples folder (..pending for a few of the crates)
- mention the imgui-examples folder
2023-01-04 18:31:30 +10:30
dbr
a5f40a5fe0 Fix clippy complaint 2023-01-04 17:01:15 +10:30
dbr
f60edd25cf fmt 2023-01-04 16:57:25 +10:30
dbr
af898e7358 Fix exclude of .crate file
Glob pattern no longer matched anything, including the intermediate cimgui files unnecessarily
2023-01-04 15:47:24 +10:30
dbr
d9e2e65758 Fix docking+freetype bindings
Was missing required flag to cimgui generator
2023-01-04 15:46:48 +10:30
dbr
7ad609090f Mess to add freetype-specific bindgen
There are now a few freetype-specific functions in the API so we need seperate bindgen output for it

Duplicates the imgui code somewhat unnecessarily, but shouldn't impact repo size much due to git's compression
2023-01-04 15:35:07 +10:30
dbr
f3e7958eb8 Use flag_if_supported instead of cpp_link_stdlib 2023-01-02 12:07:28 +10:30
dbr
e5d3490ce5 Explicitly link c++11 stdlib
May help with macOS builds
2023-01-02 11:49:57 +10:30
dbr
71a2dbd066 Ignore clippy warning
In this case we are intentionally returning different struct for backwards-compat
2023-01-01 17:52:24 +10:30
dbr
2980dc01b5 Set CIMGUI_FREETYPE define 2023-01-01 17:34:31 +10:30
dbr
b70981531e fmt 2023-01-01 17:34:31 +10:30
Robin Quint
382cb74daa Added more fine-grained errors 2022-12-29 14:20:07 +01:00
Robin Quint
9a48b78acd Added basic cursor support 2022-12-29 14:07:26 +01:00
Robin
37a800c33c Added documentation to io test, added fallback implementation for ImageButton 2022-12-28 12:31:31 +01:00
Robin Quint
183830a1fb Merge branch 'main' of github.com:rob2309/imgui-rs 2022-12-23 11:27:28 +01:00
Robin Quint
5d2e71ee55 Fixed moving viewports messing up graphics 2022-12-23 11:26:36 +01:00
Robin Quint
a8e2fb4fb4 Added new flags to ItemHoveredFlags, added documentation to new pub members of io 2022-12-22 15:41:27 +01:00
Robin Quint
1a1ea098c1 cargo fmt 2022-12-22 15:10:09 +01:00
Robin Quint
70b865a001 Added workaround for io tests 2022-12-22 15:09:23 +01:00
Robin Quint
bd3d59ce62 winit-support now uses event-io for everything 2022-12-22 15:04:58 +01:00
Robin Quint
f430041018 Fixed crash on window docking on linux 2022-12-22 14:44:26 +01:00
Robin
0cb64e8b59 Fixed build errors with docking feature 2022-12-21 21:21:57 +01:00
Robin
2d9efba59b Added full keymap to winit backend, fixed keyboard example 2022-12-21 20:18:16 +01:00
Robin
070f56f1d1 Removed explicit version from shaders and not using new glsl features 2022-12-21 19:44:45 +01:00
Robin Quint
e51af80da7 upgraded imgui to 1.89.1, changed winit-support to use new event io 2022-12-21 15:14:31 +01:00
Robin
41e9d973f4 Implemented basic viewports renderer 2022-12-20 13:32:26 +01:00
Robin
1d88eceb16 Removed viewports code from imgui-winit-support 2022-12-20 13:32:15 +01:00
Robin
e3bdcffee0 Fixed bug in platform_io 2022-12-20 13:30:45 +01:00