Commit graph

801 commits

Author SHA1 Message Date
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
Héctor Ramón Jiménez
aac7ad3e14 Update winit to 0.22 2020-03-09 22:35:25 +01:00
Héctor Ramón
5a91b52ef4
Merge pull request #214 from artursapek/artur/canvas-text
Implement text support in canvas widget
2020-03-09 00:48:51 +01:00
Héctor Ramón Jiménez
b4f970ee73 Implement Default for canvas::Text 2020-03-08 00:06:48 +01:00
Héctor Ramón Jiménez
e9194cbf4a Transform text position in Frame::fill_text
Also add a warning explaining its current limitations.
2020-03-08 00:06:04 +01:00
Héctor Ramón Jiménez
38d967c414 Take a slice in iced_wgpu::triangle pipeline 2020-03-07 23:47:55 +01:00
Héctor Ramón Jiménez
b74e7e7353 Implement Primitive::Cached 2020-03-07 23:45:54 +01:00
Héctor Ramón Jiménez
37f0d97159 Rename Frame::text to Frame::fill_text
This keeps the API similar to the Web Canvas API.
2020-03-07 22:28:57 +01:00
Héctor Ramón Jiménez
f35c9f25f0 Rename canvas::TextNode to canvas::Text 2020-03-07 22:27:02 +01:00
Artur Sapek
1bb8555691 implement text support in canvas widget 2020-03-06 22:01:21 -07:00
Héctor Ramón Jiménez
29219500b7 Update reqwest in pokedex example 2020-03-06 03:58:38 +01:00
Héctor Ramón
d817fe8e14
Merge pull request #91 from nvzqz/const-all-the-things
Make many functions `const`
2020-03-06 03:47:40 +01:00
Héctor Ramón Jiménez
f81827c151 Remove counterintuitive constant functions 2020-03-06 03:30:48 +01:00