Class Settings.ProgramSettings.UiSettings

java.lang.Object
gaiasky.util.SettingsObject
gaiasky.util.Settings.ProgramSettings.UiSettings
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IObserver, Cloneable
Enclosing class:
Settings.ProgramSettings

public static class Settings.ProgramSettings.UiSettings extends SettingsObject implements IObserver
  • Field Details

    • accentColor

      public float[] accentColor
    • scale

      public float scale
    • animationMs

      public long animationMs
    • newUI

      public boolean newUI
    • expandOnMouseOver

      public boolean expandOnMouseOver
    • modeChangeInfo

      public boolean modeChangeInfo
    • notifications

      public boolean notifications
      Show notification messages at the bottom.
    • distanceUnits

      public Settings.DistanceUnits distanceUnits
  • Constructor Details

    • UiSettings

      public UiSettings()
  • Method Details

    • setAccentColor

      public void setAccentColor(String colorHex)
      Set the UI accent color.
      Parameters:
      colorHex - The color as a HEX string (#AABBCC).
    • getAccentColor

      public String getAccentColor()
    • setScale

      public void setScale(Float scale)
    • getAnimationSeconds

      public float getAnimationSeconds()
    • setDistanceUnits

      public void setDistanceUnits(String distanceUnits)
    • clone

      Overrides:
      clone in class SettingsObject
    • setParentRecursive

      protected void setParentRecursive(SettingsObject s)
      Specified by:
      setParentRecursive in class SettingsObject
    • setupListeners

      protected void setupListeners()
      Specified by:
      setupListeners in class SettingsObject
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • apply

      public void apply()
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.