From 5f5c8e2591a313d84b0864e049c857032f991ed8 Mon Sep 17 00:00:00 2001 From: marc Date: Tue, 19 Mar 2024 18:28:28 +0100 Subject: [PATCH] rename things --- src/main/kotlin/com/neptuneclient/voidui/ui/widgets.kt | 2 -- .../neptuneclient/voidui/{ui/objects => units}/EdgeInsets.kt | 2 +- .../kotlin/com/neptuneclient/voidui/{ui => widgets}/Element.kt | 2 +- .../kotlin/com/neptuneclient/voidui/{ui => widgets}/Screen.kt | 2 +- .../kotlin/com/neptuneclient/voidui/{ui => widgets}/Widget.kt | 2 +- .../kotlin/com/neptuneclient/voidui/{ui => widgets}/elements.kt | 2 +- src/main/kotlin/com/neptuneclient/voidui/widgets/widgets.kt | 2 ++ 7 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 src/main/kotlin/com/neptuneclient/voidui/ui/widgets.kt rename src/main/kotlin/com/neptuneclient/voidui/{ui/objects => units}/EdgeInsets.kt (97%) rename src/main/kotlin/com/neptuneclient/voidui/{ui => widgets}/Element.kt (97%) rename src/main/kotlin/com/neptuneclient/voidui/{ui => widgets}/Screen.kt (97%) rename src/main/kotlin/com/neptuneclient/voidui/{ui => widgets}/Widget.kt (97%) rename src/main/kotlin/com/neptuneclient/voidui/{ui => widgets}/elements.kt (94%) create mode 100644 src/main/kotlin/com/neptuneclient/voidui/widgets/widgets.kt diff --git a/src/main/kotlin/com/neptuneclient/voidui/ui/widgets.kt b/src/main/kotlin/com/neptuneclient/voidui/ui/widgets.kt deleted file mode 100644 index 093dd73..0000000 --- a/src/main/kotlin/com/neptuneclient/voidui/ui/widgets.kt +++ /dev/null @@ -1,2 +0,0 @@ -package com.neptuneclient.voidui.ui - diff --git a/src/main/kotlin/com/neptuneclient/voidui/ui/objects/EdgeInsets.kt b/src/main/kotlin/com/neptuneclient/voidui/units/EdgeInsets.kt similarity index 97% rename from src/main/kotlin/com/neptuneclient/voidui/ui/objects/EdgeInsets.kt rename to src/main/kotlin/com/neptuneclient/voidui/units/EdgeInsets.kt index 819fa36..4594dca 100644 --- a/src/main/kotlin/com/neptuneclient/voidui/ui/objects/EdgeInsets.kt +++ b/src/main/kotlin/com/neptuneclient/voidui/units/EdgeInsets.kt @@ -1,4 +1,4 @@ -package com.neptuneclient.voidui.ui.objects +package com.neptuneclient.voidui.units data class EdgeInsets( val left: Float, diff --git a/src/main/kotlin/com/neptuneclient/voidui/ui/Element.kt b/src/main/kotlin/com/neptuneclient/voidui/widgets/Element.kt similarity index 97% rename from src/main/kotlin/com/neptuneclient/voidui/ui/Element.kt rename to src/main/kotlin/com/neptuneclient/voidui/widgets/Element.kt index 4317890..f35efd8 100644 --- a/src/main/kotlin/com/neptuneclient/voidui/ui/Element.kt +++ b/src/main/kotlin/com/neptuneclient/voidui/widgets/Element.kt @@ -1,4 +1,4 @@ -package com.neptuneclient.voidui.ui +package com.neptuneclient.voidui.widgets import com.neptuneclient.voidui.VoidUI import com.neptuneclient.voidui.rendering.Renderer diff --git a/src/main/kotlin/com/neptuneclient/voidui/ui/Screen.kt b/src/main/kotlin/com/neptuneclient/voidui/widgets/Screen.kt similarity index 97% rename from src/main/kotlin/com/neptuneclient/voidui/ui/Screen.kt rename to src/main/kotlin/com/neptuneclient/voidui/widgets/Screen.kt index d470948..07eb663 100644 --- a/src/main/kotlin/com/neptuneclient/voidui/ui/Screen.kt +++ b/src/main/kotlin/com/neptuneclient/voidui/widgets/Screen.kt @@ -1,4 +1,4 @@ -package com.neptuneclient.voidui.ui +package com.neptuneclient.voidui.widgets import com.neptuneclient.voidui.VoidUI import com.neptuneclient.voidui.rendering.ElementStack diff --git a/src/main/kotlin/com/neptuneclient/voidui/ui/Widget.kt b/src/main/kotlin/com/neptuneclient/voidui/widgets/Widget.kt similarity index 97% rename from src/main/kotlin/com/neptuneclient/voidui/ui/Widget.kt rename to src/main/kotlin/com/neptuneclient/voidui/widgets/Widget.kt index da4c07f..07bc0f9 100644 --- a/src/main/kotlin/com/neptuneclient/voidui/ui/Widget.kt +++ b/src/main/kotlin/com/neptuneclient/voidui/widgets/Widget.kt @@ -1,4 +1,4 @@ -package com.neptuneclient.voidui.ui +package com.neptuneclient.voidui.widgets import java.awt.Rectangle import kotlin.math.round diff --git a/src/main/kotlin/com/neptuneclient/voidui/ui/elements.kt b/src/main/kotlin/com/neptuneclient/voidui/widgets/elements.kt similarity index 94% rename from src/main/kotlin/com/neptuneclient/voidui/ui/elements.kt rename to src/main/kotlin/com/neptuneclient/voidui/widgets/elements.kt index 020258f..f83d6e9 100644 --- a/src/main/kotlin/com/neptuneclient/voidui/ui/elements.kt +++ b/src/main/kotlin/com/neptuneclient/voidui/widgets/elements.kt @@ -1,4 +1,4 @@ -package com.neptuneclient.voidui.ui +package com.neptuneclient.voidui.widgets import com.neptuneclient.voidui.rendering.Renderer import java.awt.Color diff --git a/src/main/kotlin/com/neptuneclient/voidui/widgets/widgets.kt b/src/main/kotlin/com/neptuneclient/voidui/widgets/widgets.kt new file mode 100644 index 0000000..c41a0f8 --- /dev/null +++ b/src/main/kotlin/com/neptuneclient/voidui/widgets/widgets.kt @@ -0,0 +1,2 @@ +package com.neptuneclient.voidui.widgets +