music_add_playlist_landscape.luac.lua
来自「htc manila 2 sourcecode」· LUA 代码 · 共 37 行
LUA
37 行
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;0;0,43; 4292938c_manila.luac
trace("Load MusicAddPlaylist_Landscape.lua begin")
require("Common\\LayoutInfo")
_LayoutInfo = LayoutInfo()
MusicAddPlaylist_ScreenRotation = class(RotationTemplate)
MusicAddPlaylist_ScreenRotation.__init = function(l_1_0)
RotationTemplate.__init(l_1_0)
trace("+++++++[MusicAddPlaylist_ScreenRotation] : __init")
end
MusicAddPlaylist_ScreenRotation.OnScreenRotation = function(l_2_0)
trace("+++++++[MusicAddPlaylist_ScreenRotation] : OnScreenRotation")
if _application.Orientation == ScreenOrientation_Portrait then
trace("+++++++[MusicAddPlaylist_ScreenRotation] : Portrait mode")
InputBoxEntryBg.Size.width = screenWidth - 10
InputBox:SetWindowSize(screenWidth - 110, 40)
else
if _application.Orientation == ScreenOrientation_Landscape then
trace("+++++++[MusicAddPlaylist_ScreenRotation] : Landscape mode")
InputBoxEntryBg.Size.width = screenWidth + 60
InputBox:SetWindowSize(screenWidth - 118, 40)
end
end
local l_2_1 = screenHeight
l_2_1 = l_2_1 - 2 * SystemTitlebarHeight
camera.Viewport.value = RectF(0, 0, screenWidth, l_2_1)
camera.ViewRight.value = screenWidth
camera.ViewButtom.value = -(l_2_1)
Mask.Rectangle = RectFProperty(RectF(0, 60, screenWidth, screenHeight))
Addplaylist.Size.width = screenWidth - 100
end
trace("Load MusicAddPlaylist_Landscape.lua end")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?