Commit graph

828 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
30c7db3f25 Improve download_progress example
- Use `reqwest` with `Response::chunk` to notify progress.
- Turn example state into an enum
2020-03-23 20:34:16 +01:00
Songtronix
fff333f89b Add example for download with progress tracking 2020-03-23 17:53:57 +01:00
Héctor Ramón
092e9fb4cc
Merge pull request #229 from hecrj/improvement/ci-check-format
Add workflow to check format in CI
2020-03-22 09:09:07 +01:00
Héctor Ramón Jiménez
b2242c571f Rename job in format workflow to all 2020-03-21 05:41:22 +01:00
Héctor Ramón Jiménez
e9ac53bb9a Add workflow to check format in CI 2020-03-21 05:36:51 +01:00
Héctor Ramón
99a6f8dbc6
Merge pull request #228 from maaku/fix-cargo-fmt
Remove excess whitespace from end of line to comply with `cargo fmt`.
2020-03-21 05:24:39 +01:00
Mark Friedenbach
e5d264caf0 Remove excess whitespace from end of line to comply with cargo fmt. 2020-03-20 15:51:05 -07:00
Héctor Ramón
f7ec679fec
Merge pull request #224 from hecrj/feature/panes-widget
Pane grid widget
2020-03-20 12:10:52 +01:00
Héctor Ramón Jiménez
fb744a338c Fix links in pane_grid documentation 2020-03-20 11:56:39 +01:00
Héctor Ramón Jiménez
cfc2b55e05 Rename Internal::idle_pane to active_pane 2020-03-20 11:54:42 +01:00
Héctor Ramón Jiménez
33f33ed4e3 Check cursor is in-bounds before resizing panes 2020-03-20 11:53:08 +01:00
Héctor Ramón Jiménez
93f5640a2d Fix wasm-bindgen command in README of iced_web 2020-03-20 05:21:46 +01:00
Héctor Ramón Jiménez
31aaf207d6 Remove redundant check in ModifiersState::matches 2020-03-20 04:10:58 +01:00
Héctor Ramón Jiménez
18f016cba7 Use f32::hypot in Point::distance 2020-03-20 04:08:18 +01:00
Héctor Ramón Jiménez
420275793e Fix minor documentation issues in pane_grid 2020-03-19 09:43:36 +01:00
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