summaryrefslogtreecommitdiffstats
path: root/glow
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 01:25:49 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-07-10 01:25:49 +0200
commitce8cb228ef608b247c8a84f9d3a4a7faff68b355 (patch)
tree97102b9d90b1ce3ffcddc5b7faa9e26ce7ce340a /glow
parent33e6682882cd09dd210da123eb3b893e33bd977d (diff)
parent46ce3a1f0004ddc527ba3de1ffe3dac3f41a06c3 (diff)
downloadiced-ce8cb228ef608b247c8a84f9d3a4a7faff68b355.tar.gz
iced-ce8cb228ef608b247c8a84f9d3a4a7faff68b355.tar.bz2
iced-ce8cb228ef608b247c8a84f9d3a4a7faff68b355.zip
Merge branch 'master' into feature/overlay
Diffstat (limited to 'glow')
-rw-r--r--glow/src/widget/pane_grid.rs16
1 files changed, 14 insertions, 2 deletions
diff --git a/glow/src/widget/pane_grid.rs b/glow/src/widget/pane_grid.rs
index 6f437df7..3c47b562 100644
--- a/glow/src/widget/pane_grid.rs
+++ b/glow/src/widget/pane_grid.rs
@@ -11,8 +11,8 @@
use crate::Renderer;
pub use iced_native::pane_grid::{
- Axis, Content, Direction, DragEvent, Focus, KeyPressEvent, Node, Pane,
- ResizeEvent, Split, State,
+ Axis, Configuration, Direction, DragEvent, Focus, KeyPressEvent, Node,
+ Pane, ResizeEvent, Split, State,
};
/// A collection of panes distributed using either vertical or horizontal splits
@@ -22,3 +22,15 @@ pub use iced_native::pane_grid::{
///
/// This is an alias of an `iced_native` pane grid with an `iced_wgpu::Renderer`.
pub type PaneGrid<'a, Message> = iced_native::PaneGrid<'a, Message, Renderer>;
+
+/// The content of a [`Pane`].
+///
+/// [`Pane`]: struct.Pane.html
+pub type Content<'a, Message> =
+ iced_native::pane_grid::Content<'a, Message, Renderer>;
+
+/// The title bar of a [`Pane`].
+///
+/// [`Pane`]: struct.Pane.html
+pub type TitleBar<'a, Message> =
+ iced_native::pane_grid::TitleBar<'a, Message, Renderer>;