aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/gui
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-10-16 19:24:24 +0200
committerLinnea Gräf <nea@nea.moe>2024-10-16 19:24:24 +0200
commit7de0e8e7e09e3428c17ca9717c21c02469c31b76 (patch)
treef8c3d32a286521967a27877231c1ee74fa8c87ab /src/main/kotlin/gui
parent854ec336cc6a0a3bb60f33acfac28ed45b491a15 (diff)
downloadFirmament-7de0e8e7e09e3428c17ca9717c21c02469c31b76.tar.gz
Firmament-7de0e8e7e09e3428c17ca9717c21c02469c31b76.tar.bz2
Firmament-7de0e8e7e09e3428c17ca9717c21c02469c31b76.zip
Add edit backpacks button to /firm storage
Diffstat (limited to 'src/main/kotlin/gui')
-rw-r--r--src/main/kotlin/gui/EmptyComponent.kt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main/kotlin/gui/EmptyComponent.kt b/src/main/kotlin/gui/EmptyComponent.kt
new file mode 100644
index 0000000..13efa89
--- /dev/null
+++ b/src/main/kotlin/gui/EmptyComponent.kt
@@ -0,0 +1,17 @@
+package moe.nea.firmament.gui
+
+import io.github.notenoughupdates.moulconfig.gui.GuiComponent
+import io.github.notenoughupdates.moulconfig.gui.GuiImmediateContext
+
+class EmptyComponent : GuiComponent() {
+ override fun getWidth(): Int {
+ return 0
+ }
+
+ override fun getHeight(): Int {
+ return 0
+ }
+
+ override fun render(context: GuiImmediateContext) {
+ }
+}