diff --git a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt index 6feded0..73c79cc 100644 --- a/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt +++ b/common/src/main/kotlin/fr/username404/snowygui/gui/feature/ButtonInfo.kt @@ -18,8 +18,8 @@ annotation class ButtonInfo( CLICK // TODO Fix the CLICK behaviour } } -}; enum class Category(val translationKey: String) { - MISC("snowy.clickbox.misc"), - RISKY("snowy.clickbox.risky"); +}; enum class Category(val translationKey: String, val color: Colors) { + MISC("snowy.clickbox.misc", Colors.BLUE), + RISKY("snowy.clickbox.risky", Colors.RED); init { ClickGui.components.add(ClickBox(y = 0.0, name = TranslatableComponent(translationKey))) } } \ No newline at end of file