Robin
2d9efba59b
Added full keymap to winit backend, fixed keyboard example
2022-12-21 20:18:16 +01:00
dbr/Ben
f1c87a1755
Merge pull request #658 from tetenpapier/main
...
Add bindings to TextFilter
2022-10-05 13:37:25 +10:30
Wang, Lin
6fa1fb6991
leave tree_node label None if not set
...
This allows users to hide tree_node label. This change also added an
example of making a tree_node as a button.
2022-08-24 13:42:14 -04:00
tetenpapier
5f5450487f
use &str instead of String
2022-08-12 17:32:11 +02:00
tetenpapier
5450ee6136
add doc and example, remove useless function
2022-08-11 10:12:34 +02:00
tetenpapier
5fc64b7e68
add TextFilter
2022-08-10 18:01:44 +02:00
dbr
68a5af174c
fmt
2022-03-19 11:42:06 +11:00
dbr
39e45251b3
Example showing how to use list clipper+table
2022-03-18 22:07:58 +11:00
dbr
cc08285a04
Update the list clipper:
...
1. Avoid calling step() in destructor - incorrect and unnecessary, as it is not required to fully "use" the clipper (you can stop rendering half-way through)
2. Add a harder to misuse iterator interface to the clipper as an alterantive to the C++ style .step() interface
Closes #610
2022-03-18 22:07:27 +11:00
Jack Mac
f334bfb106
init
2022-02-21 18:05:49 -05:00
Jack Mac
d6037316a0
updated modal popup funtimes
2022-02-21 18:05:49 -05:00
Jack Mac
32cf2b9e6c
clippy stop yelling at me
2022-02-10 14:31:19 -05:00
Gabe Weiner
d05827258f
refactored Slider to match the new Ui based architecture
2022-01-28 12:00:47 -05:00
dbr
dd061d4ad4
Make ui.popup* methods consistent [ #454 ]
...
Closes #592
2022-01-17 12:51:55 +11:00
Jack OntheGoMac
bebd4168fa
fixed breaking my commits to dbr
2021-12-21 17:04:42 -08:00
dbr
22436d9341
Fix DPI scaling in examples
...
- winit handles the DPI factor scaling
- Remove "rounded" mode which is only sensible with default bitmap screen on a low pixel density screen
- As such change default font to the already-in-repo Roboto
- Adds env-var to examples to force scaling factor for debug purposes
2021-12-20 09:55:36 -05:00
dbr
6f3d385fbe
Better wording in comment
2021-11-21 14:32:35 +11:00
dbr
caaae327f6
Don't negate f32::MIN!
2021-11-20 19:19:50 +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
Jack Mac
6faa7f090a
oops broke text
2021-10-19 19:16:07 -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
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/Ben
3b8ec75748
Merge pull request #550 from dbr/polyline
...
Add basic polyline methods to draw list
2021-10-13 16:16:59 +11:00
dbr
dd86066ed0
Minor typo in example string
2021-10-12 14:33:48 +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
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
074c40e927
transmogrified the Id struct
2021-10-01 16:21:20 -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
f743fefe79
aaand examples compile. complex trait bounds there...
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
804ebd8b8c
fixed textcallback
2021-09-30 18:45:35 -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
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
cc7ffbe351
Update examples to ui.window(...)
2021-09-25 11:51:11 +10:00
Jack Mac
be9fd26595
rebased
2021-09-14 11:07:12 -04:00
Jack Mac
3ffe82e488
clipppy
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 Spira
7aba745c3d
added documentation and examples
2021-09-14 11:07:12 -04:00
dbr
e6cb406570
😍
2021-09-14 14:48:13 +10: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
Jack Mac
b26243293b
fixed examples issue
2021-09-13 17:12:27 -04:00