125 Commits

Author SHA1 Message Date
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
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
7bc3715f42 1.48 required T: Debug for unsafe cell's Debug impl 2021-09-13 17:12:00 -04:00
Jack Mac
3eaee3359d imstr and imstring have been removed.
fixed some instability and added a hacky shim to input_text functions.
We're looking okay so far, but more testing will be needed
2021-09-13 17:12:00 -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
e0125f4c06 removed imstr and imstring from clipboard support 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 Mac
04af6ab69a updating msrv to 1.54
Added a "get out of jail free" card in the min-const-generics feature
2021-09-13 13:03:13 -04:00
dbr
0784c95f29 fmt 2021-09-13 18:24:38 +10:00
dbr
52898779e1 Allow simultaneous access to different draw lists
Only need to prevent accessing the same draw-list twice at one time

Closes #488
2021-09-13 18:22:51 +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
Jack Spira
818cd60b36 borkaborka 2021-09-08 14:25:24 -07:00
Jack Spira
3d8d5115cf annoyance 2021-09-08 12:36:25 -07:00
Jack Spira
a0d3cbb7e4 tons of updates, added examples 2021-09-08 11:50:14 -07:00
Jack Spira
805f5e93e7 updated doc comments to fix intra-doc breakages 2021-09-08 10:36:32 -07:00
Jack Spira
213433ffd3 updated code significantly and removed UB 2021-09-08 10:13:38 -07:00
Jack Spira
d00dd15a9c redid how the callback worked to keep it significantly safer 2021-09-08 09:21:49 -07:00
Jack Spira
e17dc259c1 using std to handle u32s 2021-09-07 15:28:44 -07:00
Jack Spira
f011d9e337 redid buffer creation 2021-09-07 15:04:30 -07:00
Jack Spira
64f5787940 Somehow the text flags are getting sheared in multiline inputs?
let's just ignore them!
2021-09-07 15:04:30 -07:00
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