370 Commits

Author SHA1 Message Date
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
Jack Mac
b23e0483ae init effort 2021-09-30 18:58:38 -04:00
Jonathan Spira
7b9ce6bb1c
Merge pull request #537 from dbr/uiwindowredux
Window::new -> Ui::window attempt 2
2021-09-30 18:33:16 -04:00
Jack Mac
5cf67c22d4 the input widget may have had an incorrect text callback. this should fix that 2021-09-28 11:09:10 -04:00
Jack Mac
9417eb4c42 removed the other deprecation 2021-09-25 13:06:31 -04:00
Jack Mac
1082a29a37 removed push style color multiple, which was silly 2021-09-25 12:57:52 -04:00
Jack Mac
c68632d9e4 removed min const generics feature 2021-09-25 12:47:28 -04:00
dbr
82ad709167 fmt 2021-09-25 13:03:06 +10:00
dbr
db5953a10c Docs on push_id 2021-09-25 12:49:34 +10:00
dbr
7953c4858b More words in doc of imgui::Condition
Mainly to try and clarify difference between Once/FirstUseEver
2021-09-25 11:52:36 +10:00
dbr
0f7cb49865 Create windows via ui.window("title").build() [#454] 2021-09-25 11:41:53 +10:00
Malik Olivier Boussejra
210ca57ecb fix typo in color documentation
In 4f1cde06, `ImColor` was renamed to `ImColor32`.

The documentation in color.rs appears to be wrong, so we fix it.
2021-09-23 14:45:11 +09:00
Malik Olivier Boussejra
49702e0a68 fix typo in Ui::button documentation 2021-09-23 13:51:39 +09:00
Jonathan Spira
7660776bb3
Merge pull request #526 from lwiklendt/style_accessors 2021-09-21 19:42:23 -04:00
Lukasz Wiklendt
9cee827d23 Update Ui Style accessor function doc safety 2021-09-22 08:54:02 +09:30
Jack Mac
31cc4b3df0 switched to using usings 2021-09-21 12:46:17 -04:00
Lukasz Wiklendt
a0a04cdb91 Update Ui Style accessor function doc 2021-09-21 12:29:02 +09:30
Lukasz Wiklendt
cb3d9c3609 Swap multiple Style accessor functions from Ui for a single unsafe Style accessor 2021-09-21 12:01:16 +09:30
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
Jack Mac
d4da98e0a1 decided to feature gate the tables API 2021-09-17 10:56:55 -04:00
Mathias Tervo
7397f26d67 Remove noisy println statements 2021-09-17 08:40:56 +02:00
Lukasz Wiklendt
b86e54ffe9 Add Style accessor functions to Ui 2021-09-17 15:45:32 +09:30
Jack Mac
9ae254ad6d fixed up hack for edits on input widgets 2021-09-15 19:41:37 -04:00
Jack Mac
ff10eb01c8 added scare warning to string editing to explain null-termination 2021-09-15 12:14:05 -04:00
Jack Mac
c3dbd1b21f added a commented out deny(missing_docs)
This won't be done this release cycle, but i'd like this to be a goal of the repo to be well commented.
2021-09-15 12:00:16 -04: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
Jack Mac
0a06c97526 simply used debug_assertions instead of test accidentally. 2021-09-15 11:50:53 -04:00
Jack Mac
31c4b98a98 adding a few fun tables api stuff 2021-09-15 11:47:29 -04:00
Jake Shadle
97d62422f9 Fix text input deletion 2021-09-15 15:48:45 +02:00
Jack Mac
6e1f359d08 rebased and waiting for green 2021-09-14 11:14:09 -04:00
Jack Mac
be9fd26595 rebased 2021-09-14 11:07:12 -04:00
Jack Mac
b57cb04076 fixes cargo deadlinks 2021-09-14 11:07:12 -04:00
Jack Mac
9d43206633 added controls for sorting...which should finish this guy off! 2021-09-14 11:07:12 -04:00
Jack Mac
eb455f032c fmt 2021-09-14 11:07:12 -04:00
Jack Spira
7aba745c3d added documentation and examples 2021-09-14 11:07:12 -04:00
Jack Spira
56dae31b91 rebased and updated further. No docs yet, and API isn't stable.
This would bring our MSRV up to 1.51 (const generics)
2021-09-14 11:07:12 -04:00
Chris Frantz
be4fe2af61 Initial Tables API
A naive and incomplete binding to the ImGui Tables API.

Signed-off-by: Chris Frantz <frantzcj@gmail.com>
2021-09-14 11:07:12 -04:00
dbr
79aaf9f62c fmt 2021-09-14 11:18:03 +10:00
dbr
32e0555f5f Add bindings to BeginDisabled/EndDisabled
Closes #518
2021-09-14 11:18:03 +10:00
dbr
28dece5682 Memories of DHTML snow effects, or, a typo 2021-09-14 11:18:03 +10:00
dbr
e39ab4249e Change structs to match imgui 1.84
Also change oddly-specific test to avoid having to change it every update
2021-09-14 11:18:03 +10: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
ee1d921799 can't use intradoc...yet 2021-09-13 17:12:27 -04:00
Jack Mac
c62c609de5 making us have good links 2021-09-13 17:12:27 -04:00