blob: cf9f0cc39fe0ef99fe72557cc6dca8754618630c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package at.hannibal2.skyhanni.config.features;
import at.hannibal2.skyhanni.data.GuiEditManager;
import com.google.gson.annotations.Expose;
import io.github.moulberry.moulconfig.annotations.ConfigEditorButton;
import io.github.moulberry.moulconfig.annotations.ConfigEditorKeybind;
import io.github.moulberry.moulconfig.annotations.ConfigEditorSlider;
import io.github.moulberry.moulconfig.annotations.ConfigOption;
import org.lwjgl.input.Keyboard;
public class GUIConfig {
@ConfigOption(name = "Edit GUI Locations", desc = "Change the position of SkyHanni's overlays")
@ConfigEditorButton(buttonText = "Edit")
public Runnable positions = GuiEditManager::openGuiPositionEditor;
@Expose
@ConfigOption(name = "Open Hotkey", desc = "Press this key to open the GUI Editor.")
@ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
public int keyBindOpen = Keyboard.KEY_NONE;
@Expose
@ConfigOption(name = "Global GUI scale", desc = "Globally scale all SkyHanni GUIs")
@ConfigEditorSlider(minValue = 0.1F, maxValue = 10, minStep = 0.05F)
public float globalScale = 1F;
}
|