Héctor Ramón Jiménez
44f002f64a
Rename positive and destructive to success and danger in button
2024-03-07 15:21:42 +01:00
Héctor Ramón Jiménez
29326215cc
Simplify theming for Container widget
2024-03-05 03:48:08 +01:00
Héctor Ramón Jiménez
f4a4845ddb
Simplify theming for Button widget
2024-03-04 20:42:37 +01:00
Héctor Ramón Jiménez
4130ae4be9
Simplify theming for Text widget
2024-03-04 19:32:13 +01:00
Héctor Ramón Jiménez
feab96f323
Add push_maybe to Column and Row
2024-02-15 02:38:07 +01:00
Héctor Ramón Jiménez
25f182f933
Introduce Border struct analogous to Shadow
2024-01-20 13:29:25 +01:00
Héctor Ramón Jiménez
64d1ce5532
Refactor KeyCode into Key and Location
2024-01-16 13:28:00 +01:00
Héctor Ramón Jiménez
0655a20ad1
Make Shrink have priority over Fill in layout
2024-01-04 06:51:21 +01:00
Héctor Ramón Jiménez
6c386e90a1
Fix clippy::trivially-copy-pass-by-ref
2023-09-20 04:33:48 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +02:00
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