From fcbd0f532a90e7aef5e7f6c37a611ca67889b22b Mon Sep 17 00:00:00 2001 From: Grocel Date: Mon, 15 May 2023 01:46:36 +0200 Subject: [PATCH] Code cleanup, respecting native Lua syntax more --- lua/entities/base_streamradio.lua | 8 +- lua/entities/sent_streamradio/init.lua | 2 +- lua/streamradio_core/api.lua | 8 +- .../classes/ui/radio/gui_errorbox.lua | 4 +- .../classes/ui/radio/gui_player.lua | 2 +- .../classes/ui/radio/gui_player_spectrum.lua | 2 +- lua/streamradio_core/client/cl_lib.lua | 6 +- lua/streamradio_core/client/cl_presets.lua | 1294 ++++++++--------- .../client/cl_vgui_editor.lua | 12 +- lua/streamradio_core/interface.lua | 2 +- lua/streamradio_core/lib.lua | 6 +- lua/streamradio_core/network.lua | 4 +- lua/streamradio_core/shoutcast.lua | 2 +- .../stools/streamradio_gui_color_global.lua | 4 +- .../streamradio_gui_color_individual.lua | 4 +- materials/3dstreamradio/_data/version.vmt | 4 +- 16 files changed, 682 insertions(+), 682 deletions(-) diff --git a/lua/entities/base_streamradio.lua b/lua/entities/base_streamradio.lua index 858fbb9..d1af4e2 100644 --- a/lua/entities/base_streamradio.lua +++ b/lua/entities/base_streamradio.lua @@ -621,8 +621,8 @@ else function ENT:OnEntityCopyTableFinish(data) local done = {} - // Filter out all variables/members with an storable values - // to avoid any abnormal, invalid or unexpectedly shared entity stats on duping (especially for Garry-Dupe) + -- Filter out all variables/members with an storable values + -- to avoid any abnormal, invalid or unexpectedly shared entity stats on duping (especially for Garry-Dupe) local function recursive_filter(tab, newtable) if done[tab] then return tab end done[tab] = true @@ -700,8 +700,8 @@ else self:OnSetupCopyData(data) end - // Filter out all variables/members with an underscore in the beginning - // to avoid any abnormal, invalid or unexpectedly shared entity stats on duping (especially for Garry-Dupe) + -- Filter out all variables/members with an underscore in the beginning + -- to avoid any abnormal, invalid or unexpectedly shared entity stats on duping (especially for Garry-Dupe) for k, v in pairs(data) do if isstring(k) and #k > 0 and k[1] == "_" then data[k] = nil diff --git a/lua/entities/sent_streamradio/init.lua b/lua/entities/sent_streamradio/init.lua index a4c3c22..91e0ad7 100644 --- a/lua/entities/sent_streamradio/init.lua +++ b/lua/entities/sent_streamradio/init.lua @@ -258,7 +258,7 @@ function ENT:WiremodThink( ) self:TriggerWireOutput("Playing", self.StreamObj:IsPlaying()) self:TriggerWireOutput("Loading", self.StreamObj:IsLoading() or self.StreamObj:IsBuffering() or self.StreamObj:IsSeeking()) - self:TriggerWireOutput("Tag", {}) // todo + self:TriggerWireOutput("Tag", {}) -- todo self:TriggerWireOutput("Codec", self._codec) self:TriggerWireOutput("Spectrum", self._spectrum) self:TriggerWireOutput("Sound Level", self.StreamObj:GetAverageLevel()) diff --git a/lua/streamradio_core/api.lua b/lua/streamradio_core/api.lua index fe21adc..e392546 100644 --- a/lua/streamradio_core/api.lua +++ b/lua/streamradio_core/api.lua @@ -32,10 +32,10 @@ DisableAdvancedOutputs boolean true True disables the Advanced Wire Outputs. */ -// ====================================================================== -// === Don't edit anything below, unless you know what you are doing. === -// === Really, you don't need to. Report it to me if you find a bug. === -// ====================================================================== +-- ====================================================================== +-- === Don't edit anything below, unless you know what you are doing. === +-- === Really, you don't need to. Report it to me if you find a bug. === +-- ====================================================================== local ValidTypes = { StreamName = "string", diff --git a/lua/streamradio_core/classes/ui/radio/gui_errorbox.lua b/lua/streamradio_core/classes/ui/radio/gui_errorbox.lua index 24e6273..aeb6fd4 100644 --- a/lua/streamradio_core/classes/ui/radio/gui_errorbox.lua +++ b/lua/streamradio_core/classes/ui/radio/gui_errorbox.lua @@ -72,7 +72,7 @@ function CLASS:SetPlaylistError(url) local text - if url != "" then + if url ~= "" then text = string.format("Error: Could not open playlist:\n%s\n\nMake sure the file is valid and not Empty\n\nClick help for more details.", url) else text = "Error: Could not open playlist!\n\nMake sure the file is valid and not Empty\n\nClick help for more details." @@ -99,7 +99,7 @@ function CLASS:SetErrorCode(err, url) local errordesc = StreamRadioLib.DecodeErrorCode(err) local text - if url != "" then + if url ~= "" then text = string.format("Error: %i\n\nCould not play stream:\n%s\n\n%s\n\nClick help for more details.", err, url, errordesc) else text = string.format("Error: %i\n\nCould not play stream!\n\n%s\n\nClick help for more details.", err, errordesc) diff --git a/lua/streamradio_core/classes/ui/radio/gui_player.lua b/lua/streamradio_core/classes/ui/radio/gui_player.lua index 2d0b889..e963a9f 100644 --- a/lua/streamradio_core/classes/ui/radio/gui_player.lua +++ b/lua/streamradio_core/classes/ui/radio/gui_player.lua @@ -212,7 +212,7 @@ function CLASS:SetStream(stream) if not self.State then return end if not IsValid(self.Errorbox) then return end - //self.State.Error = 0 + -- self.State.Error = 0 end) self.StreamOBJ:SetEvent("OnConnect", self:GetID(), function() diff --git a/lua/streamradio_core/classes/ui/radio/gui_player_spectrum.lua b/lua/streamradio_core/classes/ui/radio/gui_player_spectrum.lua index 9bff554..7f0d1cd 100644 --- a/lua/streamradio_core/classes/ui/radio/gui_player_spectrum.lua +++ b/lua/streamradio_core/classes/ui/radio/gui_player_spectrum.lua @@ -70,7 +70,7 @@ local function RenderSpectrumBar(index, level, bars, soundlevel, x, y, w, h, col local BarX = math.Round(x + (index - 1) * barwide) local NextBarX = math.Round(x + index * barwide) - // close the bar gaps + -- close the bar gaps barwide = NextBarX - BarX local BarY = h + y diff --git a/lua/streamradio_core/client/cl_lib.lua b/lua/streamradio_core/client/cl_lib.lua index 51000ef..094fd38 100644 --- a/lua/streamradio_core/client/cl_lib.lua +++ b/lua/streamradio_core/client/cl_lib.lua @@ -1,6 +1,6 @@ ---//////////////////////////////////// --- Stream Radio Lip ---//////////////////////////////////// +-- //////////////////////////////////// +-- Stream Radio Lip +-- //////////////////////////////////// local IsValid = IsValid local tonumber = tonumber local tostring = tostring diff --git a/lua/streamradio_core/client/cl_presets.lua b/lua/streamradio_core/client/cl_presets.lua index 5769108..ef285f3 100644 --- a/lua/streamradio_core/client/cl_presets.lua +++ b/lua/streamradio_core/client/cl_presets.lua @@ -3,662 +3,662 @@ local RadioColorTool = "streamradio_gui_color_global" local Settings = { [RadioColorTool] = { ["Cold"] = { - [RadioColorTool.."_border_color_border_a"] = "255", - [RadioColorTool.."_border_color_border_b"] = "0", - [RadioColorTool.."_border_color_border_g"] = "0", - [RadioColorTool.."_border_color_border_r"] = "0", - [RadioColorTool.."_button_color_a"] = "255", - [RadioColorTool.."_button_color_b"] = "173", - [RadioColorTool.."_button_color_disabled_a"] = "255", - [RadioColorTool.."_button_color_disabled_b"] = "64", - [RadioColorTool.."_button_color_disabled_g"] = "64", - [RadioColorTool.."_button_color_disabled_r"] = "64", - [RadioColorTool.."_button_color_foreground_a"] = "255", - [RadioColorTool.."_button_color_foreground_b"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_a"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_b"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_g"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_r"] = "0", - [RadioColorTool.."_button_color_foreground_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_a"] = "255", - [RadioColorTool.."_button_color_foreground_hover_b"] = "0", - [RadioColorTool.."_button_color_foreground_hover_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_r"] = "0", - [RadioColorTool.."_button_color_foreground_r"] = "0", - [RadioColorTool.."_button_color_g"] = "173", - [RadioColorTool.."_button_color_hover_a"] = "255", - [RadioColorTool.."_button_color_hover_b"] = "128", - [RadioColorTool.."_button_color_hover_g"] = "128", - [RadioColorTool.."_button_color_hover_r"] = "128", - [RadioColorTool.."_button_color_icon_a"] = "255", - [RadioColorTool.."_button_color_icon_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_a"] = "255", - [RadioColorTool.."_button_color_icon_disabled_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_g"] = "255", - [RadioColorTool.."_button_color_icon_disabled_r"] = "255", - [RadioColorTool.."_button_color_icon_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_a"] = "255", - [RadioColorTool.."_button_color_icon_hover_b"] = "255", - [RadioColorTool.."_button_color_icon_hover_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_r"] = "255", - [RadioColorTool.."_button_color_icon_r"] = "255", - [RadioColorTool.."_button_color_r"] = "0", - [RadioColorTool.."_button_color_shadow_a"] = "255", - [RadioColorTool.."_button_color_shadow_b"] = "40", - [RadioColorTool.."_button_color_shadow_g"] = "40", - [RadioColorTool.."_button_color_shadow_r"] = "40", - [RadioColorTool.."_cursor_color_cursor_a"] = "255", - [RadioColorTool.."_cursor_color_cursor_b"] = "255", - [RadioColorTool.."_cursor_color_cursor_g"] = "255", - [RadioColorTool.."_cursor_color_cursor_r"] = "255", - [RadioColorTool.."_error_color_a"] = "255", - [RadioColorTool.."_error_color_b"] = "113", - [RadioColorTool.."_error_color_foreground_a"] = "255", - [RadioColorTool.."_error_color_foreground_b"] = "255", - [RadioColorTool.."_error_color_foreground_g"] = "255", - [RadioColorTool.."_error_color_foreground_r"] = "255", - [RadioColorTool.."_error_color_g"] = "105", - [RadioColorTool.."_error_color_r"] = "90", - [RadioColorTool.."_error_color_shadow_a"] = "255", - [RadioColorTool.."_error_color_shadow_b"] = "40", - [RadioColorTool.."_error_color_shadow_g"] = "40", - [RadioColorTool.."_error_color_shadow_r"] = "40", - [RadioColorTool.."_header_color_a"] = "255", - [RadioColorTool.."_header_color_b"] = "88", - [RadioColorTool.."_header_color_foreground_a"] = "255", - [RadioColorTool.."_header_color_foreground_b"] = "255", - [RadioColorTool.."_header_color_foreground_g"] = "255", - [RadioColorTool.."_header_color_foreground_r"] = "255", - [RadioColorTool.."_header_color_g"] = "82", - [RadioColorTool.."_header_color_r"] = "68", - [RadioColorTool.."_header_color_shadow_a"] = "255", - [RadioColorTool.."_header_color_shadow_b"] = "40", - [RadioColorTool.."_header_color_shadow_g"] = "40", - [RadioColorTool.."_header_color_shadow_r"] = "40", - [RadioColorTool.."_main_color_a"] = "255", - [RadioColorTool.."_main_color_b"] = "68", - [RadioColorTool.."_main_color_g"] = "0", - [RadioColorTool.."_main_color_r"] = "15", - [RadioColorTool.."_spectrum_color_a"] = "255", - [RadioColorTool.."_spectrum_color_b"] = "52", - [RadioColorTool.."_spectrum_color_foreground_a"] = "255", - [RadioColorTool.."_spectrum_color_foreground_b"] = "182", - [RadioColorTool.."_spectrum_color_foreground_g"] = "170", - [RadioColorTool.."_spectrum_color_foreground_r"] = "110", - [RadioColorTool.."_spectrum_color_g"] = "50", - [RadioColorTool.."_spectrum_color_icon_a"] = "255", - [RadioColorTool.."_spectrum_color_icon_b"] = "255", - [RadioColorTool.."_spectrum_color_icon_g"] = "255", - [RadioColorTool.."_spectrum_color_icon_r"] = "255", - [RadioColorTool.."_spectrum_color_r"] = "46", - [RadioColorTool.."_spectrum_color_shadow_a"] = "255", - [RadioColorTool.."_spectrum_color_shadow_b"] = "40", - [RadioColorTool.."_spectrum_color_shadow_g"] = "40", - [RadioColorTool.."_spectrum_color_shadow_r"] = "40", + [RadioColorTool .. "_border_color_border_a"] = "255", + [RadioColorTool .. "_border_color_border_b"] = "0", + [RadioColorTool .. "_border_color_border_g"] = "0", + [RadioColorTool .. "_border_color_border_r"] = "0", + [RadioColorTool .. "_button_color_a"] = "255", + [RadioColorTool .. "_button_color_b"] = "173", + [RadioColorTool .. "_button_color_disabled_a"] = "255", + [RadioColorTool .. "_button_color_disabled_b"] = "64", + [RadioColorTool .. "_button_color_disabled_g"] = "64", + [RadioColorTool .. "_button_color_disabled_r"] = "64", + [RadioColorTool .. "_button_color_foreground_a"] = "255", + [RadioColorTool .. "_button_color_foreground_b"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_a"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_b"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_g"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_r"] = "0", + [RadioColorTool .. "_button_color_foreground_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_a"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_b"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_r"] = "0", + [RadioColorTool .. "_button_color_foreground_r"] = "0", + [RadioColorTool .. "_button_color_g"] = "173", + [RadioColorTool .. "_button_color_hover_a"] = "255", + [RadioColorTool .. "_button_color_hover_b"] = "128", + [RadioColorTool .. "_button_color_hover_g"] = "128", + [RadioColorTool .. "_button_color_hover_r"] = "128", + [RadioColorTool .. "_button_color_icon_a"] = "255", + [RadioColorTool .. "_button_color_icon_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_a"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_g"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_r"] = "255", + [RadioColorTool .. "_button_color_icon_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_a"] = "255", + [RadioColorTool .. "_button_color_icon_hover_b"] = "255", + [RadioColorTool .. "_button_color_icon_hover_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_r"] = "255", + [RadioColorTool .. "_button_color_icon_r"] = "255", + [RadioColorTool .. "_button_color_r"] = "0", + [RadioColorTool .. "_button_color_shadow_a"] = "255", + [RadioColorTool .. "_button_color_shadow_b"] = "40", + [RadioColorTool .. "_button_color_shadow_g"] = "40", + [RadioColorTool .. "_button_color_shadow_r"] = "40", + [RadioColorTool .. "_cursor_color_cursor_a"] = "255", + [RadioColorTool .. "_cursor_color_cursor_b"] = "255", + [RadioColorTool .. "_cursor_color_cursor_g"] = "255", + [RadioColorTool .. "_cursor_color_cursor_r"] = "255", + [RadioColorTool .. "_error_color_a"] = "255", + [RadioColorTool .. "_error_color_b"] = "113", + [RadioColorTool .. "_error_color_foreground_a"] = "255", + [RadioColorTool .. "_error_color_foreground_b"] = "255", + [RadioColorTool .. "_error_color_foreground_g"] = "255", + [RadioColorTool .. "_error_color_foreground_r"] = "255", + [RadioColorTool .. "_error_color_g"] = "105", + [RadioColorTool .. "_error_color_r"] = "90", + [RadioColorTool .. "_error_color_shadow_a"] = "255", + [RadioColorTool .. "_error_color_shadow_b"] = "40", + [RadioColorTool .. "_error_color_shadow_g"] = "40", + [RadioColorTool .. "_error_color_shadow_r"] = "40", + [RadioColorTool .. "_header_color_a"] = "255", + [RadioColorTool .. "_header_color_b"] = "88", + [RadioColorTool .. "_header_color_foreground_a"] = "255", + [RadioColorTool .. "_header_color_foreground_b"] = "255", + [RadioColorTool .. "_header_color_foreground_g"] = "255", + [RadioColorTool .. "_header_color_foreground_r"] = "255", + [RadioColorTool .. "_header_color_g"] = "82", + [RadioColorTool .. "_header_color_r"] = "68", + [RadioColorTool .. "_header_color_shadow_a"] = "255", + [RadioColorTool .. "_header_color_shadow_b"] = "40", + [RadioColorTool .. "_header_color_shadow_g"] = "40", + [RadioColorTool .. "_header_color_shadow_r"] = "40", + [RadioColorTool .. "_main_color_a"] = "255", + [RadioColorTool .. "_main_color_b"] = "68", + [RadioColorTool .. "_main_color_g"] = "0", + [RadioColorTool .. "_main_color_r"] = "15", + [RadioColorTool .. "_spectrum_color_a"] = "255", + [RadioColorTool .. "_spectrum_color_b"] = "52", + [RadioColorTool .. "_spectrum_color_foreground_a"] = "255", + [RadioColorTool .. "_spectrum_color_foreground_b"] = "182", + [RadioColorTool .. "_spectrum_color_foreground_g"] = "170", + [RadioColorTool .. "_spectrum_color_foreground_r"] = "110", + [RadioColorTool .. "_spectrum_color_g"] = "50", + [RadioColorTool .. "_spectrum_color_icon_a"] = "255", + [RadioColorTool .. "_spectrum_color_icon_b"] = "255", + [RadioColorTool .. "_spectrum_color_icon_g"] = "255", + [RadioColorTool .. "_spectrum_color_icon_r"] = "255", + [RadioColorTool .. "_spectrum_color_r"] = "46", + [RadioColorTool .. "_spectrum_color_shadow_a"] = "255", + [RadioColorTool .. "_spectrum_color_shadow_b"] = "40", + [RadioColorTool .. "_spectrum_color_shadow_g"] = "40", + [RadioColorTool .. "_spectrum_color_shadow_r"] = "40", }, ["Gray"] = { - [RadioColorTool.."_border_color_border_a"] = "255", - [RadioColorTool.."_border_color_border_b"] = "2", - [RadioColorTool.."_border_color_border_g"] = "2", - [RadioColorTool.."_border_color_border_r"] = "2", - [RadioColorTool.."_button_color_a"] = "255", - [RadioColorTool.."_button_color_b"] = "173", - [RadioColorTool.."_button_color_disabled_a"] = "255", - [RadioColorTool.."_button_color_disabled_b"] = "52", - [RadioColorTool.."_button_color_disabled_g"] = "52", - [RadioColorTool.."_button_color_disabled_r"] = "52", - [RadioColorTool.."_button_color_foreground_a"] = "255", - [RadioColorTool.."_button_color_foreground_b"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_a"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_b"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_g"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_r"] = "255", - [RadioColorTool.."_button_color_foreground_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_a"] = "255", - [RadioColorTool.."_button_color_foreground_hover_b"] = "255", - [RadioColorTool.."_button_color_foreground_hover_g"] = "255", - [RadioColorTool.."_button_color_foreground_hover_r"] = "255", - [RadioColorTool.."_button_color_foreground_r"] = "0", - [RadioColorTool.."_button_color_g"] = "173", - [RadioColorTool.."_button_color_hover_a"] = "255", - [RadioColorTool.."_button_color_hover_b"] = "79", - [RadioColorTool.."_button_color_hover_g"] = "79", - [RadioColorTool.."_button_color_hover_r"] = "79", - [RadioColorTool.."_button_color_icon_a"] = "255", - [RadioColorTool.."_button_color_icon_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_a"] = "255", - [RadioColorTool.."_button_color_icon_disabled_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_g"] = "255", - [RadioColorTool.."_button_color_icon_disabled_r"] = "255", - [RadioColorTool.."_button_color_icon_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_a"] = "255", - [RadioColorTool.."_button_color_icon_hover_b"] = "255", - [RadioColorTool.."_button_color_icon_hover_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_r"] = "255", - [RadioColorTool.."_button_color_icon_r"] = "255", - [RadioColorTool.."_button_color_r"] = "173", - [RadioColorTool.."_button_color_shadow_a"] = "255", - [RadioColorTool.."_button_color_shadow_b"] = "40", - [RadioColorTool.."_button_color_shadow_g"] = "40", - [RadioColorTool.."_button_color_shadow_r"] = "40", - [RadioColorTool.."_cursor_color_cursor_a"] = "255", - [RadioColorTool.."_cursor_color_cursor_b"] = "255", - [RadioColorTool.."_cursor_color_cursor_g"] = "255", - [RadioColorTool.."_cursor_color_cursor_r"] = "255", - [RadioColorTool.."_error_color_a"] = "255", - [RadioColorTool.."_error_color_b"] = "200", - [RadioColorTool.."_error_color_foreground_a"] = "255", - [RadioColorTool.."_error_color_foreground_b"] = "0", - [RadioColorTool.."_error_color_foreground_g"] = "0", - [RadioColorTool.."_error_color_foreground_r"] = "0", - [RadioColorTool.."_error_color_g"] = "200", - [RadioColorTool.."_error_color_r"] = "200", - [RadioColorTool.."_error_color_shadow_a"] = "255", - [RadioColorTool.."_error_color_shadow_b"] = "40", - [RadioColorTool.."_error_color_shadow_g"] = "40", - [RadioColorTool.."_error_color_shadow_r"] = "40", - [RadioColorTool.."_header_color_a"] = "255", - [RadioColorTool.."_header_color_b"] = "107", - [RadioColorTool.."_header_color_foreground_a"] = "255", - [RadioColorTool.."_header_color_foreground_b"] = "0", - [RadioColorTool.."_header_color_foreground_g"] = "0", - [RadioColorTool.."_header_color_foreground_r"] = "0", - [RadioColorTool.."_header_color_g"] = "107", - [RadioColorTool.."_header_color_r"] = "109", - [RadioColorTool.."_header_color_shadow_a"] = "255", - [RadioColorTool.."_header_color_shadow_b"] = "40", - [RadioColorTool.."_header_color_shadow_g"] = "40", - [RadioColorTool.."_header_color_shadow_r"] = "40", - [RadioColorTool.."_main_color_a"] = "255", - [RadioColorTool.."_main_color_b"] = "0", - [RadioColorTool.."_main_color_g"] = "0", - [RadioColorTool.."_main_color_r"] = "0", - [RadioColorTool.."_spectrum_color_a"] = "255", - [RadioColorTool.."_spectrum_color_b"] = "59", - [RadioColorTool.."_spectrum_color_foreground_a"] = "255", - [RadioColorTool.."_spectrum_color_foreground_b"] = "194", - [RadioColorTool.."_spectrum_color_foreground_g"] = "194", - [RadioColorTool.."_spectrum_color_foreground_r"] = "195", - [RadioColorTool.."_spectrum_color_g"] = "59", - [RadioColorTool.."_spectrum_color_icon_a"] = "255", - [RadioColorTool.."_spectrum_color_icon_b"] = "255", - [RadioColorTool.."_spectrum_color_icon_g"] = "255", - [RadioColorTool.."_spectrum_color_icon_r"] = "255", - [RadioColorTool.."_spectrum_color_r"] = "59", - [RadioColorTool.."_spectrum_color_shadow_a"] = "255", - [RadioColorTool.."_spectrum_color_shadow_b"] = "40", - [RadioColorTool.."_spectrum_color_shadow_g"] = "40", - [RadioColorTool.."_spectrum_color_shadow_r"] = "40", + [RadioColorTool .. "_border_color_border_a"] = "255", + [RadioColorTool .. "_border_color_border_b"] = "2", + [RadioColorTool .. "_border_color_border_g"] = "2", + [RadioColorTool .. "_border_color_border_r"] = "2", + [RadioColorTool .. "_button_color_a"] = "255", + [RadioColorTool .. "_button_color_b"] = "173", + [RadioColorTool .. "_button_color_disabled_a"] = "255", + [RadioColorTool .. "_button_color_disabled_b"] = "52", + [RadioColorTool .. "_button_color_disabled_g"] = "52", + [RadioColorTool .. "_button_color_disabled_r"] = "52", + [RadioColorTool .. "_button_color_foreground_a"] = "255", + [RadioColorTool .. "_button_color_foreground_b"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_a"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_b"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_g"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_r"] = "255", + [RadioColorTool .. "_button_color_foreground_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_a"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_b"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_g"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_r"] = "255", + [RadioColorTool .. "_button_color_foreground_r"] = "0", + [RadioColorTool .. "_button_color_g"] = "173", + [RadioColorTool .. "_button_color_hover_a"] = "255", + [RadioColorTool .. "_button_color_hover_b"] = "79", + [RadioColorTool .. "_button_color_hover_g"] = "79", + [RadioColorTool .. "_button_color_hover_r"] = "79", + [RadioColorTool .. "_button_color_icon_a"] = "255", + [RadioColorTool .. "_button_color_icon_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_a"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_g"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_r"] = "255", + [RadioColorTool .. "_button_color_icon_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_a"] = "255", + [RadioColorTool .. "_button_color_icon_hover_b"] = "255", + [RadioColorTool .. "_button_color_icon_hover_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_r"] = "255", + [RadioColorTool .. "_button_color_icon_r"] = "255", + [RadioColorTool .. "_button_color_r"] = "173", + [RadioColorTool .. "_button_color_shadow_a"] = "255", + [RadioColorTool .. "_button_color_shadow_b"] = "40", + [RadioColorTool .. "_button_color_shadow_g"] = "40", + [RadioColorTool .. "_button_color_shadow_r"] = "40", + [RadioColorTool .. "_cursor_color_cursor_a"] = "255", + [RadioColorTool .. "_cursor_color_cursor_b"] = "255", + [RadioColorTool .. "_cursor_color_cursor_g"] = "255", + [RadioColorTool .. "_cursor_color_cursor_r"] = "255", + [RadioColorTool .. "_error_color_a"] = "255", + [RadioColorTool .. "_error_color_b"] = "200", + [RadioColorTool .. "_error_color_foreground_a"] = "255", + [RadioColorTool .. "_error_color_foreground_b"] = "0", + [RadioColorTool .. "_error_color_foreground_g"] = "0", + [RadioColorTool .. "_error_color_foreground_r"] = "0", + [RadioColorTool .. "_error_color_g"] = "200", + [RadioColorTool .. "_error_color_r"] = "200", + [RadioColorTool .. "_error_color_shadow_a"] = "255", + [RadioColorTool .. "_error_color_shadow_b"] = "40", + [RadioColorTool .. "_error_color_shadow_g"] = "40", + [RadioColorTool .. "_error_color_shadow_r"] = "40", + [RadioColorTool .. "_header_color_a"] = "255", + [RadioColorTool .. "_header_color_b"] = "107", + [RadioColorTool .. "_header_color_foreground_a"] = "255", + [RadioColorTool .. "_header_color_foreground_b"] = "0", + [RadioColorTool .. "_header_color_foreground_g"] = "0", + [RadioColorTool .. "_header_color_foreground_r"] = "0", + [RadioColorTool .. "_header_color_g"] = "107", + [RadioColorTool .. "_header_color_r"] = "109", + [RadioColorTool .. "_header_color_shadow_a"] = "255", + [RadioColorTool .. "_header_color_shadow_b"] = "40", + [RadioColorTool .. "_header_color_shadow_g"] = "40", + [RadioColorTool .. "_header_color_shadow_r"] = "40", + [RadioColorTool .. "_main_color_a"] = "255", + [RadioColorTool .. "_main_color_b"] = "0", + [RadioColorTool .. "_main_color_g"] = "0", + [RadioColorTool .. "_main_color_r"] = "0", + [RadioColorTool .. "_spectrum_color_a"] = "255", + [RadioColorTool .. "_spectrum_color_b"] = "59", + [RadioColorTool .. "_spectrum_color_foreground_a"] = "255", + [RadioColorTool .. "_spectrum_color_foreground_b"] = "194", + [RadioColorTool .. "_spectrum_color_foreground_g"] = "194", + [RadioColorTool .. "_spectrum_color_foreground_r"] = "195", + [RadioColorTool .. "_spectrum_color_g"] = "59", + [RadioColorTool .. "_spectrum_color_icon_a"] = "255", + [RadioColorTool .. "_spectrum_color_icon_b"] = "255", + [RadioColorTool .. "_spectrum_color_icon_g"] = "255", + [RadioColorTool .. "_spectrum_color_icon_r"] = "255", + [RadioColorTool .. "_spectrum_color_r"] = "59", + [RadioColorTool .. "_spectrum_color_shadow_a"] = "255", + [RadioColorTool .. "_spectrum_color_shadow_b"] = "40", + [RadioColorTool .. "_spectrum_color_shadow_g"] = "40", + [RadioColorTool .. "_spectrum_color_shadow_r"] = "40", }, ["Jamaica"] = { - [RadioColorTool.."_border_color_border_a"] = "255", - [RadioColorTool.."_border_color_border_b"] = "0", - [RadioColorTool.."_border_color_border_g"] = "0", - [RadioColorTool.."_border_color_border_r"] = "0", - [RadioColorTool.."_button_color_a"] = "255", - [RadioColorTool.."_button_color_b"] = "0", - [RadioColorTool.."_button_color_disabled_a"] = "255", - [RadioColorTool.."_button_color_disabled_b"] = "0", - [RadioColorTool.."_button_color_disabled_g"] = "0", - [RadioColorTool.."_button_color_disabled_r"] = "43", - [RadioColorTool.."_button_color_foreground_a"] = "255", - [RadioColorTool.."_button_color_foreground_b"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_a"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_b"] = "161", - [RadioColorTool.."_button_color_foreground_disabled_g"] = "161", - [RadioColorTool.."_button_color_foreground_disabled_r"] = "161", - [RadioColorTool.."_button_color_foreground_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_a"] = "255", - [RadioColorTool.."_button_color_foreground_hover_b"] = "0", - [RadioColorTool.."_button_color_foreground_hover_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_r"] = "0", - [RadioColorTool.."_button_color_foreground_r"] = "0", - [RadioColorTool.."_button_color_g"] = "86", - [RadioColorTool.."_button_color_hover_a"] = "255", - [RadioColorTool.."_button_color_hover_b"] = "91", - [RadioColorTool.."_button_color_hover_g"] = "91", - [RadioColorTool.."_button_color_hover_r"] = "91", - [RadioColorTool.."_button_color_icon_a"] = "255", - [RadioColorTool.."_button_color_icon_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_a"] = "255", - [RadioColorTool.."_button_color_icon_disabled_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_g"] = "255", - [RadioColorTool.."_button_color_icon_disabled_r"] = "255", - [RadioColorTool.."_button_color_icon_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_a"] = "255", - [RadioColorTool.."_button_color_icon_hover_b"] = "255", - [RadioColorTool.."_button_color_icon_hover_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_r"] = "255", - [RadioColorTool.."_button_color_icon_r"] = "255", - [RadioColorTool.."_button_color_r"] = "0", - [RadioColorTool.."_button_color_shadow_a"] = "255", - [RadioColorTool.."_button_color_shadow_b"] = "0", - [RadioColorTool.."_button_color_shadow_g"] = "0", - [RadioColorTool.."_button_color_shadow_r"] = "0", - [RadioColorTool.."_cursor_color_cursor_a"] = "255", - [RadioColorTool.."_cursor_color_cursor_b"] = "255", - [RadioColorTool.."_cursor_color_cursor_g"] = "255", - [RadioColorTool.."_cursor_color_cursor_r"] = "255", - [RadioColorTool.."_error_color_a"] = "255", - [RadioColorTool.."_error_color_b"] = "64", - [RadioColorTool.."_error_color_foreground_a"] = "255", - [RadioColorTool.."_error_color_foreground_b"] = "200", - [RadioColorTool.."_error_color_foreground_g"] = "200", - [RadioColorTool.."_error_color_foreground_r"] = "200", - [RadioColorTool.."_error_color_g"] = "64", - [RadioColorTool.."_error_color_r"] = "64", - [RadioColorTool.."_error_color_shadow_a"] = "255", - [RadioColorTool.."_error_color_shadow_b"] = "0", - [RadioColorTool.."_error_color_shadow_g"] = "0", - [RadioColorTool.."_error_color_shadow_r"] = "0", - [RadioColorTool.."_header_color_a"] = "255", - [RadioColorTool.."_header_color_b"] = "0", - [RadioColorTool.."_header_color_foreground_a"] = "255", - [RadioColorTool.."_header_color_foreground_b"] = "0", - [RadioColorTool.."_header_color_foreground_g"] = "0", - [RadioColorTool.."_header_color_foreground_r"] = "0", - [RadioColorTool.."_header_color_g"] = "86", - [RadioColorTool.."_header_color_r"] = "86", - [RadioColorTool.."_header_color_shadow_a"] = "255", - [RadioColorTool.."_header_color_shadow_b"] = "0", - [RadioColorTool.."_header_color_shadow_g"] = "0", - [RadioColorTool.."_header_color_shadow_r"] = "0", - [RadioColorTool.."_main_color_a"] = "255", - [RadioColorTool.."_main_color_b"] = "40", - [RadioColorTool.."_main_color_g"] = "40", - [RadioColorTool.."_main_color_r"] = "40", - [RadioColorTool.."_spectrum_color_a"] = "255", - [RadioColorTool.."_spectrum_color_b"] = "0", - [RadioColorTool.."_spectrum_color_foreground_a"] = "255", - [RadioColorTool.."_spectrum_color_foreground_b"] = "0", - [RadioColorTool.."_spectrum_color_foreground_g"] = "195", - [RadioColorTool.."_spectrum_color_foreground_r"] = "195", - [RadioColorTool.."_spectrum_color_g"] = "0", - [RadioColorTool.."_spectrum_color_icon_a"] = "255", - [RadioColorTool.."_spectrum_color_icon_b"] = "255", - [RadioColorTool.."_spectrum_color_icon_g"] = "255", - [RadioColorTool.."_spectrum_color_icon_r"] = "255", - [RadioColorTool.."_spectrum_color_r"] = "77", - [RadioColorTool.."_spectrum_color_shadow_a"] = "255", - [RadioColorTool.."_spectrum_color_shadow_b"] = "0", - [RadioColorTool.."_spectrum_color_shadow_g"] = "0", - [RadioColorTool.."_spectrum_color_shadow_r"] = "0", + [RadioColorTool .. "_border_color_border_a"] = "255", + [RadioColorTool .. "_border_color_border_b"] = "0", + [RadioColorTool .. "_border_color_border_g"] = "0", + [RadioColorTool .. "_border_color_border_r"] = "0", + [RadioColorTool .. "_button_color_a"] = "255", + [RadioColorTool .. "_button_color_b"] = "0", + [RadioColorTool .. "_button_color_disabled_a"] = "255", + [RadioColorTool .. "_button_color_disabled_b"] = "0", + [RadioColorTool .. "_button_color_disabled_g"] = "0", + [RadioColorTool .. "_button_color_disabled_r"] = "43", + [RadioColorTool .. "_button_color_foreground_a"] = "255", + [RadioColorTool .. "_button_color_foreground_b"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_a"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_b"] = "161", + [RadioColorTool .. "_button_color_foreground_disabled_g"] = "161", + [RadioColorTool .. "_button_color_foreground_disabled_r"] = "161", + [RadioColorTool .. "_button_color_foreground_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_a"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_b"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_r"] = "0", + [RadioColorTool .. "_button_color_foreground_r"] = "0", + [RadioColorTool .. "_button_color_g"] = "86", + [RadioColorTool .. "_button_color_hover_a"] = "255", + [RadioColorTool .. "_button_color_hover_b"] = "91", + [RadioColorTool .. "_button_color_hover_g"] = "91", + [RadioColorTool .. "_button_color_hover_r"] = "91", + [RadioColorTool .. "_button_color_icon_a"] = "255", + [RadioColorTool .. "_button_color_icon_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_a"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_g"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_r"] = "255", + [RadioColorTool .. "_button_color_icon_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_a"] = "255", + [RadioColorTool .. "_button_color_icon_hover_b"] = "255", + [RadioColorTool .. "_button_color_icon_hover_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_r"] = "255", + [RadioColorTool .. "_button_color_icon_r"] = "255", + [RadioColorTool .. "_button_color_r"] = "0", + [RadioColorTool .. "_button_color_shadow_a"] = "255", + [RadioColorTool .. "_button_color_shadow_b"] = "0", + [RadioColorTool .. "_button_color_shadow_g"] = "0", + [RadioColorTool .. "_button_color_shadow_r"] = "0", + [RadioColorTool .. "_cursor_color_cursor_a"] = "255", + [RadioColorTool .. "_cursor_color_cursor_b"] = "255", + [RadioColorTool .. "_cursor_color_cursor_g"] = "255", + [RadioColorTool .. "_cursor_color_cursor_r"] = "255", + [RadioColorTool .. "_error_color_a"] = "255", + [RadioColorTool .. "_error_color_b"] = "64", + [RadioColorTool .. "_error_color_foreground_a"] = "255", + [RadioColorTool .. "_error_color_foreground_b"] = "200", + [RadioColorTool .. "_error_color_foreground_g"] = "200", + [RadioColorTool .. "_error_color_foreground_r"] = "200", + [RadioColorTool .. "_error_color_g"] = "64", + [RadioColorTool .. "_error_color_r"] = "64", + [RadioColorTool .. "_error_color_shadow_a"] = "255", + [RadioColorTool .. "_error_color_shadow_b"] = "0", + [RadioColorTool .. "_error_color_shadow_g"] = "0", + [RadioColorTool .. "_error_color_shadow_r"] = "0", + [RadioColorTool .. "_header_color_a"] = "255", + [RadioColorTool .. "_header_color_b"] = "0", + [RadioColorTool .. "_header_color_foreground_a"] = "255", + [RadioColorTool .. "_header_color_foreground_b"] = "0", + [RadioColorTool .. "_header_color_foreground_g"] = "0", + [RadioColorTool .. "_header_color_foreground_r"] = "0", + [RadioColorTool .. "_header_color_g"] = "86", + [RadioColorTool .. "_header_color_r"] = "86", + [RadioColorTool .. "_header_color_shadow_a"] = "255", + [RadioColorTool .. "_header_color_shadow_b"] = "0", + [RadioColorTool .. "_header_color_shadow_g"] = "0", + [RadioColorTool .. "_header_color_shadow_r"] = "0", + [RadioColorTool .. "_main_color_a"] = "255", + [RadioColorTool .. "_main_color_b"] = "40", + [RadioColorTool .. "_main_color_g"] = "40", + [RadioColorTool .. "_main_color_r"] = "40", + [RadioColorTool .. "_spectrum_color_a"] = "255", + [RadioColorTool .. "_spectrum_color_b"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_a"] = "255", + [RadioColorTool .. "_spectrum_color_foreground_b"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_g"] = "195", + [RadioColorTool .. "_spectrum_color_foreground_r"] = "195", + [RadioColorTool .. "_spectrum_color_g"] = "0", + [RadioColorTool .. "_spectrum_color_icon_a"] = "255", + [RadioColorTool .. "_spectrum_color_icon_b"] = "255", + [RadioColorTool .. "_spectrum_color_icon_g"] = "255", + [RadioColorTool .. "_spectrum_color_icon_r"] = "255", + [RadioColorTool .. "_spectrum_color_r"] = "77", + [RadioColorTool .. "_spectrum_color_shadow_a"] = "255", + [RadioColorTool .. "_spectrum_color_shadow_b"] = "0", + [RadioColorTool .. "_spectrum_color_shadow_g"] = "0", + [RadioColorTool .. "_spectrum_color_shadow_r"] = "0", }, ["Lava"] = { - [RadioColorTool.."_border_color_border_a"] = "255", - [RadioColorTool.."_border_color_border_b"] = "0", - [RadioColorTool.."_border_color_border_g"] = "0", - [RadioColorTool.."_border_color_border_r"] = "104", - [RadioColorTool.."_button_color_a"] = "255", - [RadioColorTool.."_button_color_b"] = "84", - [RadioColorTool.."_button_color_disabled_a"] = "255", - [RadioColorTool.."_button_color_disabled_b"] = "64", - [RadioColorTool.."_button_color_disabled_g"] = "64", - [RadioColorTool.."_button_color_disabled_r"] = "64", - [RadioColorTool.."_button_color_foreground_a"] = "255", - [RadioColorTool.."_button_color_foreground_b"] = "130", - [RadioColorTool.."_button_color_foreground_disabled_a"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_b"] = "200", - [RadioColorTool.."_button_color_foreground_disabled_g"] = "200", - [RadioColorTool.."_button_color_foreground_disabled_r"] = "200", - [RadioColorTool.."_button_color_foreground_g"] = "130", - [RadioColorTool.."_button_color_foreground_hover_a"] = "255", - [RadioColorTool.."_button_color_foreground_hover_b"] = "0", - [RadioColorTool.."_button_color_foreground_hover_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_r"] = "255", - [RadioColorTool.."_button_color_foreground_r"] = "255", - [RadioColorTool.."_button_color_g"] = "84", - [RadioColorTool.."_button_color_hover_a"] = "255", - [RadioColorTool.."_button_color_hover_b"] = "0", - [RadioColorTool.."_button_color_hover_g"] = "0", - [RadioColorTool.."_button_color_hover_r"] = "38", - [RadioColorTool.."_button_color_icon_a"] = "255", - [RadioColorTool.."_button_color_icon_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_a"] = "255", - [RadioColorTool.."_button_color_icon_disabled_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_g"] = "255", - [RadioColorTool.."_button_color_icon_disabled_r"] = "255", - [RadioColorTool.."_button_color_icon_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_a"] = "255", - [RadioColorTool.."_button_color_icon_hover_b"] = "255", - [RadioColorTool.."_button_color_icon_hover_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_r"] = "255", - [RadioColorTool.."_button_color_icon_r"] = "255", - [RadioColorTool.."_button_color_r"] = "84", - [RadioColorTool.."_button_color_shadow_a"] = "255", - [RadioColorTool.."_button_color_shadow_b"] = "27", - [RadioColorTool.."_button_color_shadow_g"] = "27", - [RadioColorTool.."_button_color_shadow_r"] = "27", - [RadioColorTool.."_cursor_color_cursor_a"] = "255", - [RadioColorTool.."_cursor_color_cursor_b"] = "255", - [RadioColorTool.."_cursor_color_cursor_g"] = "255", - [RadioColorTool.."_cursor_color_cursor_r"] = "255", - [RadioColorTool.."_error_color_a"] = "255", - [RadioColorTool.."_error_color_b"] = "16", - [RadioColorTool.."_error_color_foreground_a"] = "255", - [RadioColorTool.."_error_color_foreground_b"] = "64", - [RadioColorTool.."_error_color_foreground_g"] = "64", - [RadioColorTool.."_error_color_foreground_r"] = "255", - [RadioColorTool.."_error_color_g"] = "16", - [RadioColorTool.."_error_color_r"] = "16", - [RadioColorTool.."_error_color_shadow_a"] = "255", - [RadioColorTool.."_error_color_shadow_b"] = "27", - [RadioColorTool.."_error_color_shadow_g"] = "27", - [RadioColorTool.."_error_color_shadow_r"] = "27", - [RadioColorTool.."_header_color_a"] = "255", - [RadioColorTool.."_header_color_b"] = "36", - [RadioColorTool.."_header_color_foreground_a"] = "255", - [RadioColorTool.."_header_color_foreground_b"] = "0", - [RadioColorTool.."_header_color_foreground_g"] = "0", - [RadioColorTool.."_header_color_foreground_r"] = "255", - [RadioColorTool.."_header_color_g"] = "36", - [RadioColorTool.."_header_color_r"] = "36", - [RadioColorTool.."_header_color_shadow_a"] = "255", - [RadioColorTool.."_header_color_shadow_b"] = "27", - [RadioColorTool.."_header_color_shadow_g"] = "27", - [RadioColorTool.."_header_color_shadow_r"] = "27", - [RadioColorTool.."_main_color_a"] = "255", - [RadioColorTool.."_main_color_b"] = "45", - [RadioColorTool.."_main_color_g"] = "45", - [RadioColorTool.."_main_color_r"] = "45", - [RadioColorTool.."_spectrum_color_a"] = "255", - [RadioColorTool.."_spectrum_color_b"] = "0", - [RadioColorTool.."_spectrum_color_foreground_a"] = "255", - [RadioColorTool.."_spectrum_color_foreground_b"] = "0", - [RadioColorTool.."_spectrum_color_foreground_g"] = "0", - [RadioColorTool.."_spectrum_color_foreground_r"] = "255", - [RadioColorTool.."_spectrum_color_g"] = "14", - [RadioColorTool.."_spectrum_color_icon_a"] = "255", - [RadioColorTool.."_spectrum_color_icon_b"] = "255", - [RadioColorTool.."_spectrum_color_icon_g"] = "255", - [RadioColorTool.."_spectrum_color_icon_r"] = "255", - [RadioColorTool.."_spectrum_color_r"] = "54", - [RadioColorTool.."_spectrum_color_shadow_a"] = "255", - [RadioColorTool.."_spectrum_color_shadow_b"] = "27", - [RadioColorTool.."_spectrum_color_shadow_g"] = "27", - [RadioColorTool.."_spectrum_color_shadow_r"] = "27", + [RadioColorTool .. "_border_color_border_a"] = "255", + [RadioColorTool .. "_border_color_border_b"] = "0", + [RadioColorTool .. "_border_color_border_g"] = "0", + [RadioColorTool .. "_border_color_border_r"] = "104", + [RadioColorTool .. "_button_color_a"] = "255", + [RadioColorTool .. "_button_color_b"] = "84", + [RadioColorTool .. "_button_color_disabled_a"] = "255", + [RadioColorTool .. "_button_color_disabled_b"] = "64", + [RadioColorTool .. "_button_color_disabled_g"] = "64", + [RadioColorTool .. "_button_color_disabled_r"] = "64", + [RadioColorTool .. "_button_color_foreground_a"] = "255", + [RadioColorTool .. "_button_color_foreground_b"] = "130", + [RadioColorTool .. "_button_color_foreground_disabled_a"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_b"] = "200", + [RadioColorTool .. "_button_color_foreground_disabled_g"] = "200", + [RadioColorTool .. "_button_color_foreground_disabled_r"] = "200", + [RadioColorTool .. "_button_color_foreground_g"] = "130", + [RadioColorTool .. "_button_color_foreground_hover_a"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_b"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_r"] = "255", + [RadioColorTool .. "_button_color_foreground_r"] = "255", + [RadioColorTool .. "_button_color_g"] = "84", + [RadioColorTool .. "_button_color_hover_a"] = "255", + [RadioColorTool .. "_button_color_hover_b"] = "0", + [RadioColorTool .. "_button_color_hover_g"] = "0", + [RadioColorTool .. "_button_color_hover_r"] = "38", + [RadioColorTool .. "_button_color_icon_a"] = "255", + [RadioColorTool .. "_button_color_icon_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_a"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_g"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_r"] = "255", + [RadioColorTool .. "_button_color_icon_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_a"] = "255", + [RadioColorTool .. "_button_color_icon_hover_b"] = "255", + [RadioColorTool .. "_button_color_icon_hover_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_r"] = "255", + [RadioColorTool .. "_button_color_icon_r"] = "255", + [RadioColorTool .. "_button_color_r"] = "84", + [RadioColorTool .. "_button_color_shadow_a"] = "255", + [RadioColorTool .. "_button_color_shadow_b"] = "27", + [RadioColorTool .. "_button_color_shadow_g"] = "27", + [RadioColorTool .. "_button_color_shadow_r"] = "27", + [RadioColorTool .. "_cursor_color_cursor_a"] = "255", + [RadioColorTool .. "_cursor_color_cursor_b"] = "255", + [RadioColorTool .. "_cursor_color_cursor_g"] = "255", + [RadioColorTool .. "_cursor_color_cursor_r"] = "255", + [RadioColorTool .. "_error_color_a"] = "255", + [RadioColorTool .. "_error_color_b"] = "16", + [RadioColorTool .. "_error_color_foreground_a"] = "255", + [RadioColorTool .. "_error_color_foreground_b"] = "64", + [RadioColorTool .. "_error_color_foreground_g"] = "64", + [RadioColorTool .. "_error_color_foreground_r"] = "255", + [RadioColorTool .. "_error_color_g"] = "16", + [RadioColorTool .. "_error_color_r"] = "16", + [RadioColorTool .. "_error_color_shadow_a"] = "255", + [RadioColorTool .. "_error_color_shadow_b"] = "27", + [RadioColorTool .. "_error_color_shadow_g"] = "27", + [RadioColorTool .. "_error_color_shadow_r"] = "27", + [RadioColorTool .. "_header_color_a"] = "255", + [RadioColorTool .. "_header_color_b"] = "36", + [RadioColorTool .. "_header_color_foreground_a"] = "255", + [RadioColorTool .. "_header_color_foreground_b"] = "0", + [RadioColorTool .. "_header_color_foreground_g"] = "0", + [RadioColorTool .. "_header_color_foreground_r"] = "255", + [RadioColorTool .. "_header_color_g"] = "36", + [RadioColorTool .. "_header_color_r"] = "36", + [RadioColorTool .. "_header_color_shadow_a"] = "255", + [RadioColorTool .. "_header_color_shadow_b"] = "27", + [RadioColorTool .. "_header_color_shadow_g"] = "27", + [RadioColorTool .. "_header_color_shadow_r"] = "27", + [RadioColorTool .. "_main_color_a"] = "255", + [RadioColorTool .. "_main_color_b"] = "45", + [RadioColorTool .. "_main_color_g"] = "45", + [RadioColorTool .. "_main_color_r"] = "45", + [RadioColorTool .. "_spectrum_color_a"] = "255", + [RadioColorTool .. "_spectrum_color_b"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_a"] = "255", + [RadioColorTool .. "_spectrum_color_foreground_b"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_g"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_r"] = "255", + [RadioColorTool .. "_spectrum_color_g"] = "14", + [RadioColorTool .. "_spectrum_color_icon_a"] = "255", + [RadioColorTool .. "_spectrum_color_icon_b"] = "255", + [RadioColorTool .. "_spectrum_color_icon_g"] = "255", + [RadioColorTool .. "_spectrum_color_icon_r"] = "255", + [RadioColorTool .. "_spectrum_color_r"] = "54", + [RadioColorTool .. "_spectrum_color_shadow_a"] = "255", + [RadioColorTool .. "_spectrum_color_shadow_b"] = "27", + [RadioColorTool .. "_spectrum_color_shadow_g"] = "27", + [RadioColorTool .. "_spectrum_color_shadow_r"] = "27", }, ["Nature"] = { - [RadioColorTool.."_border_color_border_a"] = "255", - [RadioColorTool.."_border_color_border_b"] = "23", - [RadioColorTool.."_border_color_border_g"] = "128", - [RadioColorTool.."_border_color_border_r"] = "0", - [RadioColorTool.."_button_color_a"] = "255", - [RadioColorTool.."_button_color_b"] = "0", - [RadioColorTool.."_button_color_disabled_a"] = "255", - [RadioColorTool.."_button_color_disabled_b"] = "3", - [RadioColorTool.."_button_color_disabled_g"] = "36", - [RadioColorTool.."_button_color_disabled_r"] = "0", - [RadioColorTool.."_button_color_foreground_a"] = "255", - [RadioColorTool.."_button_color_foreground_b"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_a"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_b"] = "175", - [RadioColorTool.."_button_color_foreground_disabled_g"] = "175", - [RadioColorTool.."_button_color_foreground_disabled_r"] = "175", - [RadioColorTool.."_button_color_foreground_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_a"] = "255", - [RadioColorTool.."_button_color_foreground_hover_b"] = "0", - [RadioColorTool.."_button_color_foreground_hover_g"] = "0", - [RadioColorTool.."_button_color_foreground_hover_r"] = "0", - [RadioColorTool.."_button_color_foreground_r"] = "0", - [RadioColorTool.."_button_color_g"] = "132", - [RadioColorTool.."_button_color_hover_a"] = "255", - [RadioColorTool.."_button_color_hover_b"] = "112", - [RadioColorTool.."_button_color_hover_g"] = "175", - [RadioColorTool.."_button_color_hover_r"] = "116", - [RadioColorTool.."_button_color_icon_a"] = "255", - [RadioColorTool.."_button_color_icon_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_a"] = "255", - [RadioColorTool.."_button_color_icon_disabled_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_g"] = "255", - [RadioColorTool.."_button_color_icon_disabled_r"] = "255", - [RadioColorTool.."_button_color_icon_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_a"] = "255", - [RadioColorTool.."_button_color_icon_hover_b"] = "255", - [RadioColorTool.."_button_color_icon_hover_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_r"] = "255", - [RadioColorTool.."_button_color_icon_r"] = "255", - [RadioColorTool.."_button_color_r"] = "0", - [RadioColorTool.."_button_color_shadow_a"] = "255", - [RadioColorTool.."_button_color_shadow_b"] = "40", - [RadioColorTool.."_button_color_shadow_g"] = "40", - [RadioColorTool.."_button_color_shadow_r"] = "40", - [RadioColorTool.."_cursor_color_cursor_a"] = "255", - [RadioColorTool.."_cursor_color_cursor_b"] = "255", - [RadioColorTool.."_cursor_color_cursor_g"] = "255", - [RadioColorTool.."_cursor_color_cursor_r"] = "255", - [RadioColorTool.."_error_color_a"] = "255", - [RadioColorTool.."_error_color_b"] = "64", - [RadioColorTool.."_error_color_foreground_a"] = "255", - [RadioColorTool.."_error_color_foreground_b"] = "175", - [RadioColorTool.."_error_color_foreground_g"] = "175", - [RadioColorTool.."_error_color_foreground_r"] = "175", - [RadioColorTool.."_error_color_g"] = "64", - [RadioColorTool.."_error_color_r"] = "64", - [RadioColorTool.."_error_color_shadow_a"] = "255", - [RadioColorTool.."_error_color_shadow_b"] = "40", - [RadioColorTool.."_error_color_shadow_g"] = "40", - [RadioColorTool.."_error_color_shadow_r"] = "40", - [RadioColorTool.."_header_color_a"] = "255", - [RadioColorTool.."_header_color_b"] = "0", - [RadioColorTool.."_header_color_foreground_a"] = "255", - [RadioColorTool.."_header_color_foreground_b"] = "177", - [RadioColorTool.."_header_color_foreground_g"] = "177", - [RadioColorTool.."_header_color_foreground_r"] = "177", - [RadioColorTool.."_header_color_g"] = "80", - [RadioColorTool.."_header_color_r"] = "91", - [RadioColorTool.."_header_color_shadow_a"] = "255", - [RadioColorTool.."_header_color_shadow_b"] = "40", - [RadioColorTool.."_header_color_shadow_g"] = "40", - [RadioColorTool.."_header_color_shadow_r"] = "40", - [RadioColorTool.."_main_color_a"] = "255", - [RadioColorTool.."_main_color_b"] = "34", - [RadioColorTool.."_main_color_g"] = "56", - [RadioColorTool.."_main_color_r"] = "0", - [RadioColorTool.."_spectrum_color_a"] = "255", - [RadioColorTool.."_spectrum_color_b"] = "0", - [RadioColorTool.."_spectrum_color_foreground_a"] = "255", - [RadioColorTool.."_spectrum_color_foreground_b"] = "0", - [RadioColorTool.."_spectrum_color_foreground_g"] = "128", - [RadioColorTool.."_spectrum_color_foreground_r"] = "51", - [RadioColorTool.."_spectrum_color_g"] = "0", - [RadioColorTool.."_spectrum_color_icon_a"] = "255", - [RadioColorTool.."_spectrum_color_icon_b"] = "255", - [RadioColorTool.."_spectrum_color_icon_g"] = "255", - [RadioColorTool.."_spectrum_color_icon_r"] = "255", - [RadioColorTool.."_spectrum_color_r"] = "0", - [RadioColorTool.."_spectrum_color_shadow_a"] = "255", - [RadioColorTool.."_spectrum_color_shadow_b"] = "40", - [RadioColorTool.."_spectrum_color_shadow_g"] = "40", - [RadioColorTool.."_spectrum_color_shadow_r"] = "40", + [RadioColorTool .. "_border_color_border_a"] = "255", + [RadioColorTool .. "_border_color_border_b"] = "23", + [RadioColorTool .. "_border_color_border_g"] = "128", + [RadioColorTool .. "_border_color_border_r"] = "0", + [RadioColorTool .. "_button_color_a"] = "255", + [RadioColorTool .. "_button_color_b"] = "0", + [RadioColorTool .. "_button_color_disabled_a"] = "255", + [RadioColorTool .. "_button_color_disabled_b"] = "3", + [RadioColorTool .. "_button_color_disabled_g"] = "36", + [RadioColorTool .. "_button_color_disabled_r"] = "0", + [RadioColorTool .. "_button_color_foreground_a"] = "255", + [RadioColorTool .. "_button_color_foreground_b"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_a"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_b"] = "175", + [RadioColorTool .. "_button_color_foreground_disabled_g"] = "175", + [RadioColorTool .. "_button_color_foreground_disabled_r"] = "175", + [RadioColorTool .. "_button_color_foreground_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_a"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_b"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_g"] = "0", + [RadioColorTool .. "_button_color_foreground_hover_r"] = "0", + [RadioColorTool .. "_button_color_foreground_r"] = "0", + [RadioColorTool .. "_button_color_g"] = "132", + [RadioColorTool .. "_button_color_hover_a"] = "255", + [RadioColorTool .. "_button_color_hover_b"] = "112", + [RadioColorTool .. "_button_color_hover_g"] = "175", + [RadioColorTool .. "_button_color_hover_r"] = "116", + [RadioColorTool .. "_button_color_icon_a"] = "255", + [RadioColorTool .. "_button_color_icon_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_a"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_g"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_r"] = "255", + [RadioColorTool .. "_button_color_icon_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_a"] = "255", + [RadioColorTool .. "_button_color_icon_hover_b"] = "255", + [RadioColorTool .. "_button_color_icon_hover_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_r"] = "255", + [RadioColorTool .. "_button_color_icon_r"] = "255", + [RadioColorTool .. "_button_color_r"] = "0", + [RadioColorTool .. "_button_color_shadow_a"] = "255", + [RadioColorTool .. "_button_color_shadow_b"] = "40", + [RadioColorTool .. "_button_color_shadow_g"] = "40", + [RadioColorTool .. "_button_color_shadow_r"] = "40", + [RadioColorTool .. "_cursor_color_cursor_a"] = "255", + [RadioColorTool .. "_cursor_color_cursor_b"] = "255", + [RadioColorTool .. "_cursor_color_cursor_g"] = "255", + [RadioColorTool .. "_cursor_color_cursor_r"] = "255", + [RadioColorTool .. "_error_color_a"] = "255", + [RadioColorTool .. "_error_color_b"] = "64", + [RadioColorTool .. "_error_color_foreground_a"] = "255", + [RadioColorTool .. "_error_color_foreground_b"] = "175", + [RadioColorTool .. "_error_color_foreground_g"] = "175", + [RadioColorTool .. "_error_color_foreground_r"] = "175", + [RadioColorTool .. "_error_color_g"] = "64", + [RadioColorTool .. "_error_color_r"] = "64", + [RadioColorTool .. "_error_color_shadow_a"] = "255", + [RadioColorTool .. "_error_color_shadow_b"] = "40", + [RadioColorTool .. "_error_color_shadow_g"] = "40", + [RadioColorTool .. "_error_color_shadow_r"] = "40", + [RadioColorTool .. "_header_color_a"] = "255", + [RadioColorTool .. "_header_color_b"] = "0", + [RadioColorTool .. "_header_color_foreground_a"] = "255", + [RadioColorTool .. "_header_color_foreground_b"] = "177", + [RadioColorTool .. "_header_color_foreground_g"] = "177", + [RadioColorTool .. "_header_color_foreground_r"] = "177", + [RadioColorTool .. "_header_color_g"] = "80", + [RadioColorTool .. "_header_color_r"] = "91", + [RadioColorTool .. "_header_color_shadow_a"] = "255", + [RadioColorTool .. "_header_color_shadow_b"] = "40", + [RadioColorTool .. "_header_color_shadow_g"] = "40", + [RadioColorTool .. "_header_color_shadow_r"] = "40", + [RadioColorTool .. "_main_color_a"] = "255", + [RadioColorTool .. "_main_color_b"] = "34", + [RadioColorTool .. "_main_color_g"] = "56", + [RadioColorTool .. "_main_color_r"] = "0", + [RadioColorTool .. "_spectrum_color_a"] = "255", + [RadioColorTool .. "_spectrum_color_b"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_a"] = "255", + [RadioColorTool .. "_spectrum_color_foreground_b"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_g"] = "128", + [RadioColorTool .. "_spectrum_color_foreground_r"] = "51", + [RadioColorTool .. "_spectrum_color_g"] = "0", + [RadioColorTool .. "_spectrum_color_icon_a"] = "255", + [RadioColorTool .. "_spectrum_color_icon_b"] = "255", + [RadioColorTool .. "_spectrum_color_icon_g"] = "255", + [RadioColorTool .. "_spectrum_color_icon_r"] = "255", + [RadioColorTool .. "_spectrum_color_r"] = "0", + [RadioColorTool .. "_spectrum_color_shadow_a"] = "255", + [RadioColorTool .. "_spectrum_color_shadow_b"] = "40", + [RadioColorTool .. "_spectrum_color_shadow_g"] = "40", + [RadioColorTool .. "_spectrum_color_shadow_r"] = "40", }, ["Pink"] = { - [RadioColorTool.."_border_color_border_a"] = "255", - [RadioColorTool.."_border_color_border_b"] = "0", - [RadioColorTool.."_border_color_border_g"] = "0", - [RadioColorTool.."_border_color_border_r"] = "0", - [RadioColorTool.."_button_color_a"] = "255", - [RadioColorTool.."_button_color_b"] = "186", - [RadioColorTool.."_button_color_disabled_a"] = "255", - [RadioColorTool.."_button_color_disabled_b"] = "61", - [RadioColorTool.."_button_color_disabled_g"] = "61", - [RadioColorTool.."_button_color_disabled_r"] = "61", - [RadioColorTool.."_button_color_foreground_a"] = "255", - [RadioColorTool.."_button_color_foreground_b"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_a"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_b"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_g"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_r"] = "255", - [RadioColorTool.."_button_color_foreground_g"] = "255", - [RadioColorTool.."_button_color_foreground_hover_a"] = "255", - [RadioColorTool.."_button_color_foreground_hover_b"] = "255", - [RadioColorTool.."_button_color_foreground_hover_g"] = "255", - [RadioColorTool.."_button_color_foreground_hover_r"] = "255", - [RadioColorTool.."_button_color_foreground_r"] = "255", - [RadioColorTool.."_button_color_g"] = "0", - [RadioColorTool.."_button_color_hover_a"] = "255", - [RadioColorTool.."_button_color_hover_b"] = "0", - [RadioColorTool.."_button_color_hover_g"] = "0", - [RadioColorTool.."_button_color_hover_r"] = "168", - [RadioColorTool.."_button_color_icon_a"] = "255", - [RadioColorTool.."_button_color_icon_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_a"] = "255", - [RadioColorTool.."_button_color_icon_disabled_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_g"] = "255", - [RadioColorTool.."_button_color_icon_disabled_r"] = "255", - [RadioColorTool.."_button_color_icon_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_a"] = "255", - [RadioColorTool.."_button_color_icon_hover_b"] = "255", - [RadioColorTool.."_button_color_icon_hover_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_r"] = "255", - [RadioColorTool.."_button_color_icon_r"] = "255", - [RadioColorTool.."_button_color_r"] = "174", - [RadioColorTool.."_button_color_shadow_a"] = "255", - [RadioColorTool.."_button_color_shadow_b"] = "91", - [RadioColorTool.."_button_color_shadow_g"] = "91", - [RadioColorTool.."_button_color_shadow_r"] = "91", - [RadioColorTool.."_cursor_color_cursor_a"] = "255", - [RadioColorTool.."_cursor_color_cursor_b"] = "255", - [RadioColorTool.."_cursor_color_cursor_g"] = "255", - [RadioColorTool.."_cursor_color_cursor_r"] = "255", - [RadioColorTool.."_error_color_a"] = "255", - [RadioColorTool.."_error_color_b"] = "29", - [RadioColorTool.."_error_color_foreground_a"] = "255", - [RadioColorTool.."_error_color_foreground_b"] = "255", - [RadioColorTool.."_error_color_foreground_g"] = "255", - [RadioColorTool.."_error_color_foreground_r"] = "255", - [RadioColorTool.."_error_color_g"] = "29", - [RadioColorTool.."_error_color_r"] = "93", - [RadioColorTool.."_error_color_shadow_a"] = "255", - [RadioColorTool.."_error_color_shadow_b"] = "91", - [RadioColorTool.."_error_color_shadow_g"] = "91", - [RadioColorTool.."_error_color_shadow_r"] = "91", - [RadioColorTool.."_header_color_a"] = "255", - [RadioColorTool.."_header_color_b"] = "71", - [RadioColorTool.."_header_color_foreground_a"] = "255", - [RadioColorTool.."_header_color_foreground_b"] = "255", - [RadioColorTool.."_header_color_foreground_g"] = "255", - [RadioColorTool.."_header_color_foreground_r"] = "255", - [RadioColorTool.."_header_color_g"] = "0", - [RadioColorTool.."_header_color_r"] = "102", - [RadioColorTool.."_header_color_shadow_a"] = "255", - [RadioColorTool.."_header_color_shadow_b"] = "91", - [RadioColorTool.."_header_color_shadow_g"] = "91", - [RadioColorTool.."_header_color_shadow_r"] = "91", - [RadioColorTool.."_main_color_a"] = "255", - [RadioColorTool.."_main_color_b"] = "125", - [RadioColorTool.."_main_color_g"] = "0", - [RadioColorTool.."_main_color_r"] = "102", - [RadioColorTool.."_spectrum_color_a"] = "255", - [RadioColorTool.."_spectrum_color_b"] = "141", - [RadioColorTool.."_spectrum_color_foreground_a"] = "255", - [RadioColorTool.."_spectrum_color_foreground_b"] = "152", - [RadioColorTool.."_spectrum_color_foreground_g"] = "0", - [RadioColorTool.."_spectrum_color_foreground_r"] = "127", - [RadioColorTool.."_spectrum_color_g"] = "141", - [RadioColorTool.."_spectrum_color_icon_a"] = "255", - [RadioColorTool.."_spectrum_color_icon_b"] = "255", - [RadioColorTool.."_spectrum_color_icon_g"] = "255", - [RadioColorTool.."_spectrum_color_icon_r"] = "255", - [RadioColorTool.."_spectrum_color_r"] = "141", - [RadioColorTool.."_spectrum_color_shadow_a"] = "255", - [RadioColorTool.."_spectrum_color_shadow_b"] = "91", - [RadioColorTool.."_spectrum_color_shadow_g"] = "91", - [RadioColorTool.."_spectrum_color_shadow_r"] = "91", + [RadioColorTool .. "_border_color_border_a"] = "255", + [RadioColorTool .. "_border_color_border_b"] = "0", + [RadioColorTool .. "_border_color_border_g"] = "0", + [RadioColorTool .. "_border_color_border_r"] = "0", + [RadioColorTool .. "_button_color_a"] = "255", + [RadioColorTool .. "_button_color_b"] = "186", + [RadioColorTool .. "_button_color_disabled_a"] = "255", + [RadioColorTool .. "_button_color_disabled_b"] = "61", + [RadioColorTool .. "_button_color_disabled_g"] = "61", + [RadioColorTool .. "_button_color_disabled_r"] = "61", + [RadioColorTool .. "_button_color_foreground_a"] = "255", + [RadioColorTool .. "_button_color_foreground_b"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_a"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_b"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_g"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_r"] = "255", + [RadioColorTool .. "_button_color_foreground_g"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_a"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_b"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_g"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_r"] = "255", + [RadioColorTool .. "_button_color_foreground_r"] = "255", + [RadioColorTool .. "_button_color_g"] = "0", + [RadioColorTool .. "_button_color_hover_a"] = "255", + [RadioColorTool .. "_button_color_hover_b"] = "0", + [RadioColorTool .. "_button_color_hover_g"] = "0", + [RadioColorTool .. "_button_color_hover_r"] = "168", + [RadioColorTool .. "_button_color_icon_a"] = "255", + [RadioColorTool .. "_button_color_icon_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_a"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_g"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_r"] = "255", + [RadioColorTool .. "_button_color_icon_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_a"] = "255", + [RadioColorTool .. "_button_color_icon_hover_b"] = "255", + [RadioColorTool .. "_button_color_icon_hover_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_r"] = "255", + [RadioColorTool .. "_button_color_icon_r"] = "255", + [RadioColorTool .. "_button_color_r"] = "174", + [RadioColorTool .. "_button_color_shadow_a"] = "255", + [RadioColorTool .. "_button_color_shadow_b"] = "91", + [RadioColorTool .. "_button_color_shadow_g"] = "91", + [RadioColorTool .. "_button_color_shadow_r"] = "91", + [RadioColorTool .. "_cursor_color_cursor_a"] = "255", + [RadioColorTool .. "_cursor_color_cursor_b"] = "255", + [RadioColorTool .. "_cursor_color_cursor_g"] = "255", + [RadioColorTool .. "_cursor_color_cursor_r"] = "255", + [RadioColorTool .. "_error_color_a"] = "255", + [RadioColorTool .. "_error_color_b"] = "29", + [RadioColorTool .. "_error_color_foreground_a"] = "255", + [RadioColorTool .. "_error_color_foreground_b"] = "255", + [RadioColorTool .. "_error_color_foreground_g"] = "255", + [RadioColorTool .. "_error_color_foreground_r"] = "255", + [RadioColorTool .. "_error_color_g"] = "29", + [RadioColorTool .. "_error_color_r"] = "93", + [RadioColorTool .. "_error_color_shadow_a"] = "255", + [RadioColorTool .. "_error_color_shadow_b"] = "91", + [RadioColorTool .. "_error_color_shadow_g"] = "91", + [RadioColorTool .. "_error_color_shadow_r"] = "91", + [RadioColorTool .. "_header_color_a"] = "255", + [RadioColorTool .. "_header_color_b"] = "71", + [RadioColorTool .. "_header_color_foreground_a"] = "255", + [RadioColorTool .. "_header_color_foreground_b"] = "255", + [RadioColorTool .. "_header_color_foreground_g"] = "255", + [RadioColorTool .. "_header_color_foreground_r"] = "255", + [RadioColorTool .. "_header_color_g"] = "0", + [RadioColorTool .. "_header_color_r"] = "102", + [RadioColorTool .. "_header_color_shadow_a"] = "255", + [RadioColorTool .. "_header_color_shadow_b"] = "91", + [RadioColorTool .. "_header_color_shadow_g"] = "91", + [RadioColorTool .. "_header_color_shadow_r"] = "91", + [RadioColorTool .. "_main_color_a"] = "255", + [RadioColorTool .. "_main_color_b"] = "125", + [RadioColorTool .. "_main_color_g"] = "0", + [RadioColorTool .. "_main_color_r"] = "102", + [RadioColorTool .. "_spectrum_color_a"] = "255", + [RadioColorTool .. "_spectrum_color_b"] = "141", + [RadioColorTool .. "_spectrum_color_foreground_a"] = "255", + [RadioColorTool .. "_spectrum_color_foreground_b"] = "152", + [RadioColorTool .. "_spectrum_color_foreground_g"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_r"] = "127", + [RadioColorTool .. "_spectrum_color_g"] = "141", + [RadioColorTool .. "_spectrum_color_icon_a"] = "255", + [RadioColorTool .. "_spectrum_color_icon_b"] = "255", + [RadioColorTool .. "_spectrum_color_icon_g"] = "255", + [RadioColorTool .. "_spectrum_color_icon_r"] = "255", + [RadioColorTool .. "_spectrum_color_r"] = "141", + [RadioColorTool .. "_spectrum_color_shadow_a"] = "255", + [RadioColorTool .. "_spectrum_color_shadow_b"] = "91", + [RadioColorTool .. "_spectrum_color_shadow_g"] = "91", + [RadioColorTool .. "_spectrum_color_shadow_r"] = "91", }, ["Warm"] = { - [RadioColorTool.."_border_color_border_a"] = "255", - [RadioColorTool.."_border_color_border_b"] = "0", - [RadioColorTool.."_border_color_border_g"] = "0", - [RadioColorTool.."_border_color_border_r"] = "0", - [RadioColorTool.."_button_color_a"] = "255", - [RadioColorTool.."_button_color_b"] = "0", - [RadioColorTool.."_button_color_disabled_a"] = "255", - [RadioColorTool.."_button_color_disabled_b"] = "132", - [RadioColorTool.."_button_color_disabled_g"] = "132", - [RadioColorTool.."_button_color_disabled_r"] = "132", - [RadioColorTool.."_button_color_foreground_a"] = "255", - [RadioColorTool.."_button_color_foreground_b"] = "190", - [RadioColorTool.."_button_color_foreground_disabled_a"] = "255", - [RadioColorTool.."_button_color_foreground_disabled_b"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_g"] = "0", - [RadioColorTool.."_button_color_foreground_disabled_r"] = "0", - [RadioColorTool.."_button_color_foreground_g"] = "190", - [RadioColorTool.."_button_color_foreground_hover_a"] = "255", - [RadioColorTool.."_button_color_foreground_hover_b"] = "190", - [RadioColorTool.."_button_color_foreground_hover_g"] = "190", - [RadioColorTool.."_button_color_foreground_hover_r"] = "190", - [RadioColorTool.."_button_color_foreground_r"] = "190", - [RadioColorTool.."_button_color_g"] = "35", - [RadioColorTool.."_button_color_hover_a"] = "255", - [RadioColorTool.."_button_color_hover_b"] = "0", - [RadioColorTool.."_button_color_hover_g"] = "0", - [RadioColorTool.."_button_color_hover_r"] = "79", - [RadioColorTool.."_button_color_icon_a"] = "255", - [RadioColorTool.."_button_color_icon_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_a"] = "255", - [RadioColorTool.."_button_color_icon_disabled_b"] = "255", - [RadioColorTool.."_button_color_icon_disabled_g"] = "255", - [RadioColorTool.."_button_color_icon_disabled_r"] = "255", - [RadioColorTool.."_button_color_icon_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_a"] = "255", - [RadioColorTool.."_button_color_icon_hover_b"] = "255", - [RadioColorTool.."_button_color_icon_hover_g"] = "255", - [RadioColorTool.."_button_color_icon_hover_r"] = "255", - [RadioColorTool.."_button_color_icon_r"] = "255", - [RadioColorTool.."_button_color_r"] = "97", - [RadioColorTool.."_button_color_shadow_a"] = "255", - [RadioColorTool.."_button_color_shadow_b"] = "63", - [RadioColorTool.."_button_color_shadow_g"] = "63", - [RadioColorTool.."_button_color_shadow_r"] = "113", - [RadioColorTool.."_cursor_color_cursor_a"] = "255", - [RadioColorTool.."_cursor_color_cursor_b"] = "255", - [RadioColorTool.."_cursor_color_cursor_g"] = "255", - [RadioColorTool.."_cursor_color_cursor_r"] = "255", - [RadioColorTool.."_error_color_a"] = "255", - [RadioColorTool.."_error_color_b"] = "52", - [RadioColorTool.."_error_color_foreground_a"] = "255", - [RadioColorTool.."_error_color_foreground_b"] = "190", - [RadioColorTool.."_error_color_foreground_g"] = "190", - [RadioColorTool.."_error_color_foreground_r"] = "190", - [RadioColorTool.."_error_color_g"] = "52", - [RadioColorTool.."_error_color_r"] = "75", - [RadioColorTool.."_error_color_shadow_a"] = "255", - [RadioColorTool.."_error_color_shadow_b"] = "63", - [RadioColorTool.."_error_color_shadow_g"] = "63", - [RadioColorTool.."_error_color_shadow_r"] = "113", - [RadioColorTool.."_header_color_a"] = "255", - [RadioColorTool.."_header_color_b"] = "54", - [RadioColorTool.."_header_color_foreground_a"] = "255", - [RadioColorTool.."_header_color_foreground_b"] = "190", - [RadioColorTool.."_header_color_foreground_g"] = "190", - [RadioColorTool.."_header_color_foreground_r"] = "190", - [RadioColorTool.."_header_color_g"] = "54", - [RadioColorTool.."_header_color_r"] = "93", - [RadioColorTool.."_header_color_shadow_a"] = "255", - [RadioColorTool.."_header_color_shadow_b"] = "63", - [RadioColorTool.."_header_color_shadow_g"] = "63", - [RadioColorTool.."_header_color_shadow_r"] = "113", - [RadioColorTool.."_main_color_a"] = "255", - [RadioColorTool.."_main_color_b"] = "0", - [RadioColorTool.."_main_color_g"] = "47", - [RadioColorTool.."_main_color_r"] = "61", - [RadioColorTool.."_spectrum_color_a"] = "255", - [RadioColorTool.."_spectrum_color_b"] = "0", - [RadioColorTool.."_spectrum_color_foreground_a"] = "255", - [RadioColorTool.."_spectrum_color_foreground_b"] = "129", - [RadioColorTool.."_spectrum_color_foreground_g"] = "129", - [RadioColorTool.."_spectrum_color_foreground_r"] = "139", - [RadioColorTool.."_spectrum_color_g"] = "46", - [RadioColorTool.."_spectrum_color_icon_a"] = "255", - [RadioColorTool.."_spectrum_color_icon_b"] = "255", - [RadioColorTool.."_spectrum_color_icon_g"] = "255", - [RadioColorTool.."_spectrum_color_icon_r"] = "255", - [RadioColorTool.."_spectrum_color_r"] = "100", - [RadioColorTool.."_spectrum_color_shadow_a"] = "255", - [RadioColorTool.."_spectrum_color_shadow_b"] = "63", - [RadioColorTool.."_spectrum_color_shadow_g"] = "63", - [RadioColorTool.."_spectrum_color_shadow_r"] = "113", + [RadioColorTool .. "_border_color_border_a"] = "255", + [RadioColorTool .. "_border_color_border_b"] = "0", + [RadioColorTool .. "_border_color_border_g"] = "0", + [RadioColorTool .. "_border_color_border_r"] = "0", + [RadioColorTool .. "_button_color_a"] = "255", + [RadioColorTool .. "_button_color_b"] = "0", + [RadioColorTool .. "_button_color_disabled_a"] = "255", + [RadioColorTool .. "_button_color_disabled_b"] = "132", + [RadioColorTool .. "_button_color_disabled_g"] = "132", + [RadioColorTool .. "_button_color_disabled_r"] = "132", + [RadioColorTool .. "_button_color_foreground_a"] = "255", + [RadioColorTool .. "_button_color_foreground_b"] = "190", + [RadioColorTool .. "_button_color_foreground_disabled_a"] = "255", + [RadioColorTool .. "_button_color_foreground_disabled_b"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_g"] = "0", + [RadioColorTool .. "_button_color_foreground_disabled_r"] = "0", + [RadioColorTool .. "_button_color_foreground_g"] = "190", + [RadioColorTool .. "_button_color_foreground_hover_a"] = "255", + [RadioColorTool .. "_button_color_foreground_hover_b"] = "190", + [RadioColorTool .. "_button_color_foreground_hover_g"] = "190", + [RadioColorTool .. "_button_color_foreground_hover_r"] = "190", + [RadioColorTool .. "_button_color_foreground_r"] = "190", + [RadioColorTool .. "_button_color_g"] = "35", + [RadioColorTool .. "_button_color_hover_a"] = "255", + [RadioColorTool .. "_button_color_hover_b"] = "0", + [RadioColorTool .. "_button_color_hover_g"] = "0", + [RadioColorTool .. "_button_color_hover_r"] = "79", + [RadioColorTool .. "_button_color_icon_a"] = "255", + [RadioColorTool .. "_button_color_icon_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_a"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_b"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_g"] = "255", + [RadioColorTool .. "_button_color_icon_disabled_r"] = "255", + [RadioColorTool .. "_button_color_icon_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_a"] = "255", + [RadioColorTool .. "_button_color_icon_hover_b"] = "255", + [RadioColorTool .. "_button_color_icon_hover_g"] = "255", + [RadioColorTool .. "_button_color_icon_hover_r"] = "255", + [RadioColorTool .. "_button_color_icon_r"] = "255", + [RadioColorTool .. "_button_color_r"] = "97", + [RadioColorTool .. "_button_color_shadow_a"] = "255", + [RadioColorTool .. "_button_color_shadow_b"] = "63", + [RadioColorTool .. "_button_color_shadow_g"] = "63", + [RadioColorTool .. "_button_color_shadow_r"] = "113", + [RadioColorTool .. "_cursor_color_cursor_a"] = "255", + [RadioColorTool .. "_cursor_color_cursor_b"] = "255", + [RadioColorTool .. "_cursor_color_cursor_g"] = "255", + [RadioColorTool .. "_cursor_color_cursor_r"] = "255", + [RadioColorTool .. "_error_color_a"] = "255", + [RadioColorTool .. "_error_color_b"] = "52", + [RadioColorTool .. "_error_color_foreground_a"] = "255", + [RadioColorTool .. "_error_color_foreground_b"] = "190", + [RadioColorTool .. "_error_color_foreground_g"] = "190", + [RadioColorTool .. "_error_color_foreground_r"] = "190", + [RadioColorTool .. "_error_color_g"] = "52", + [RadioColorTool .. "_error_color_r"] = "75", + [RadioColorTool .. "_error_color_shadow_a"] = "255", + [RadioColorTool .. "_error_color_shadow_b"] = "63", + [RadioColorTool .. "_error_color_shadow_g"] = "63", + [RadioColorTool .. "_error_color_shadow_r"] = "113", + [RadioColorTool .. "_header_color_a"] = "255", + [RadioColorTool .. "_header_color_b"] = "54", + [RadioColorTool .. "_header_color_foreground_a"] = "255", + [RadioColorTool .. "_header_color_foreground_b"] = "190", + [RadioColorTool .. "_header_color_foreground_g"] = "190", + [RadioColorTool .. "_header_color_foreground_r"] = "190", + [RadioColorTool .. "_header_color_g"] = "54", + [RadioColorTool .. "_header_color_r"] = "93", + [RadioColorTool .. "_header_color_shadow_a"] = "255", + [RadioColorTool .. "_header_color_shadow_b"] = "63", + [RadioColorTool .. "_header_color_shadow_g"] = "63", + [RadioColorTool .. "_header_color_shadow_r"] = "113", + [RadioColorTool .. "_main_color_a"] = "255", + [RadioColorTool .. "_main_color_b"] = "0", + [RadioColorTool .. "_main_color_g"] = "47", + [RadioColorTool .. "_main_color_r"] = "61", + [RadioColorTool .. "_spectrum_color_a"] = "255", + [RadioColorTool .. "_spectrum_color_b"] = "0", + [RadioColorTool .. "_spectrum_color_foreground_a"] = "255", + [RadioColorTool .. "_spectrum_color_foreground_b"] = "129", + [RadioColorTool .. "_spectrum_color_foreground_g"] = "129", + [RadioColorTool .. "_spectrum_color_foreground_r"] = "139", + [RadioColorTool .. "_spectrum_color_g"] = "46", + [RadioColorTool .. "_spectrum_color_icon_a"] = "255", + [RadioColorTool .. "_spectrum_color_icon_b"] = "255", + [RadioColorTool .. "_spectrum_color_icon_g"] = "255", + [RadioColorTool .. "_spectrum_color_icon_r"] = "255", + [RadioColorTool .. "_spectrum_color_r"] = "100", + [RadioColorTool .. "_spectrum_color_shadow_a"] = "255", + [RadioColorTool .. "_spectrum_color_shadow_b"] = "63", + [RadioColorTool .. "_spectrum_color_shadow_g"] = "63", + [RadioColorTool .. "_spectrum_color_shadow_r"] = "113", }, }, } @@ -689,11 +689,11 @@ local function createpresets( ply, cmd, args ) local Data = "" local function addline(k, v) - Data = Data..'\t['..string.gsub(k, 'streamradio_gui_color_global', 'RadioColorTool.."', 1)..'"] = "'..tostring(v or "")..'",\r\n' + Data = Data .. '\t[' .. string.gsub(k, 'streamradio_gui_color_global', 'RadioColorTool .. "', 1) .. '"] = "' .. tostring(v or "") .. '",\r\n' end for _, f in pairs( files or {} ) do - local data = file.Read( "settings/presets/streamradio_gui_color_global/"..f, "GAME" ) or "" + local data = file.Read( "settings/presets/streamradio_gui_color_global/" .. f, "GAME" ) or "" local Presets = util.KeyValuesToTable(data) local name = string.sub( f, 1, -5 ) @@ -720,4 +720,4 @@ local function createpresets( ply, cmd, args ) file.Write( "presets_test/streamradio_gui_color_global.txt", Data ) end -concommand.Add( "streamradio_convertpresets", createpresets ) //]] +concommand.Add( "streamradio_convertpresets", createpresets ) -- ]] diff --git a/lua/streamradio_core/client/cl_vgui_editor.lua b/lua/streamradio_core/client/cl_vgui_editor.lua index 9ee5b20..5981cd9 100644 --- a/lua/streamradio_core/client/cl_vgui_editor.lua +++ b/lua/streamradio_core/client/cl_vgui_editor.lua @@ -453,9 +453,9 @@ local function FileMenu(self, item, path, name, filetype, parentpath) --Copy/Paste (Todo) --[[ - if (filetype ~= StreamRadioLib.TYPE_FOLDER and !newfile) then + if (filetype ~= StreamRadioLib.TYPE_FOLDER and not newfile) then MenuItem = Menu:AddOption("Copy", function() - if ( !IsValid( self ) ) then return end + if ( not IsValid( self ) ) then return end if ( self:IsLoading() ) then return end self.Clipboard = path @@ -463,26 +463,26 @@ local function FileMenu(self, item, path, name, filetype, parentpath) MenuItem:SetImage("icon16/page_paste.png") MenuItem = Menu:AddOption("Paste", function() - if ( !IsValid( self ) ) then return end + if ( not IsValid( self ) ) then return end if ( self:IsLoading() ) then return end StreamRadioLib.Editor.Copy( self.Clipboard, path ) end) MenuItem:SetImage("icon16/page_paste.png") - if ( !self.Clipboard or self.Clipboard == "" ) then + if ( not self.Clipboard or self.Clipboard == "" ) then MenuItem:SetTextColor( Disabled_Gray ) -- custom disabling MenuItem.DoClick = function() end end MenuItem = Menu:AddOption("Cut", function() - if ( !IsValid( self ) ) then return end + if ( not IsValid( self ) ) then return end if ( self:IsLoading() ) then return end StreamRadioLib.Editor.Rename( self.Clipboard, path ) self.Clipboard = nil end) MenuItem:SetImage("icon16/page_paste.png") - if ( !self.Clipboard or self.Clipboard == "" ) then + if ( not self.Clipboard or self.Clipboard == "" ) then MenuItem:SetTextColor( Disabled_Gray ) -- custom disabling MenuItem.DoClick = function() end end diff --git a/lua/streamradio_core/interface.lua b/lua/streamradio_core/interface.lua index 8eb5a0a..c9d3194 100644 --- a/lua/streamradio_core/interface.lua +++ b/lua/streamradio_core/interface.lua @@ -210,7 +210,7 @@ local function AddCommonFunctions(interface) nerr.interface = self - if this != self then + if this ~= self then nerr.subinterface = this end diff --git a/lua/streamradio_core/lib.lua b/lua/streamradio_core/lib.lua index 3cfc38e..ef0894e 100644 --- a/lua/streamradio_core/lib.lua +++ b/lua/streamradio_core/lib.lua @@ -21,7 +21,7 @@ local StreamRadioLib = StreamRadioLib local _, NetURL = StreamRadioLib.LoadSH('streamradio_core/neturl.lua') StreamRadioLib.NetURL = NetURL -// Placeholder for Blocked URLs with non-Keyboard chars +-- Placeholder for Blocked URLs with non-Keyboard chars StreamRadioLib.BlockedURLCode = string.char(124, 245, 142, 188, 5, 6, 2, 1, 2, 54, 12, 7, 5) .. "___blocked_url" StreamRadioLib.EDITOR_ERROR_OK = 0 @@ -245,8 +245,8 @@ function StreamRadioLib.Hash( str ) local rstr = string.reverse(str) local rsalt = string.reverse(salt) - // There is no other 'hash' than CRC in GMod, - // so inflate it a bit to avoid collisions. + -- There is no other 'hash' than CRC in GMod, + -- so inflate it a bit to avoid collisions. hash[1] = CRCfloat32(salt) hash[2] = CRCfloat32("wdwer" .. rstr .. "jakwd") diff --git a/lua/streamradio_core/network.lua b/lua/streamradio_core/network.lua index 4423bff..fa474c3 100644 --- a/lua/streamradio_core/network.lua +++ b/lua/streamradio_core/network.lua @@ -358,9 +358,9 @@ function LIB.AddDTNetworkVar(ent, datatype, name, ...) assert(name ~= "", "argument #2 is an invalid name!") - //local exists = DTNetworkVarExists(ent, name) + -- local exists = DTNetworkVarExists(ent, name) - //if DTNetworkVarExists(ent, name) then return true end + -- if DTNetworkVarExists(ent, name) then return true end if not CanAddDTNetworkVar(ent, datatype, name) then return false end ent.StreamRadioDT = ent.StreamRadioDT or {} diff --git a/lua/streamradio_core/shoutcast.lua b/lua/streamradio_core/shoutcast.lua index b5cb646..dd3dd6d 100644 --- a/lua/streamradio_core/shoutcast.lua +++ b/lua/streamradio_core/shoutcast.lua @@ -1131,7 +1131,7 @@ function LIB.GenreExists(hierarchy) end local g_format_blacklist = { - //["audio/mpeg"] = true, + -- ["audio/mpeg"] = true, } function LIB.IsValidFormat(format) diff --git a/lua/weapons/gmod_tool/stools/streamradio_gui_color_global.lua b/lua/weapons/gmod_tool/stools/streamradio_gui_color_global.lua index 70419f5..58b1d97 100644 --- a/lua/weapons/gmod_tool/stools/streamradio_gui_color_global.lua +++ b/lua/weapons/gmod_tool/stools/streamradio_gui_color_global.lua @@ -426,8 +426,8 @@ function TOOL:AddModeList( panel ) local color = data[varname] if not color then continue end - //local checked = activecheckbox:GetChecked() - //line:SetSortValue(line._activeindex, checked and 1 or 0) + -- local checked = activecheckbox:GetChecked() + -- line:SetSortValue(line._activeindex, checked and 1 or 0) local oldcolor = colortile:GetColor() if color == oldcolor then continue end diff --git a/lua/weapons/gmod_tool/stools/streamradio_gui_color_individual.lua b/lua/weapons/gmod_tool/stools/streamradio_gui_color_individual.lua index a071100..abf475f 100644 --- a/lua/weapons/gmod_tool/stools/streamradio_gui_color_individual.lua +++ b/lua/weapons/gmod_tool/stools/streamradio_gui_color_individual.lua @@ -224,8 +224,8 @@ function TOOL:AddModeList( panel ) local color = data[varname] if not color then continue end - //local checked = activecheckbox:GetChecked() - //line:SetSortValue(line._activeindex, checked and 1 or 0) + -- local checked = activecheckbox:GetChecked() + -- line:SetSortValue(line._activeindex, checked and 1 or 0) local oldcolor = colortile:GetColor() if color == oldcolor then continue end diff --git a/materials/3dstreamradio/_data/version.vmt b/materials/3dstreamradio/_data/version.vmt index e9ec45a..3faa4d5 100644 --- a/materials/3dstreamradio/_data/version.vmt +++ b/materials/3dstreamradio/_data/version.vmt @@ -1,2 +1,2 @@ -417 -1678219460 +418 +1684107996