From cbbf0bb596b17c85c192297e9cb541bf8fba648a Mon Sep 17 00:00:00 2001
From: Manuel Thalmann <m@nuth.ch>
Date: Fri, 11 Apr 2025 20:57:18 +0200
Subject: [PATCH] Add a button type

---
 gui/Cargo.lock |  7 +++++++
 gui/src/lib.rs | 12 ++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100644 gui/Cargo.lock

diff --git a/gui/Cargo.lock b/gui/Cargo.lock
new file mode 100644
index 0000000..7650348
--- /dev/null
+++ b/gui/Cargo.lock
@@ -0,0 +1,7 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "gui"
+version = "0.1.0"
diff --git a/gui/src/lib.rs b/gui/src/lib.rs
index 9cbc855..18c1cdb 100644
--- a/gui/src/lib.rs
+++ b/gui/src/lib.rs
@@ -13,3 +13,15 @@ impl Screen {
 pub trait Draw {
     fn draw(&self);
 }
+
+pub struct Button {
+    pub width: u32,
+    pub height: u32,
+    pub label: String,
+}
+
+impl Draw for Button {
+    fn draw(&self) {
+        // code to actually draw a button
+    }
+}