63 Commits

Author SHA1 Message Date
Jack Mac
24ad9d526c reworked the combo box to be less annoying 2022-02-21 20:44:33 -05:00
Jack Mac
4bb300e393 color edits 2022-02-21 18:05:49 -05:00
Jack Mac
f334bfb106 init 2022-02-21 18:05:49 -05:00
dbr
69fb34f0f8 Fix up running of begin_combo doctest 2022-02-10 11:07:04 +11:00
dbr
6dfa0a9533 More docs around combo methods
Add example to begin_combo doc
2022-02-10 10:23:43 +11:00
Gabe Weiner
d05827258f refactored Slider to match the new Ui based architecture 2022-01-28 12:00:47 -05:00
Jack OntheGoMac
92f94510c6 Fix cargofmt 2021-12-23 13:09:31 -08:00
Jack OntheGoMac
5cecf3f82c fix doc warnings 2021-12-23 13:04:55 -08:00
Shirayama Kazatsuyu
c2dfef0f4b Remove NO_ALPHA flag insertion in ColorPicker4::build 2021-12-03 23:20:23 +09:00
dbr
c4d7bc6c98 No -f32::MIN 2021-11-27 12:04:38 +11:00
dbr
2ac1a56ec5 Update slider example #565
Full range of slider is half the ::MIN/MAX for f32/f64
2021-11-16 12:59:37 +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
Jack Mac
01424da04d added ui.selectable 2021-10-19 18:09:17 -04:00
Jack Mac
2eebba5662 updates tree node widgets 2021-10-19 11:44:01 -04:00
Jack Mac
da5c75d509 added debug impl for tree node token. 2021-10-15 16:35:29 -04:00
Jack Mac
6cabe8d97a accidentally disabled all menu items by default, that's my bad 2021-10-15 16:34:15 -04:00
Jack Mac
88a352f76b finishing this pr 2021-10-13 12:52:19 -04:00
Jack Mac
311a31d74c menu rewrite 2021-10-13 12:52:19 -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
bda3319d21 fixed examples 2021-09-30 19:01:47 -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
635cbfd01d added more bounds. wow this is gonna take awhile 2021-09-30 18:58:38 -04:00
Malik Olivier Boussejra
49702e0a68 fix typo in Ui::button documentation 2021-09-23 13:51:39 +09: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
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 Mac
fc708f4950 unbroke a change, fixing combo box 2021-09-13 17:12:27 -04:00
Jack Mac
759bfa5d88 fmt!!! 2021-09-13 17:12:27 -04:00
Jack Mac
611f46a71d fixed up deadlinks 2021-09-13 17:12:27 -04:00
Jack Mac
8642508f6a fixed doc issues 2021-09-13 17:12:27 -04:00
Jack Mac
f635fd6438 fixed examples, removing warnings (i think) 2021-09-13 17:12:27 -04:00
Jack Mac
2a547f2a66 updated changelog to ignore combobox message.
also removed the previous notion that some things required &str -- we figured out how to not need that
2021-09-13 17:12:24 -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
fc49af214a removed imstr from the tree 2021-09-13 17:12:00 -04:00
Jack Spira
5143968429 updating more widgets. Wow this is boring! 2021-09-13 17:12:00 -04:00
Jack Spira
d490093dae finished menu 2021-09-13 17:11:52 -04:00
Jack Spira
540aa5f292 converted combo_box and drag 2021-09-13 17:11:32 -04:00
Jack Spira
08d285d029 added more bounds, somewhat chaotically 2021-09-13 17:10:43 -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 Spira
805f5e93e7 updated doc comments to fix intra-doc breakages 2021-09-08 10:36:32 -07:00
Jack Spira
af9fc52bca closes #332 and #481 2021-09-05 14:56:21 -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
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