From 3d76cc4c12cd858edbfd58482f0f69260bdce764 Mon Sep 17 00:00:00 2001 From: Tony <1414927+zfbTony@users.noreply.github.com> Date: Mon, 27 Jul 2020 10:57:08 -0400 Subject: [PATCH] Moved GuiSliderProfile into core --- .../game/{data/ui => core/gui}/images/slider.png | Bin .../BaseGame/game/core/gui/scripts/profiles.cs | 10 ++++++++++ Templates/BaseGame/game/data/ui/scripts/profiles.cs | 10 ---------- 3 files changed, 10 insertions(+), 10 deletions(-) rename Templates/BaseGame/game/{data/ui => core/gui}/images/slider.png (100%) diff --git a/Templates/BaseGame/game/data/ui/images/slider.png b/Templates/BaseGame/game/core/gui/images/slider.png similarity index 100% rename from Templates/BaseGame/game/data/ui/images/slider.png rename to Templates/BaseGame/game/core/gui/images/slider.png diff --git a/Templates/BaseGame/game/core/gui/scripts/profiles.cs b/Templates/BaseGame/game/core/gui/scripts/profiles.cs index 7b4a9ea00..63e05a5c2 100644 --- a/Templates/BaseGame/game/core/gui/scripts/profiles.cs +++ b/Templates/BaseGame/game/core/gui/scripts/profiles.cs @@ -224,3 +224,13 @@ new GuiControlProfile( GuiButtonProfile ) hasBitmapArray = false; category = "Core"; }; + +// --------------------------------------------------------------------------- +// Slider control +// --------------------------------------------------------------------------- +if( !isObject( GuiSliderProfile ) ) +new GuiControlProfile( GuiSliderProfile ) +{ + bitmap = "core/gui/images/slider"; + category = "Core"; +}; \ No newline at end of file diff --git a/Templates/BaseGame/game/data/ui/scripts/profiles.cs b/Templates/BaseGame/game/data/ui/scripts/profiles.cs index 26a7bd3a9..cb1d7121d 100644 --- a/Templates/BaseGame/game/data/ui/scripts/profiles.cs +++ b/Templates/BaseGame/game/data/ui/scripts/profiles.cs @@ -467,16 +467,6 @@ new GuiControlProfile( GuiRadioProfile ) category = "Core"; }; -// --------------------------------------------------------------------------- -// Slider control -// --------------------------------------------------------------------------- -if( !isObject( GuiSliderProfile ) ) -new GuiControlProfile( GuiSliderProfile ) -{ - bitmap = "data/ui/images/slider"; - category = "Core"; -}; - // // Scroll Profile //