Commit graph

813 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
bb898fa2e2 Create PaneGrid alias in iced_wgpu 2020-03-19 09:37:13 +01:00
Héctor Ramón Jiménez
bd74c4e577 Write documentation for pane_grid 2020-03-19 09:30:54 +01:00
Héctor Ramón Jiménez
a820b8ce7b Rename PaneGrid::modifiers to pressed_modifiers 2020-03-19 08:21:23 +01:00
Héctor Ramón Jiménez
50b02d41a0 Check only for partial match of modifier keys 2020-03-18 07:10:36 +01: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
20b142e8e3 Make cursor unavailable when dragging panes 2020-03-18 01:27:01 +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
a280dcda23 Add PaneGrid::on_key_press for hotkey logic 2020-03-17 06:53:57 +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
21a4095a99 Fix spacing calculation in Axis::split 2020-03-17 04:15:17 +01:00
Héctor Ramón Jiménez
c7583f1227 Merge branch 'master' into feature/panes-widget 2020-03-17 03:23:10 +01:00
Héctor Ramón
9da6ce474c
Merge pull request #220 from rowungiles/master
Instantiate Column and Row with children
2020-03-17 01:04:46 +01:00
Héctor Ramón Jiménez
99b5212550 Implement Column and Row changes in iced_web 2020-03-17 00:53:51 +01:00
Héctor Ramón Jiménez
95c8031f3d Reuse with_children to remove some duplication 2020-03-17 00:51:01 +01:00
Héctor Ramón Jiménez
a146e53eb0 Rename new_with_children to with_children 2020-03-17 00:50:23 +01:00
Rowun Giles
ae123d8f14 Instantiate Column and Row with children 2020-03-16 10:08:37 +00:00
Héctor Ramón Jiménez
e1438774af Fix Scrollable width consistency 2020-03-14 23:25:19 +01:00
Héctor Ramón Jiménez
a373682fa4 Fix ratio calculation on resize in PaneGrid 2020-03-14 09:36:20 +01:00
Héctor Ramón Jiménez
ec334bdd36 Improve pane selection when resizing a PaneGrid 2020-03-14 09:01:52 +01:00
Héctor Ramón Jiménez
eb5e2251bd Trigger PaneGrid resize on click 2020-03-14 08:16:07 +01:00
Héctor Ramón Jiménez
f08cb4ad56 Implement mouse-based pane resizing for PaneGrid 2020-03-14 08:10:50 +01:00
Héctor Ramón Jiménez
db441a64b1 Reintroduce pane_grid::Split as an identifier 2020-03-14 06:35:43 +01:00
Héctor Ramón Jiménez
b55746b1e1 Remove PaneGrid::split_* helpers
We can use the `split` method directly instead.
2020-03-14 06:33:17 +01:00
Héctor Ramón Jiménez
a79603e4ca Rename Split to Axis 2020-03-14 06:32:56 +01:00
Héctor Ramón Jiménez
00c2b55b56 Replace FocusedPane with Action in pane_grid 2020-03-14 06:26:09 +01:00
Héctor Ramón Jiménez
5c8ec4504b Create module boundaries for pane_grid logic 2020-03-14 05:27:27 +01:00
Héctor Ramón Jiménez
460565056e Reuse PaneGrid::focus to remove some duplication 2020-03-14 04:53:57 +01:00
Héctor Ramón Jiménez
2459648574 Simplify iter and iter_mut in pane_grid 2020-03-14 04:47:14 +01:00
Héctor Ramón Jiménez
6e8585e88c Expose adjacent_pane instead of focus_adjacent 2020-03-14 04:06:32 +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
26b9541bca Improve PaneGrid::focus_adjacent intuitiveness 2020-03-13 09:55:59 +01:00
Héctor Ramón Jiménez
b9f184fda4 Draft PaneGrid::focus_adjacent 2020-03-13 08:57:52 +01:00
Héctor Ramón Jiménez
0b12d706e3 Unfocus pane in PaneGrid on out-of-bounds click 2020-03-13 07:54:14 +01:00
Héctor Ramón Jiménez
29bf51d25a Implement spacing support for PaneGrid 2020-03-13 07:51:41 +01:00
Héctor Ramón Jiménez
c2ced4cd59 Improve PaneGrid API by introducing DragEvent 2020-03-13 07:35:44 +01:00
Héctor Ramón Jiménez
f1168187c9 Update window_clipboard in iced_winit 2020-03-12 07:32:04 +01:00
Héctor Ramón Jiménez
2d8d420949 Replace Panes with PaneGrid in documentation 2020-03-11 23:34:51 +01:00
Héctor Ramón Jiménez
f09b4bd4f4 Round region dimensions of panes to avoid overlaps 2020-03-11 23:26:45 +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
3f785472c4
Merge pull request #215 from hecrj/improvement/update-winit
Update `winit` to `0.22`
2020-03-11 01:03:16 +01:00
Héctor Ramón Jiménez
f11397c31a Clip scrollable primitives only when necessary 2020-03-10 06:49:25 +01:00
Héctor Ramón Jiménez
eb070b9652 Draft drag and drop support for PaneGrid 2020-03-10 06:47:32 +01:00
Héctor Ramón Jiménez
ed7c327b48 Implement Default for keyboard::ModifiersState 2020-03-10 06:46:58 +01:00
Héctor Ramón Jiménez
4e0e50ae27 Fix Debug implementation of layer::cache::State 2020-03-10 06:46:11 +01:00
Héctor Ramón Jiménez
e4fbca59b4 Merge branch 'master' into feature/panes-widget 2020-03-10 06:12:06 +01:00
Héctor Ramón Jiménez
6151c52824 Rename Panes widget to PaneGrid 2020-03-10 02:57:13 +01:00