Jack Mac
1d78d18d82
updating license copyright data
2021-10-06 12:06:23 -04:00
Sven Niederberger
dccbdc4f01
add doc comments
2021-10-06 12:01:11 -04:00
Sven Niederberger
fe4cc59faf
cargo fmt
2021-10-06 12:01:11 -04:00
Sven Niederberger
f11cb33961
formatting
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
36aed0e4e1
reduced down to just glium 0.30
2021-10-06 11:35:07 -04:00
Jack Mac
9a115a3d37
adding changelog entry
2021-10-06 11:31:35 -04:00
Jack Mac
dc3cc8a461
fixed up for tests
2021-10-06 11:31:35 -04:00
Jack Mac
4a2d847b3a
passing tests
2021-10-06 11:31:35 -04:00
Anish Jewalikar
e650a02ced
Implement the SDL 2 support crate
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
dbr
6eb56529da
Use ControlFlow:Poll in event loop
...
ControlFlow::Wait is more efficient but doesn't appear to currently work
well on all platforms. Removed entirely from the earlier examples to
keep them as simple as possible, but noted `ControlFlow::Wait` in the
last example
Closes #542
2021-10-03 18:09:02 -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
Jack Mac
f0782f4ea2
restated the changelog shared atlas issue
2021-10-01 13:45:49 -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
76c74fbfc5
quick fix
2021-10-01 11:36:24 -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
11b7e87c64
clippy fixes
2021-10-01 11:36:24 -04:00
Jack Mac
b30cb740ba
aaaand fixed up the examples
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
Jonathan Spira
4d183cffa6
Merge pull request #536 from sanbox-irl/mint-support
...
Switch [f32; _] types in the public api to `mint` equivalents
2021-09-30 19:13:48 -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
Jack Mac
804ebd8b8c
fixed textcallback
2021-09-30 18:45:35 -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
9eb6b410b4
Example for push_id
2021-09-25 13:02:51 +10:00
dbr
db5953a10c
Docs on push_id
2021-09-25 12:49:34 +10:00
dbr
54598aa24d
Example showing various methods of creating windows
...
- ui.window(...).build() versus ui.window.begin()
- ui.child_window(...)
2021-09-25 12:21:47 +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
cc7ffbe351
Update examples to ui.window(...)
2021-09-25 11:51:11 +10:00
dbr
0f7cb49865
Create windows via ui.window("title").build() [ #454 ]
2021-09-25 11:41:53 +10:00