aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/gui/EmptyComponent.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/gui/EmptyComponent.kt')
-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) {
+ }
+}