Héctor Ramón Jiménez
21971e0037
Make Clipboard argument in Widget trait mutable
2021-03-10 01:59:02 +01:00
Héctor Ramón Jiménez
bbca5c4bde
Call hash_layout for controls in pane_grid::TitleBar
2021-03-09 04:49:17 +01:00
Héctor Ramón Jiménez
e7344d03b4
Use BTreeMap for splits and regions in pane_grid
...
This preserves ordering between calls to update and draw logic.
2021-01-07 21:07:44 +01:00
Héctor Ramón Jiménez
a7bb7bb2ea
Implement split highlight on hover for PaneGrid
2021-01-01 15:28:38 +01:00
Héctor Ramón Jiménez
e815c5bbd7
Remove unnecessary lifetime bound in TitleBar
2020-12-22 14:47:18 +01:00
Clark Moody
f54590d7ad
Replace TitleBar string title with generic Content
2020-12-10 12:17:36 -06:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
08e0b9ffbd
Fix broken links in API documentation
2020-11-26 01:59:20 +01:00
Héctor Ramón Jiménez
c03d46719e
Remove Focus in pane_grid
...
Since #608 , the `PaneGrid` widget does not handle pane focus.
2020-11-17 06:13:56 +01:00
Héctor Ramón Jiménez
31c509b206
Implement event capturing for PaneGrid
2020-11-12 00:40:55 +01:00
Héctor Ramón Jiménez
3f968b8c87
Make Widget::on_event return an event::Status
2020-11-12 00:09:52 +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
c53022e8df
Fix typo in documentation of pane_grid::Content
2020-11-10 01:51:27 +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
bbc6e91429
Implement hash_layout for pane_grid::TitleBar
2020-08-19 02:03:21 +02:00
Héctor Ramón
72cfe85f7f
Merge pull request #463 from mobile-bungalow/titlebar_options
...
Added `always_show_controls` method to TitleBar
2020-07-31 06:55:55 +02:00
Héctor Ramón Jiménez
ac74f35424
Clarify TitleBar::always_show_controls docs a bit
2020-07-31 06:43:51 +02:00
Héctor Ramón Jiménez
ab0da5dad0
Move always_show_controls after padding
2020-07-31 06:43:27 +02:00
Héctor Ramón Jiménez
174565715e
Fix typo in TitleBar::new
2020-07-31 04:23:55 +02:00
mobile-bungalow
7977e970ca
Added method to TitleBar, allowing controls to be show statically instead of only on mouseover
2020-07-27 01:17:02 -07:00
Héctor Ramón Jiménez
3d91926a74
Keep original focus state while a pane is dragged
2020-07-22 03:40:17 +02:00
Héctor Ramón Jiménez
35b1b8b0e7
Add focused method to pane_grid::State
2020-07-22 02:58:14 +02:00
Héctor Ramón Jiménez
f24e03eae8
Implement Widget::overlay for PaneGrid
2020-07-10 01:35:58 +02:00
Héctor Ramón Jiménez
2f02ca3248
Fix layout of a TitleBar without controls
2020-07-09 05:42:28 +02:00
Héctor Ramón Jiménez
2334c7d1d5
Stop tracking pressed_modifiers in PaneGrid
2020-07-09 05:28:42 +02:00
Héctor Ramón Jiménez
e3cd947437
Write documentation for new PaneGrid API
2020-07-09 05:26:11 +02:00
Héctor Ramón Jiménez
733ec6b2ea
Fix default text size in TitleBar
2020-07-08 11:48:16 +02:00
Héctor Ramón Jiménez
f3dfaa2c43
Merge branch 'master' into feature/pane-grid-titlebar
2020-07-08 11:44:40 +02:00
Héctor Ramón Jiménez
e50c61f7ff
Add unfocus method to pane_grid::State
2020-06-30 02:53:15 +02:00
Héctor Ramón Jiménez
23f753e599
Introduce splits method in pane_grid::Node
2020-06-30 01:02:28 +02:00
Héctor Ramón Jiménez
cb530ccf2f
Rename regions and splits in pane_grid::Node
2020-06-30 01:02:26 +02:00
Héctor Ramón Jiménez
3cfe6e428b
Lay out title text dynamically in TitleBar
2020-06-10 16:27:28 +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
dcc4bb77e9
Remove unused split_cache in pane_grid
2020-06-08 18:25:46 +02:00
Héctor Ramón Jiménez
041cab0fa4
Resize PaneGrid without modifier keys
2020-06-08 18:11:29 +02:00
Héctor Ramón Jiménez
4dc5bffdfb
Draft draggable and graphics logic for TitleBar
2020-06-05 14:02:29 +02:00
Héctor Ramón Jiménez
4e1e0e0890
Draft drawing logic for Content and TitleBar
2020-06-05 06:52:07 +02:00
Héctor Ramón Jiménez
a11bcf5af0
Draft first-class TitleBar in pane_grid
2020-06-04 07:13:38 +02:00
Clark Moody
858eafe22e
Structured test cases
2020-05-27 14:24:33 -05:00
Clark Moody
9079014974
Tests for axis split
2020-05-26 16:47:29 -05:00
Clark Moody
334dd09817
Pane Grid spacing applied prior to rounding
...
On low-DPI screens, the rounding order of operations made it impossible
to produce an odd-pixel spacing. Specifying 1, for instance, produced
zero space between panes.
This approach subtracts half the spacing from the first pane prior to
rounding and uses the whole spacing for the second pane size and
coordinate.
2020-05-26 16:24:18 -05:00
Héctor Ramón Jiménez
230bd6f747
Write documentation for new pane_grid API
2020-05-23 01:51:34 +02:00
Héctor Ramón Jiménez
2ab7341fa5
Implement State::with_content in pane_grid
2020-05-22 21:56:50 +02:00
Héctor Ramón Jiménez
32b9c1fdbd
Return new Split in pane_grid::State::split
2020-05-22 21:55:55 +02:00
Héctor Ramón Jiménez
c620e4dc4c
Implement State::get in pane_grid
2020-05-22 21:55:45 +02:00
Héctor Ramón Jiménez
f3d54a0f33
Expose Node and State::layout for PaneGrid
2020-05-22 21:55:31 +02:00
Héctor Ramón Jiménez
d1f2a18439
Implement Clone for pane_grid::State
2020-05-22 21:55:18 +02:00
Héctor Ramón Jiménez
bb9ccc4f62
Remove inconsistent input module in iced_native
2020-04-30 05:04:45 +02: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
420275793e
Fix minor documentation issues in pane_grid
2020-03-19 09:43:36 +01:00