aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/gui
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-01 00:06:19 +0200
committernea <nea@nea.moe>2023-08-01 00:06:19 +0200
commit4eca96affa7dfedbd81b18e243ac67589f24129d (patch)
tree5250fe90fdbd9bab2c7454e2ac18d0434a9120b9 /src/main/kotlin/moe/nea/firmament/gui
parent65f3d99f01211583a28422897565e130424c64fb (diff)
downloadFirmament-4eca96affa7dfedbd81b18e243ac67589f24129d.tar.gz
Firmament-4eca96affa7dfedbd81b18e243ac67589f24129d.tar.bz2
Firmament-4eca96affa7dfedbd81b18e243ac67589f24129d.zip
Make reuse compliant
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/gui')
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/WBar.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/WCenteringPanel.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/WFixedPanel.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/WSpacer.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/WSplitPanel.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/WTightScrollPanel.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/WTitledItem.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt16
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/BooleanHandler.kt16
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/ClickHandler.kt16
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/DurationHandler.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/GuiAppender.kt16
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/IntegerHandler.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/JAnyHud.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/ManagedConfig.kt16
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt16
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfilePage.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt6
-rw-r--r--src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt6
21 files changed, 102 insertions, 84 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WBar.kt b/src/main/kotlin/moe/nea/firmament/gui/WBar.kt
index ed812ec..85972e4 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/WBar.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/WBar.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui
import com.mojang.blaze3d.systems.RenderSystem
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WCenteringPanel.kt b/src/main/kotlin/moe/nea/firmament/gui/WCenteringPanel.kt
index c6d1f56..69a59f5 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/WCenteringPanel.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/WCenteringPanel.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui
import io.github.cottonmc.cotton.gui.widget.WPanel
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WFixedPanel.kt b/src/main/kotlin/moe/nea/firmament/gui/WFixedPanel.kt
index 0c5eb05..0fd724b 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/WFixedPanel.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/WFixedPanel.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui
import io.github.cottonmc.cotton.gui.widget.WPanel
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WSpacer.kt b/src/main/kotlin/moe/nea/firmament/gui/WSpacer.kt
index 42d08fe..8cdc4b8 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/WSpacer.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/WSpacer.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui
import io.github.cottonmc.cotton.gui.widget.WPanel
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WSplitPanel.kt b/src/main/kotlin/moe/nea/firmament/gui/WSplitPanel.kt
index 0d13e42..1469880 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/WSplitPanel.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/WSplitPanel.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui
import io.github.cottonmc.cotton.gui.widget.WPanel
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WTightScrollPanel.kt b/src/main/kotlin/moe/nea/firmament/gui/WTightScrollPanel.kt
index e9905d8..e4c3989 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/WTightScrollPanel.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/WTightScrollPanel.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui
import io.github.cottonmc.cotton.gui.widget.WPanel
diff --git a/src/main/kotlin/moe/nea/firmament/gui/WTitledItem.kt b/src/main/kotlin/moe/nea/firmament/gui/WTitledItem.kt
index 07850fc..4c81648 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/WTitledItem.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/WTitledItem.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui
import com.mojang.blaze3d.systems.RenderSystem
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt b/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt
index 449835e..b926946 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/AllConfigsGui.kt
@@ -1,19 +1,7 @@
/*
- * Firmament is a Hypixel Skyblock mod for modern Minecraft versions
- * Copyright (C) 2023 Linnea Gräf
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.gui.config
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/BooleanHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/BooleanHandler.kt
index df30f6d..9305bad 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/BooleanHandler.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/BooleanHandler.kt
@@ -1,19 +1,7 @@
/*
- * Firmament is a Hypixel Skyblock mod for modern Minecraft versions
- * Copyright (C) 2023 Linnea Gräf
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.gui.config
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/ClickHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/ClickHandler.kt
index 2b2032c..33cc704 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/ClickHandler.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/ClickHandler.kt
@@ -1,19 +1,7 @@
/*
- * Firmament is a Hypixel Skyblock mod for modern Minecraft versions
- * Copyright (C) 2023 Linnea Gräf
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.gui.config
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/DurationHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/DurationHandler.kt
index e5d2621..c8de252 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/DurationHandler.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/DurationHandler.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.config
import io.github.cottonmc.cotton.gui.widget.WBox
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/GuiAppender.kt b/src/main/kotlin/moe/nea/firmament/gui/config/GuiAppender.kt
index ddb37d6..22a525b 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/GuiAppender.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/GuiAppender.kt
@@ -1,19 +1,7 @@
/*
- * Firmament is a Hypixel Skyblock mod for modern Minecraft versions
- * Copyright (C) 2023 Linnea Gräf
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.gui.config
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt
index f8d2c3e..1e5ced8 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/HudMetaHandler.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.config
import io.github.cottonmc.cotton.gui.widget.WButton
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/IntegerHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/IntegerHandler.kt
index c7a9a55..b8f0e2b 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/IntegerHandler.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/IntegerHandler.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.config
import io.github.cottonmc.cotton.gui.widget.WBox
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/JAnyHud.kt b/src/main/kotlin/moe/nea/firmament/gui/config/JAnyHud.kt
index 5470f9b..f3f83b3 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/JAnyHud.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/JAnyHud.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.config
import moe.nea.jarvis.api.JarvisHud
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/ManagedConfig.kt b/src/main/kotlin/moe/nea/firmament/gui/config/ManagedConfig.kt
index 4d1f1ae..b38c8a7 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/ManagedConfig.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/ManagedConfig.kt
@@ -1,19 +1,7 @@
/*
- * Firmament is a Hypixel Skyblock mod for modern Minecraft versions
- * Copyright (C) 2023 Linnea Gräf
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.gui.config
diff --git a/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt b/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt
index a9c7ebf..d15b272 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/config/StringHandler.kt
@@ -1,19 +1,7 @@
/*
- * Firmament is a Hypixel Skyblock mod for modern Minecraft versions
- * Copyright (C) 2023 Linnea Gräf
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
package moe.nea.firmament.gui.config
diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt
index 9909418..82d2fef 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.profileviewer
import io.github.cottonmc.cotton.gui.client.BackgroundPainter
diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfilePage.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfilePage.kt
index 5f8d0a3..3d599ee 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfilePage.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfilePage.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.profileviewer
import io.github.cottonmc.cotton.gui.widget.WWidget
diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
index 8093df3..bebcbcc 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/ProfileViewer.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.profileviewer
import io.github.cottonmc.cotton.gui.client.CottonClientScreen
diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt
index 239c743..72316f7 100644
--- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt
+++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt
@@ -1,3 +1,9 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
package moe.nea.firmament.gui.profileviewer
import io.github.cottonmc.cotton.gui.widget.TooltipBuilder