Skip to content

Commit

Permalink
improved names and descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kada49 committed Apr 26, 2022
1 parent fe2a705 commit 3ec029b
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions src/main/kotlin/it/kada49/fpsDisplay/Configuration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,50 +34,50 @@ object Configuration: Vigilant(file = File("./config/${Constants.ID}.toml"), gui
var shadowSwitch = true

@Property(
type = PropertyType.SWITCH,
name = "Toggle prefix",
description = "Enable or disable the prefix before the FPS Counter.",
category = "Personalisation",
subcategory = "Text Formatting"
type = PropertyType.SELECTOR,
name = "Positioning",
description = "Select one of the available positioning for the FPS Counter.",
options = ["Top Left", "Top Middle", "Top Right", "Bottom Left", "Bottom Right"],
category = "Personalisation"
)
var prefixSwitch = false
var positionSelector = 0

@Property(
type = PropertyType.SWITCH,
name = "Toggle suffix",
description = "Enable or disable the 'FPS' suffix after the FPS Counter.",
category = "Personalisation",
subcategory = "Text Formatting"
type = PropertyType.SLIDER,
name = "Scale",
description = "Change the scale of the FPS Counter.",
min = 1,
max = 3,
category = "Personalisation"
)
var suffixSwitch = true
var scaleSlider = 1

@Property(
type = PropertyType.SWITCH,
name = "Brackets",
name = "Toggle brackets",
description = "Enable or disable brackets around all the FPS Counter text",
category = "Personalisation",
subcategory = "Text Formatting"
)
var bracketsSelector = false

@Property(
type = PropertyType.SELECTOR,
name = "Positioning",
description = "Select one of the available positioning for the FPS Counter.",
options = ["Top Left", "Top Middle", "Top Right", "Bottom Left", "Bottom Right"],
category = "Personalisation"
type = PropertyType.SWITCH,
name = "Toggle prefix",
description = "Enable or disable the '[FPS]' prefix before the FPS Number.",
category = "Personalisation",
subcategory = "Text Formatting"
)
var positionSelector = 0
var prefixSwitch = false

@Property(
type = PropertyType.SLIDER,
name = "Scale",
description = "Change the scale of the FPS Counter.",
min = 1,
max = 3,
category = "Personalisation"
type = PropertyType.SWITCH,
name = "Toggle suffix",
description = "Enable or disable the 'FPS' suffix after the FPS Number.",
category = "Personalisation",
subcategory = "Text Formatting"
)
var scaleSlider = 1
var suffixSwitch = true

@Property(
type = PropertyType.SWITCH,
Expand Down

0 comments on commit 3ec029b

Please sign in to comment.