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
Héctor Ramón Jiménez
6f9cf6c70d
Implement hotkey logic in pane_grid example
2020-03-17 06:54:25 +01:00
Héctor Ramón Jiménez
56ba6215a2
Add simple pane_grid example
2020-03-17 04:23:28 +01:00
Héctor Ramón Jiménez
858c086eee
Remove pane_grid example for now
...
It's too contrived. I will work on something simpler.
2020-03-14 03:41:12 +01:00
Héctor Ramón Jiménez
df6e3f8da9
Expose pane_grid::Focus for state-based styling
2020-03-11 23:25:00 +01:00
Héctor Ramón Jiménez
6151c52824
Rename Panes widget to PaneGrid
2020-03-10 02:57:13 +01:00