weatherletterpicker.luac.lua

来自「htc manila 2 sourcecode」· LUA 代码 · 共 38 行

LUA
38
字号
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;;0,46;; 6bffb5b8_manila.luac 

trace("Load weatherletterpicker")
require("LetterPicker")
SetBladeData = function(l_1_0)
   trace("[SetBladeData] index = " .. tostring(l_1_0))
end

LetterSelected = function(l_2_0)
   trace("[LetterSelected] PickerLetter = " .. tostring(l_2_0))
   if CountryPickerList._visible then
      local wet = weather:GetCountryLetterIndex(l_2_0)
      CountryPickerList:GetLayout():JumpToIndex(wet, ListAlignment_Top, ListAlignmentOptions_Snap)
      CountryPickerList:GetGenerator().SelectedIndex = wet
      CountryPickerList:FocusItems()
      trace("[LetterSelected] CountryPickerList index = " .. tostring(wet))
   elseif CityPickerList._visible then
      local l_2_1 = weather:GetCityLetterIndex(l_2_0)
      CityPickerList:GetLayout():JumpToIndex(l_2_1, ListAlignment_Top, ListAlignmentOptions_Snap)
      CityPickerList:GetGenerator().SelectedIndex = l_2_1
      CityPickerList:FocusItems()
      trace("[LetterSelected] CityPickerList index = " .. tostring(l_2_1))
   end
end

ScrubBarTopBorderSize = 2
ScrubBarBottomBorderSize = 2
LetterPickerInitialize = function()
   trace("[piclerGizmoRoot] : Initialize")
   objLetterPicker = LetterPicker(LetterPickerListView, ScrubBar, LetterSelected, CharacterDialogGroup, LetterPickerDialogChar)
   trace("[piclerGizmoRoot] : Initialize end")
end

LetterPickerInitialize()
trace("Load weatherletterpicker end")

⌨️ 快捷键说明

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