Commit graph

438 commits

Author SHA1 Message Date
Billy Messenger
e822f654e4 Merge branch 'master' of https://github.com/hecrj/iced into wgpu_outdatedframe 2021-07-22 12:37:39 -05:00
Héctor Ramón
587dbbca42
Merge pull request #776 from AldoMX/master
Added `select_all` method to `TextInput`.
2021-07-22 20:48:03 +07:00
Héctor Ramón Jiménez
72d5d9b4bd
Add newline to todos example
... just for readability
2021-07-22 20:37:12 +07:00
Héctor Ramón Jiménez
1b36068847
Introduce placeholder_color to pick_list::Style 2021-07-22 20:22:32 +07:00
Jon Pacheco
9c75ddcb33
feat: add placeholder to pick_list example 2021-07-22 19:13:00 +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
4de2714213
Remove winit example
... we can extend an existing example instead!
2021-07-21 18:11:31 +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
b57d567981
Use bitflags for keyboard::Modifiers 2021-07-12 22:01:57 +02:00
Héctor Ramón Jiménez
1428e9180a
Make Menu API a bit more functional 2021-07-12 21:38:54 +02:00
Richard
9fc5ad23ed Initial menu implementation 2021-07-05 16:24:10 -03:00
TimUntersberger
552b7a1307 update cargo.toml of example 2021-06-25 18:07:03 +02:00
TimUntersberger
de79a01b88 done 2021-06-25 18:03:18 +02:00
TimUntersberger
5c45d36d1a wip 2021-06-25 17:33:40 +02:00
TimUntersberger
52d44769a3 add initial attempt at adding winit example 2021-06-25 17:33:40 +02:00
Richard
96a462d2f2
Use new enum variant and new winit repo 2021-06-25 14:14:03 +02:00
Richard
9ae22b58d8
Added events for url handling and create example 2021-06-25 14:14:03 +02:00
Héctor Ramón
ce3a5f19b9 Add scrolling progress indicators to scrollable example 2021-06-04 20:46:47 +07:00
Héctor Ramón
57510c43c8 Add buttons to control scrolling in scrollable example 2021-06-04 20:15:06 +07:00
Héctor Ramón
d3d6f3efb3 Add some horizontal padding to toggler section in tour example 2021-06-03 20:35:26 +07:00
Kaiden42
be3ee9adf1 Add Toggler to tour example 2021-06-03 20:21:55 +07:00
Kaiden42
1ef38cc207 Add Toggler to styling example 2021-06-03 20:21:55 +07:00
Clark Moody
1a2fd4e743 Example: Add Pin button to prevent closing a pane
Functionality will not work until PaneGrid implementation is updated
to support events within the title area.
2021-05-24 15:53:20 -05:00
Clark Moody
e6f8b32583 Example: Add close button to pane grid controls
Refactors the state data structure to hold content and controls in
separate fields. Adds a new button style for the control button.
2021-05-24 14:28:52 -05:00
Aaron Housh
ae484429d3 Merge branch 'hecrj:master' into upgrade-wgpu 2021-05-19 07:14:26 -07:00
Héctor Ramón
59c2500c55 Fix Scrollable scrollbar being rendered behind contents
... by issuing a new clip layer just for the scrollbar itself.
2021-05-03 15:42:02 +07:00
Dispersia
983aa1b366 Run cargo fmt 2021-04-12 23:23:47 -07:00
Dispersia
9a2c78c405 Upgrade wgpu 2021-04-11 18:55:57 -07:00
Héctor Ramón Jiménez
8f952452ce Showcase graceful exiting in events example 2021-03-30 21:45:49 +02:00
Aldo Fregoso
57247106b9 Added select_all method to TextInput. 2021-03-13 14:50:59 -06:00
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01:00
Héctor Ramón Jiménez
21971e0037 Make Clipboard argument in Widget trait mutable 2021-03-10 01:59:02 +01:00
Sebastian
5f27ed4720 Update: rand 2021-03-03 01:23:18 +01:00
Héctor Ramón Jiménez
2736e4ca35 Hide Text as an implementation detail of Tooltip 2021-02-24 00:59:29 +01:00
Héctor Ramón Jiménez
4e923290cc Add style and padding to Tooltip 2021-02-23 04:00:35 +01:00
Héctor Ramón Jiménez
2f766b7341 Introduce Tooltip::gap to control spacing 2021-02-23 03:16:37 +01:00
Héctor Ramón Jiménez
81c75c1524 Change Tooltip to support Text only for now 2021-02-23 03:09:16 +01:00
Yusuf Bera Ertan
a19f89d3a6
feat(native): add Tooltip widget 2021-02-15 19:37:46 +03:00
Folyd
9f5c2eb0c4
Improve download_progress example (#283)
* Add advanced download example

* Rename to task fields and variables

* Cargo fmt advanced_download/src/download.rs

* Add progress bar for advanced download example

* Merge two download examples to single one

* Apply great review suggestions

* Change to url::Url instead of plain String

* Simplify `download_progress` example

* Update `README` of `download_progress` example

Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 22:00:52 +01:00
Poly
09a5348740 [wgpu 0.7] Update integration example 2021-02-03 22:38:45 +01:00
Héctor Ramón Jiménez
fd2c96c8e3 Fix time::Every implementation for smol runtime 2021-01-15 18:52:12 +01:00
Héctor Ramón Jiménez
31522e30aa Remove unnecessary SaveError variant in todos example 2021-01-04 23:38:07 +01:00
Yusuf Bera Ertan
50452e62b4 Update tokio to 1.0 2021-01-04 23:20:21 +01:00
Héctor Ramón
f8aef03456
Merge pull request #657 from clarkmoody/feature/pane-grid-title-contents
Generic Element Content in Pane Grid TitleBar
2020-12-22 14:58:39 +01:00
Héctor Ramón Jiménez
0cdf8d56ee Use image::Viewer in pokedex example 2020-12-18 10:44:06 +01:00
Nils Martel
07b570036a Mention birth year in READMEs 2020-12-17 05:26:28 +01:00
Billy Messenger
4e391013c8 don't panic when swapchain frame is outdated 2020-12-16 10:03:51 -06:00
Clark Moody
fb478a4014 Update PaneGrid example with more complex TitleBar 2020-12-10 12:18:28 -06:00
Héctor Ramón Jiménez
b5c41a8815 Update game_of_life capture 2020-11-26 16:36:56 +01:00