209 Commits

Author SHA1 Message Date
dbr
744fc7cb79 Fix warning on badly named DrawData member 2021-11-16 17:08:50 +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
dbr
929dd2fcfe Bulk of changes required to support main + docking 2021-10-27 19:24:12 +11:00
Jack Mac
6faa7f090a oops broke text 2021-10-19 19:16:07 -04:00
Jack Mac
daea06108f closes #553 2021-10-19 18:41:04 -04: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
19e2c4672b fixed tests 2021-10-15 16:47:24 -04:00
Jack Mac
c36f30ea94 drag drop changes 2021-10-15 16:38:46 -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
5261ea7d82 added style color name variants 2021-10-13 12:52:45 -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
dbr
e25e51d3fc Remove redundant as_slice call per PR feedback 2021-10-13 15:42:30 +11:00
dbr
416272a48a fmt 2021-10-12 13:26:33 +11:00
dbr
eb1bd01179 Add basic polyline methods to draw list 2021-10-12 13:24:50 +11:00
Jack Mac
de69a0c103 deprecated InputInt and InputFloat, switched to using InputScalar 2021-10-06 13:09:34 -04:00
Sven Niederberger
dccbdc4f01 add doc comments 2021-10-06 12:01:11 -04:00
Sven Niederberger
bb66413a29 * add input_scalar
* allow setting display format for input_float
2021-10-06 12:01:11 -04:00
Jack Mac
4a2d847b3a passing tests 2021-10-06 11:31:35 -04:00
Jack Mac
f00b5707c0 added mouse cursor state to the context 2021-10-03 18:26:22 -04:00
Jack Mac
cfb9a671ec fixed up tests 2021-10-01 16:31:01 -04:00
Jack Mac
074c40e927 transmogrified the Id struct 2021-10-01 16:21:20 -04:00
Jack Mac
203780c884 added id back to child window 2021-10-01 14:47:22 -04:00
Jonathan Spira
b798342157
Merge pull request #539 from sanbox-irl/simplify-ui-lifetime
Remove the lifetime from Ui
2021-10-01 13:03:51 -04:00
Jonathan Spira
3eaeab59ad
Merge pull request #479 from dzil123/delta_time
Fix update_delta_time() assertion fail from zero Duration
2021-10-01 12:43:41 -04:00
Jack Mac
5a98270944 added clone so i guess you can interact with it here... 2021-10-01 12:35:22 -04:00
Jack Mac
1f65184deb borked the lifetime, simplified here 2021-10-01 12:33:36 -04:00
Jack Mac
5bdd4f819c added end frame handle 2021-10-01 11:36:24 -04:00
Jack Mac
2a8374a339 removed ZST for Ui and changed shared font atlas to be based on UnsafeCell 2021-10-01 11:36:24 -04:00
Jack Mac
63267ddf56 better support for non-send-sync 2021-10-01 11:36:24 -04:00
Jack Mac
9b6f6c0fb8 fix tests 2021-10-01 11:36:24 -04:00
Jack Mac
41ab364384 and added the thorn in this method 2021-10-01 11:36:24 -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
83b6dc8d5f slightly borked the rebase 2021-09-30 18:58:38 -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
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