aboutsummaryrefslogtreecommitdiff
path: root/src/ui/pane.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/pane.rs')
-rw-r--r--src/ui/pane.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ui/pane.rs b/src/ui/pane.rs
new file mode 100644
index 0000000..86149d4
--- /dev/null
+++ b/src/ui/pane.rs
@@ -0,0 +1,18 @@
+#[derive(Debug, Clone, Default)]
+pub enum PaneKind {
+ #[default]
+ EmptyPane,
+ FunctionPane,
+ GraphPane,
+}
+
+#[derive(Clone, Default, Debug)]
+pub struct Pane {
+ pub kind: PaneKind,
+}
+
+impl Pane {
+ pub fn new(kind: PaneKind) -> Self {
+ Self { kind }
+ }
+}