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

📄 1.lua

📁 htc manila 2 sourcecode
💻 LUA
字号:
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;0,7,9; 22bb3b19_manila_71C.luac 

OnRemoveItemPress = function(l_1_0)
   trace("OnRemoveItemPress")
   local l_1_1 = CompositeManager_Instance():GetLaunchItems()
   local l_1_2 = l_1_1:GetCount()
   l_1_2 = l_1_2 - 1
   if IsRmovePage then
      _application:SetRightSoftkey(Softkey(Locale:GetString("IDS_REMOVE"), RSKfunction))
      _application:SetLeftSoftkey(Softkey(Locale:GetString("IDS_ALLPROGRAMS"), LSKfunction))
      IsRmovePage = false
   else
      _application:SetRightSoftkey(Softkey(Locale:GetString("IDS_DONE"), RSKfunction))
      _application:SetLeftSoftkey(Softkey((Locale:GetString("")), nil))
      IsRmovePage = true
   end
   for i = 0, l_1_2 do
     local plvitem = PageListView:GetGenerator():GetItem(i)
     local item = l_1_1:GetItem(i)
     if IsRmovePage then
       if item:GetName() ~= "" then
         if plvitem then
           plvitem.Namespace:FindName("SpriteX")._visible = true
         end
       else
         if plvitem then
           local stuff = plvitem.Namespace:FindName("PageBackground")
           stuff:SetTextureRef("bt_UserLauncher_rest")
         end
       end
     else
       if item:GetName() ~= "" then
         if plvitem then
           plvitem.Namespace:FindName("SpriteX")._visible = false
         end
       else
         if plvitem then
            local stuff = plvitem.Namespace:FindName("PageBackground")
            if item:GetName() ~= "" then
              stuff:SetTextureRef("bt_UserLauncher_rest")
            else
              stuff:SetTextureRef("bt_UserLauncher_pluses_rest")
            end          
         end
       end
     end
   end
end


⌨️ 快捷键说明

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