308 Commits

Author SHA1 Message Date
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
2980dc01b5 Set CIMGUI_FREETYPE define 2023-01-01 17:34:31 +10:30
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
dbr
6d6cda275c Add docs links to Cargo.toml
So docs link shows up nicely on crates.io
2022-11-30 10:31:02 +10:30
dbr
9776ebef90 Remove authors key from Cargo.toml
The field is now optional (as of Rust 1.53) and no longer used by crates.io (as per Rust RFC 3052)
2022-11-30 10:15:38 +10:30
dbr
2eb3f8c337 Bump to 0.9.0! 2022-11-30 10:10:19 +10:30
dbr
c017353ece Include imgui/misc/freetype/ in crate package
Required for "--features freetype" to work when using via crates.io

Closes #594
Closes #589
2022-10-05 13:04:37 +10:30
dbr/Ben
f523dd2501
Merge pull request #600 from dbr/imgui186
Upgrade Dear ImGui 1.84.2 -> 1.86
2022-01-17 23:18:51 +11:00
dbr
680d92341c Tidy 2022-01-11 18:12:28 +11:00
dbr
dac88186a1 Run bindgen 2022-01-11 15:17:40 +11:00
dbr
d77e5dadfa Rerun cimgui 2022-01-11 15:17:16 +11:00
dbr
6dd4517359 Update imgui to 1.86
Also script file-copy procedure
2022-01-11 15:15:31 +11:00
dbr
9128066f01 Fix up glob patterns in imgui-sys
Were set based on old pre-docking-branch-support paths

Closes #596
2022-01-05 14:47:41 +11:00
dbr
8a6d321b36 Booleano 2021-11-10 20:48:22 +11:00
dbr
e1ac6ac204 Fix unused 'use' 2021-11-02 16:02:11 +11:00
dbr
bb19f938e2 fmt 2021-11-02 15:03:19 +11:00
dbr
e565d3dbfe Restore $DEP_IMGUI_THIRD_PARTY 2021-11-02 14:35:27 +11:00
dbr
4a03702908 Use CARGO_FEATURE_x instead of #[cfg(...)]
Avoids unnecessary rebuilds of build script.

Also a few somewhat unrelated tidy-ups
2021-11-02 14:24:32 +11:00
dbr
a350e8dcd8 fmt 2021-10-27 23:26:46 +11:00
dbr
291b7a5b47 Misc fixes
Mainly changes from newer bindgen
2021-10-27 21:06:46 +11:00
dbr
b1150d6c3b Simpler ingesting of imgui: copy files into folder
Also rerun bindgen
2021-10-27 19:25:39 +11:00
dbr
08b778524d Changes to build system to accomodate docking 2021-10-27 19:10:37 +11:00
dbr
86fa5913cd Remove imgui submodule 2021-10-27 18:32:53 +11:00
Jack Mac
1d78d18d82 updating license copyright data 2021-10-06 12:06:23 -04:00
Jack Mac
f743fefe79 aaand examples compile. complex trait bounds there... 2021-09-30 18:58:38 -04:00
Jack Mac
8b22856090 OKAY and this is mostly done 2021-09-30 18:58:38 -04:00
Jack Mac
b23e0483ae init effort 2021-09-30 18:58:38 -04:00
Jack Mac
a6b61be583 incremented remaining crates to a pre-release version 2021-09-17 15:40:06 -04:00
Jack Mac
4809d031b7 issuing version update! 2021-09-17 12:37:53 -04:00
dbr
6007bc5a4b Update imgui to 1.84.2 #512
Changes required:
- Overloaded methods named slightly differently (e.g sys::igPlotHistogramFloatPtr to sys::igPlotHistogram_FloatPtr)
- ImGuiNavInput_KeyMenu_ was removed upstream, so NavInput::INTERNAL_COUNT needed tweaked
2021-09-14 11:17:55 +10:00
Jack Spira
5802931a88 did some work and began converting modules over 2021-09-13 17:10:43 -04:00
dbr
4882a1f29d Fix enabling of freetype feature 2021-09-09 12:12:43 +10:00
dbr
7808164911 Fix clippy 2021-09-09 12:12:43 +10:00
dbr
c4fbfdd43e fmt 2021-09-09 12:12:43 +10:00
dbr
a36fb757fd Use #[cfg(feature=...)] instead of env-var 2021-09-09 12:12:43 +10:00
dbr
fca87575fd Add freetype feature
Uses the upstream "imgui_freetype" to "Build font atlases using FreeType instead of stb_truetype (which is the default font rasterizer)"

Closes #359
2021-09-09 12:12:43 +10:00
Benedikt Mandelkow
794ece8956 rename VERSION file to help compilers see that its not a cpp header 2021-06-24 02:29:28 -07:00
Thom Chiovoloni
918f79780d Include LICENSE and README files where relevant 2021-06-07 17:35:46 -07:00
Thom Chiovoloni
083139e4e6 Enable -DIMGUI_USE_WCHAR32 for imgui-sys 2021-04-06 00:34:57 -07:00
Thom Chiovoloni
de5496d390 rerun bindgen 2021-04-04 16:45:32 -07:00
Thom Chiovoloni
163244cc1a regen cimgui 2021-04-04 16:40:29 -07:00
Thom Chiovoloni
8cc4f353d3 bump dear imgui to v1.82 2021-04-04 16:39:39 -07:00
dbr
4f15805015 Re-do update to 1.81 with old submodule setup
Update docs to match
2021-03-05 11:58:25 +11:00
dbr
432d4b94ec Revert "Simplify (maybe) the imgui submodules"
This reverts commit 2839f76cecb0b5bfc837857d797f090f970c08c5.

# Conflicts:
#	imgui-sys/third-party/cimgui
2021-03-05 11:35:34 +11:00
dbr
142490040f Move upgrading imgui docs to new docs subdir
Add a basic README for imgui-sys for display on crates.io etc
2021-03-05 11:28:10 +11:00
dbr
90c2178366 Note on building against a non-tagged imgui release 2021-03-03 17:02:13 +11:00