Laurent Dufresne
27f7d2fa57
Replaced crate "clipboard" by "copypasta"
...
The crate clipboard is not maintained anymore and has a dependency with
multiple security issues.
2023-03-08 17:52:22 +01:00
dbr
29978d3a31
Fix clippy lint in example
2023-01-30 17:03:56 +10:30
Robin Quint
07fc930ab9
Merge branch 'imgui-rs:main' into main
2023-01-09 12:04:31 +01:00
Robin
2d9efba59b
Added full keymap to winit backend, fixed keyboard example
2022-12-21 20:18:16 +01:00
Robin
1d88eceb16
Removed viewports code from imgui-winit-support
2022-12-20 13:32:15 +01:00
Robin Quint
14531a074c
Removed outdated and non-working example
2022-12-16 15:00:48 +01:00
Robin Quint
69528d7942
Merge branch 'main' of https://github.com/imgui-rs/imgui-rs
2022-12-16 15:00:29 +01:00
dbr
9776ebef90
Remove authors key from Cargo.toml
...
The field is now optional (as of Rust 1.53) and no longer used by crates.io (as per Rust RFC 3052)
2022-11-30 10:15:38 +10:30
dbr
7cc7bf97b3
Minor hackery to keep CI happy
...
Pin back scoped-tls used indirectly in imgui-examples only
Will revert hackery and bump MSRV once v0.9 is released
2022-11-30 00:14:10 +10:30
dbr/Ben
f1c87a1755
Merge pull request #658 from tetenpapier/main
...
Add bindings to TextFilter
2022-10-05 13:37:25 +10:30
dbr/Ben
f4817a0ad5
Merge pull request #659 from dbarkar/winit-27
...
Support winit v0.27.2
2022-09-26 17:51:36 +09: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
Denis Barkar
5fa0f27564
Support winit v0.27.2
2022-08-17 17:37:07 +03: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
Robin Quint
57230dc81f
Implemented basic context sharing in viewport example
2022-03-16 08:53:18 +01:00
Robin Quint
cbb98f5289
Added dockspace_over_main_viewport() to Ui, finished basic viewport example
2022-03-15 16:09:03 +01:00
Robin Quint
76bd236a95
Implemented working viewport example
2022-03-15 15:56:38 +01:00
Robin Quint
26df654967
Removed most example changes, working on viewport example
2022-03-15 14:08:17 +01:00
Robin Quint
3da8f2cf33
Polishing for PR
2022-03-04 13:29:01 +01:00
Robin Quint
acda14c7f1
Fixed initial window position
2022-03-02 10:42:39 +01:00
Robin Quint
e68ea5fe3b
Fixed crashes
2022-03-01 14:40:26 +01:00
Robin Quint
0e9f39c942
More WIP
2022-03-01 14:24:31 +01:00
Robin Quint
daf039c098
WIP
2022-03-01 13:38:20 +01:00
Robin Quint
cf214ca397
Reverted integration changes
2022-03-01 11:26:36 +01:00
Robin Quint
b6617b2c0e
WIP
2022-03-01 10:23:59 +01:00
Robin Quint
1d7bcd33ad
Fixed crashes
2022-03-01 08:08:53 +01:00
Robin Quint
4d32d50962
Fixed clippy
2022-02-28 16:59:40 +01:00
Robin Quint
3a9cf40de3
Implemented basic viewport support
2022-02-28 16:45:52 +01:00
Robin Quint
4b307a1bf7
Added basic Viewport structs and flags
2022-02-22 16:07:58 +01:00
Jack Mac
8dea2edcfa
init. copying other work
2022-02-21 18:55:39 -05: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