1102 Commits

Author SHA1 Message Date
Jonathan Spira
326ebbc164 fixed bad doc aliases
some in misc were labeled just "doc" instead of "doc(alias".
2021-04-03 10:55:37 -07:00
Jonathan Spira
80ae0bd7ed
Merge pull request #468 from AngelOfSol/feature/build-return
Modifies build functions to allow returning data from the build closures. Thanks @AngelOfSol !
2021-04-03 10:04:08 -07:00
AngelOfSol
42ab8ae591 Modifies build functions to allow returning data from the build
closures.
2021-03-26 01:14:08 -04:00
Thom Chiovoloni
97d5dc8502
Merge pull request #464 from thomcc/better-xtask
Improvements to our `xtask`s
2021-03-12 19:55:16 -08:00
Thom Chiovoloni
00982451f8 Improved xtask 2021-03-12 18:12:56 -08:00
Jonathan Spira
22eac761d3
Merge pull request #445 from dbr/drawimage
Add `DrawListMut::add_image` etc
2021-03-08 17:39:32 -08:00
dbr
107133c799 Fix functional conflicts
- `ui.same_line()` no longer needs the default value specified \o/
- Doctests now actually being run, need to mark a code block as not-Rust
2021-03-09 10:37:32 +11:00
dbr/Ben
965dd87892
Merge branch 'master' into drawimage 2021-03-09 10:27:23 +11:00
Thom Chiovoloni
d0e2be1678
Merge pull request #457 from dbr/imgui-v1.81 2021-03-06 15:49:11 -08:00
Thom Chiovoloni
1c5d8c368c Actually run doctests in CI, fix failing ones 2021-03-06 07:10:48 -08:00
dbr
b06a7c3f92 Changelog entry 2021-03-05 20:18:33 +11:00
Jonathan Spira
955bbf214e
Merge pull request #458 from toyboot4e/doc_alias_for_imgui
Add doc aliases with ImGUI function names -- thank you @toyboot4e
2021-03-04 22:57:18 -08:00
toyboot4e
9b90f0e9d0 Add doc aliases 2021-03-05 14:00:06 +09:00
dbr
0b5054e939 Remove some Nil suffixes
Seems like these are present in the pre-generated bindings but not if calling the generator directly..? Have not looked into closely as to why
2021-03-05 12:06:26 +11: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
Jonathan Spira
26f3a68924
Merge pull request #452 from sanbox-irl/simpler-defaults
Added extended variant functions to imgui, using `with_x` syntax.
2021-03-04 11:22:19 -08:00
Jonathan Spira
f67cee79d1 Added a changelog, and made breaking changes more obvious where they occur. 2021-03-04 11:07:55 -08:00
Jonathan Spira
8c328001d0 Added ext function variants to the majority of overloaded functions in ImGui 2021-03-04 10:58:30 -08:00
dbr
90c2178366 Note on building against a non-tagged imgui release 2021-03-03 17:02:13 +11:00
dbr
89e94c55c5 Documenting process to update imgui version 2021-03-03 16:51:39 +11:00
dbr
fbd5353648 Fix up some examples in docs 2021-03-03 15:36:58 +11:00
dbr
507d5d5065 Update to imgui 1.81
Changes:

- No more ListBox::calculate_size(...) as this was deprecated upstream
2021-03-03 15:36:28 +11:00
dbr
2839f76cec Simplify (maybe) the imgui submodules
Use cimgui which avoids the copy-files-into-our-repo step
2021-03-03 14:19:10 +11:00
Jonathan Spira
75fdec09d0
Merge pull request #440 from sanbox-irl/feat_permissive_dropping
permissive dropping
2021-02-28 21:54:57 -08:00
Jonathan Spira
6010a3dc25 readded changelog 2021-02-28 21:43:01 -08:00
Jonathan Spira
8ac6bc49ce accidentally broke examples 2021-02-28 21:29:06 -08:00
Jonathan Spira
91c8157205 oops inline 2021-02-28 21:29:06 -08:00
Jonathan Spira
468d6c8a33 removed my changelog 2021-02-28 21:29:06 -08:00
Jonathan Spira
7e666e8463 fixed up the examples 2021-02-28 21:29:06 -08:00
Jonathan Spira
0d995a6dfa Updated changelog and added scare message to the list_clipper. 2021-02-28 21:29:05 -08:00
Jonathan Spira
52b0da64a5 holy god, the suffering 2021-02-28 21:29:05 -08:00
dbr
e7001104dd Updated changelog for DrawListMut::add_image and legacy removal 2021-02-25 23:08:50 +11:00
dbr
6b735e9aab Somehow missed reverting the DrawList prefix from Triangle 2021-02-25 23:08:15 +11:00
dbr
d98e004454 cargo fmt 2021-02-25 21:04:40 +11:00
dbr/Ben
c104e7f104
Merge branch 'master' into drawimage 2021-02-25 13:35:17 +11:00
dbr
e334edaf6f Merge branch 'master' into drawimage 2021-02-25 13:32:38 +11:00
dbr
caf8c8d95a Fix doc link to imgui::Image
Unsure why but [`imgui::Image`] doesn't work while [`crate::Image`] does
2021-02-24 20:13:07 +11:00
dbr
a4f74624e1 Fix wording in imgui::draw_list docs 2021-02-24 20:07:05 +11:00
dbr
759ed18202 Remove DrawList prefix from widgets
The prefix makes things too cluttered and only helps in fairly specific circumstances
2021-02-24 20:06:36 +11:00
dbr
cb742c8a4d Additional cargo fmt 2021-02-20 20:21:50 +11:00
dbr
6bf75335ed cargo fmt 2021-02-20 20:21:26 +11:00
dbr
68867ea580 Basic doc onimgui::draw_list module 2021-02-20 20:19:55 +11:00
dbr
20864b53de Add "DrawList" prefix Line, Rect, Triangle, Circle, BezierCurve
Also make their constructers public

For consistency with newly added DrawListImage (which was ambiguous with the Image widget)
2021-02-20 20:03:13 +11:00
dbr
a90989db58 Make draw_list module public 2021-02-20 20:01:26 +11:00
dbr
1a55b4ae24 Add "DrawList" prefix to Image/ImageQuad/ImageRounded
Also make their constructions public just in case it leads to neater code in some circumstances
2021-02-20 20:00:53 +11:00
Lukasz Wiklendt
3d3097e222 add input_text hinting 2021-02-18 15:21:30 -08:00
dbr
b3a50e6928 Finally, remove legacy.rs
Any use of imgui::ImGuiTreeNodeFlags should be updated to imgui::TreeNodeFlags
2021-02-11 14:33:10 +11:00
dbr
f72e78ddf4 Also move ImGuiInputTextFlags out of legacy.rs as per #445
Becomes input_widget::InputTextFlags with Rust-style casing
2021-02-11 14:30:46 +11:00