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

📄 0.lua

📁 htc manila 2 sourcecode
💻 LUA
字号:
-- Decompiled using luadec 0.7 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;;;;3,6;0,5,8; 1acd708f_manila_28C.luac 

OnProgramsPressed = function()
   Shell_NavigateTo(ShellLocation_Camera, "/i")
end

OnPhonePressed = function()
   Shell_NavigateTo(ShellLocation_Dialer)
end

if InitializeSoftkeys == nil then
   InitializeSoftkeys = function()
   _application:SetRightSoftkey(Softkey(Locale:GetString("IDS_CAMERA"), OnProgramsPressed))
   _application:SetLeftSoftkey(Softkey(Locale:GetString("IDS_PHONE"), OnPhonePressed))
end

end
InitializeRegistrySoftkeys = function()
   local l_4_0 = machineStatus.HomeLSKText.Value
   local l_4_1 = machineStatus.HomeRSKText.Value
   if l_4_0 ~= "" then
      _application:SetLeftSoftkey(Softkey(l_4_0, OnRegistrySoftKeyPressed, "Left"))
   end
   if l_4_1 ~= "" then
      _application:SetRightSoftkey(Softkey(l_4_1, OnRegistrySoftKeyPressed, "Right"))
   end
end

OnRegistrySoftKeyPressed = function(l_5_0)
   local l_5_1 = nil
   local l_5_2 = nil
   if l_5_0 == "Left" then
      l_5_1 = machineStatus.HomeLSKPath.Value
      l_5_2 = machineStatus.HomeLSKArguments.Value
   elseif l_5_0 == "Right" then
      l_5_1 = machineStatus.HomeRSKPath.Value
      l_5_2 = machineStatus.HomeRSKArguments.Value
   else
      return 
   end
   if not _application.Navigation:Navigate(URL(l_5_1 .. l_5_2)) then
      Shell_NavigateTo(l_5_1, l_5_2)
   end
end


⌨️ 快捷键说明

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