Commit graph

55 commits

Author SHA1 Message Date
Héctor Ramón
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00
Héctor Ramón Jiménez
08a031cbe5
Introduce keyboard::on_key_press and on_key_release
Also rename `subscription::events*` to `event::listen*`.
2023-09-07 02:45:15 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
c5a623f32b
Introduce drop helper to pane_grid::State 2023-07-06 07:57:24 +02:00
Héctor Ramón Jiménez
ecce8bbcee
Simplify Target enum in widget::pane_grid 2023-07-06 07:57:23 +02:00
Joao Freitas
e5c9dd54b3
Add ability to drag pane to the pane grid edges & optional style for dragged pane 2023-07-06 07:55:49 +02:00
Héctor Ramón Jiménez
57db196c3a
Increase width of controls in pane_grid example 2023-06-08 20:23:47 +02:00
Joao Freitas
bc590e2d6f
Take pane state internally 2023-05-19 12:12:08 +01:00
Joao Freitas
99aa54cd88
Add pane_grid functionality to split a pane with another pane 2023-05-16 16:12:29 +01:00
Héctor Ramón Jiménez
3a0d34c024
Create iced_widget subcrate and re-organize the whole codebase 2023-03-04 05:37:11 +01:00
Cory Forsstrom
e28c441c69 Update pane_grid example w/ maximize / restore 2022-11-02 17:05:58 -07: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
1dd1a2f97f
Introduce StyleSheet for Text widget 2022-06-29 10:51:01 +02:00
Héctor Ramón Jiménez
97555e67af
Implement theme styling for Container 2022-06-07 04:11:24 +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
Héctor Ramón Jiménez
c85caff7a5
Increase text size of pane dimensions in pane_grid example 2022-01-12 11:19:51 +07:00
Héctor Ramón Jiménez
870d651f35
Implement Widget::overlay for Responsive widget 2022-01-12 11:15:05 +07:00
Héctor Ramón Jiménez
90c20ac46b
Draft Responsive widget 2022-01-11 10:47:56 +07:00
Héctor Ramón Jiménez
40a5de5811
Reintroduce Box for style_sheet in Container 2021-10-31 17:02:59 +07:00
Héctor Ramón Jiménez
d36ce33a95
Reintroduce Box for style_sheet in Button 2021-10-31 16:53:18 +07:00
Héctor Ramón Jiménez
3140cdc4ba
Wire up styling to Button in iced_native 2021-10-18 16:02:30 +07:00
Héctor Ramón Jiménez
d61cb58d92
Wire up container styling to iced_native 2021-10-18 15:36:32 +07: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
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
b57d567981
Use bitflags for keyboard::Modifiers 2021-07-12 22:01:57 +02: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
Héctor Ramón Jiménez
ae517b9fa0 Add clipboard argument to Application::update 2021-03-11 03:38:20 +01: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
f41eacc3dc Use f32 for border_width and border_radius 2020-11-23 00:31:50 +01:00
Héctor Ramón Jiménez
69c50c8511 Introduce event::Status to Subscription 2020-11-12 02:22:22 +01:00
Héctor Ramón Jiménez
86fa12229e Introduce is_command_pressed to ModifiersState 2020-11-10 21:18:21 +01:00
Héctor Ramón Jiménez
d6d5cf0294 Restore hotkeys in pane_grid example
- Implement `subscription::events_with`
- Remove `pane_grid::KeyPressEvent`
- Return closest sibling in `pane_grid::State::close`
2020-11-10 02:32:57 +01:00
Héctor Ramón Jiménez
8008ea5286 Introduce on_click handler in PaneGrid 2020-11-10 01:48:11 +01:00
Héctor Ramón Jiménez
5681c83d3c Remove focus concept from pane_grid 2020-11-10 01:38:27 +01: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
3c5921f30c Update pane_grid GIFs 2020-07-09 07:05:57 +02:00
Héctor Ramón Jiménez
6820eea9ce Simplify style of pane_grid example 2020-07-09 06:29:54 +02:00
Héctor Ramón Jiménez
67f4c9aea3 Add a TitleBar to pane_grid example 2020-07-09 06:27:38 +02:00
Héctor Ramón Jiménez
8493ccec7f Merge branch 'intuitive-pane-grid-resize' into feature/pane-grid-titlebar 2020-06-08 18:33:36 +02:00
Héctor Ramón Jiménez
be0cc2c780 Add leeway support to PaneGrid::on_resize 2020-06-08 18:25:23 +02:00
Héctor Ramón Jiménez
a11bcf5af0 Draft first-class TitleBar in pane_grid 2020-06-04 07:13:38 +02:00
Héctor Ramón Jiménez
749a9588d7 Implement padding support for Container 2020-03-31 01:21:51 +02:00
Héctor Ramón Jiménez
eba2ded88a Update README of examples 2020-03-18 06:35:55 +01:00
Héctor Ramón Jiménez
36abf7457f Improve styling of pane_grid example 2020-03-18 05:53:41 +01:00
Héctor Ramón Jiménez
b8a035d2da Add some styling to pane_grid buttons 2020-03-18 01:27:23 +01:00
Héctor Ramón Jiménez
05beb87852 Move common keyboard types to iced_core
Also expose them in `iced` through `iced_native` and `iced_web`.
2020-03-17 07:30:05 +01:00
Héctor Ramón Jiménez
1cd1582506 Add modifiers to KeyPressEvent in pane_grid 2020-03-17 07:16:54 +01:00