92 Commits

Author SHA1 Message Date
Jack Spira
fd5d6b2d9f added the callbacks for multiline input 2021-09-07 15:04:29 -07:00
Jack Spira
1a2a7d1473 looking good feeling good 2021-09-07 15:04:29 -07:00
Jack Spira
d6069b976a think of the widgets! 2021-09-07 15:04:29 -07:00
Jack Spira
f6d9d1b77d added safety guide 2021-09-07 15:04:29 -07:00
Jack Spira
9b27edf440 working on some tests. this commit is broken 2021-09-07 15:04:29 -07:00
Jack Spira
71a0f73034 initial commit 2021-09-07 15:04:29 -07:00
Jack Spira
af9fc52bca closes #332 and #481 2021-09-05 14:56:21 -07:00
dbr
28e66b833c fmt 2021-09-05 11:55:13 -07:00
dbr
5317eae5ec Also re-export InputTextFlags 2021-09-05 11:55:12 -07:00
dbr
1d9539754b Re-export imgui::widget::misc to expose ButtonFlags
Required to use ui.invisible_button_flags(...)
2021-09-05 11:55:12 -07:00
Jack Spira
9852501635 updated sliders docs 2021-09-05 11:23:31 -07:00
Jack Spira
7b644bf159 init draft 2021-09-04 19:26:20 -07:00
Jonathan Spira
8b899381f3
Merge pull request #491 from dbr/sliderdoc
Add example to Slider.range() doc
2021-09-02 18:11:49 -04:00
Jonathan Spira
bf49265406
Merge pull request #475 from cfrantz/fix-selectable
Combobox: Focus the selected item.
2021-09-02 18:01:50 -04:00
Jack Mac
257345a53f Updating small clippy errors and adding debug derive to style 2021-09-02 17:44:00 -04:00
Thom Chiovoloni
5e7c596671 Shush, clippy 2021-06-24 02:21:38 -07:00
Thom Chiovoloni
918f79780d Include LICENSE and README files where relevant 2021-06-07 17:35:46 -07:00
dbr
505f2be023 Fix up doc tests 2021-06-02 14:07:30 +10:00
dbr
ebb81c433a Add example to Slider.range() 2021-06-02 13:40:06 +10:00
Chris Frantz
801c9109a4 Focus the selected item. 2021-04-17 07:51:34 -07:00
Thom Chiovoloni
b739b9380b Update non-sys code to handle 32-bit characters 2021-04-06 00:34:57 -07:00
Thom Chiovoloni
cb918fc652 Update Dear Imgui to v1.82 2021-04-04 17:29:16 -07:00
Thom Chiovoloni
c68e29f0ae
Merge pull request #463 from dbr/key-by-index 2021-04-03 12:29:02 -07:00
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
AngelOfSol
42ab8ae591 Modifies build functions to allow returning data from the build
closures.
2021-03-26 01:14:08 -04:00
dbr
879b9d35af Add back "_index" versions of all the keyboard related methods
Allows accessing the state of any key defined by the IO backend, not just those neatly listed in imgui::Key

Closes #455
2021-03-09 19:53:14 +11: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
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
Jonathan Spira
8c328001d0 Added ext function variants to the majority of overloaded functions in ImGui 2021-03-04 10:58:30 -08: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
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
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
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
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