Héctor Ramón Jiménez
6bb01b7276
Fix clippy lints for Rust 1.66
2022-12-20 11:31:25 +01:00
Héctor Ramón Jiménez
8c74464b0d
Fix clippy lints
2022-10-04 11:53:03 +02:00
Artur Sapek
fe17641d46
Working multitouch example
2022-10-04 11:23:03 +02:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API
2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
...
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
fc13bb3d65
Implement theme styling for Canvas
2022-06-07 05:24:43 +02:00
Héctor Ramón Jiménez
396735b682
Implement theme styling for PickList and Menu
2022-06-07 04:51:44 +02:00
Héctor Ramón Jiménez
d988d813d7
Introduce specific types for each palette::Extended field
...
We will have more control over color calculations for each semantic purpose this way.
2022-05-26 23:58:56 +02:00
Héctor Ramón Jiménez
d5bc610d01
Fix examples and doc-tests
2022-05-26 23:12:11 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉
2022-02-09 17:57:44 +07:00
Richard
e31566d430
Improve shader version selection
2022-01-19 17:40:17 -03:00
Richard
afdf3e799a
Add env_logger to game_of_life
2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row
2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
c0ab988842
Revert system menus support
...
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!
I have kept some of the changes in #945 , like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.
Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón Jiménez
1b36068847
Introduce placeholder_color to pick_list::Style
2021-07-22 20:22:32 +07:00
Héctor Ramón
9cf5f3e1ef
Merge pull request #929 from TimUntersberger/winit-improv
...
feat: add position to window settings
2021-07-22 17:49:18 +07:00
Héctor Ramón Jiménez
39b8f7de50
Center window in game_of_life example
2021-07-21 19:10:11 +07:00
Héctor Ramón Jiménez
b97954a1ee
Add a presets Menu to the game_of_life example
2021-07-19 21:18:54 +07:00
Héctor Ramón Jiménez
ae517b9fa0
Add clipboard argument to Application::update
2021-03-11 03:38:20 +01:00
Yusuf Bera Ertan
50452e62b4
Update tokio to 1.0
2021-01-04 23:20:21 +01:00
Héctor Ramón Jiménez
b5c41a8815
Update game_of_life capture
2020-11-26 16:36:56 +01:00
Héctor Ramón
87c9df294c
Merge pull request #595 from valbendan/master
...
upgrade tokio to latest version(v0.3)
2020-11-25 04:24:44 +01:00
Héctor Ramón Jiménez
f41eacc3dc
Use f32 for border_width and border_radius
2020-11-23 00:31:50 +01:00
Héctor Ramón Jiménez
3aca177132
Implement event capturing for Canvas
2020-11-12 01:24:59 +01:00
valbendan
eacb2e913f
upgrade tokio to latest version(v0.3)
2020-11-05 11:36:23 +08:00
Héctor Ramón Jiménez
4f2962d73f
Move version from Grid to GameOfLife struct
2020-09-12 20:35:51 +02:00
Héctor Ramón Jiménez
c1f79b40cf
Make Application and Sandbox return a Result
2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
00d66da0ce
Add Keyboard variant to canvas::Event
2020-08-10 23:57:29 +02:00
Héctor Ramón Jiménez
aaf5986123
Improve Menu API to facilitate external control
2020-07-23 03:58:59 +02:00
Héctor Ramón Jiménez
94383d82a5
Style PickList in game_of_life example
2020-07-10 07:41:31 +02:00
Héctor Ramón Jiménez
b64e0ea5e3
Add Preset selector to game_of_life example
2020-07-10 04:14:21 +02:00
Héctor Ramón Jiménez
93c6be5eef
Update README of game_of_life example
2020-05-04 23:54:28 +02:00
Héctor Ramón Jiménez
2f41ccee1c
Update GIF of game_of_life example
2020-05-03 02:49:04 +02:00
Héctor Ramón Jiménez
917199197f
Allow erasing cells in game_of_life
2020-05-03 02:43:20 +02:00
Héctor Ramón Jiménez
4417a34edb
Fix "1 cells" overlay in game_of_life
2020-05-03 02:15:11 +02:00
Héctor Ramón Jiménez
5aaaea7c88
Render stats as an overlay in game_of_life
...
Also allow toggling the grid lines
2020-05-03 01:53:45 +02:00
Héctor Ramón Jiménez
c3c5161386
Draw grid in game_of_life
2020-05-03 00:57:15 +02:00
Héctor Ramón Jiménez
a43fb42428
Reorganize view code in game_of_life
2020-05-03 00:08:41 +02:00
Héctor Ramón Jiménez
cc8f5b6fc8
Simplify logic and limit ticks in game_of_life
2020-05-02 10:48:42 +02:00
Héctor Ramón Jiménez
0025b8c3f8
Display some statistics in game_of_life
2020-05-02 09:27:49 +02:00
Héctor Ramón Jiménez
916a1bfc70
Run ticks in a background thread in game_of_life
2020-05-02 07:01:27 +02:00
Héctor Ramón Jiménez
8fa9e4c94e
Rename visible_in to within in game_of_life
2020-05-02 03:37:20 +02:00
Héctor Ramón Jiménez
4fd8e47737
Use rustc_hash for hashing in game_of_life
...
This seems to produce a 2x speedup.
2020-05-02 03:33:03 +02:00
Héctor Ramón Jiménez
e7e8e76c28
Change speed limit to 100 in game_of_life
2020-05-01 06:23:30 +02:00
Héctor Ramón Jiménez
1833c77312
Improve scrolling smoothness in game_of_life
2020-05-01 06:23:05 +02:00
Héctor Ramón Jiménez
ffbe59f812
Zoom to cursor in game_of_life example
2020-05-01 05:42:07 +02:00
Héctor Ramón Jiménez
0a5f1bb676
Improve zooming logic in game_of_life
2020-05-01 05:21:27 +02:00