⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radiobuttoncontrol.luac.lua

📁 htc manila 2 sourcecode
💻 LUA
字号:
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l 4,5;0;0,0,10,11;0,0,8; 4692e326_manila.luac 

trace("Loading Radio Button Script\n")
local l_0_0 = 5
local l_0_1 = Interpolate_Linear
RadioButton_ToggleValue = function(l_1_0)
   RadioButton_SetValue(l_1_0, not l_1_0.Tag.Value)
end

RadioButton_SetValue = function(l_2_0, l_2_1)
   if l_2_0.Tag.Value ~= l_2_1 then
      l_2_0.Tag.Value = l_2_1
      local l_2_2 = l_2_0.Namespace:FindName("RadioButtonOn")
      local l_2_3 = 0
      if l_2_1 == true then
         l_2_3 = 100
      end
      l_2_2.Opacity:Interpolate(l_2_3, l_0_0, 0, l_0_1)
   end
end

RadioButton_Initialize = function(l_3_0, l_3_1)
   l_3_0.Tag = {}
   l_3_0.Tag.Value = l_3_1
   local l_3_2 = l_3_0.Namespace:FindName("RadioButtonOn")
   if l_3_1 == true then
      l_3_2.Opacity.value = 100
   else
      l_3_2.Opacity.value = 0
   end
end


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -