music_prop_landscape.luac.lua
来自「htc manila 2 sourcecode」· LUA 代码 · 共 51 行
LUA
51 行
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;0;0,4; 7012e1b3_manila.luac
trace("Load Music_Prop_Landscape.lua begin")
require("Common\\LayoutInfo")
_LayoutInfo = LayoutInfo()
MusicProperty_ScreenRotation = class(RotationTemplate)
MusicProperty_ScreenRotation.__init = function(l_1_0)
RotationTemplate.__init(l_1_0)
trace("[MusicProperty_ScreenRotation] : __init")
end
MusicProperty_ScreenRotation.OnScreenRotation = function(l_2_0)
trace("[MusicProperty_ScreenRotation] : OnScreenRotation")
local l_2_1 = screenHeight
l_2_1 = l_2_1 - 2 * SystemTitlebarHeight
Camera_2D.Viewport.value = RectF(0, 0, screenWidth, l_2_1)
Camera_2D.ViewLeft.value = 0
Camera_2D.ViewRight.value = screenWidth
Camera_2D.ViewTop.value = 0
Camera_2D.ViewButtom.value = -(l_2_1)
backpanel.Size.width = screenWidth
mask_property.Rectangle = RectFProperty(RectF(0, 61, screenWidth, l_2_1))
title.Size.width = screenWidth - 30
separator_title.Size.width = screenWidth
separator_title.TextureCoords:set(0, 0, screenWidth / 2, 1)
separator_length.Size.width = screenWidth
separator_length.TextureCoords:set(0, 0, screenWidth / 2, 1)
filename.Size.width = screenWidth - 30
separator_filename.Size.width = screenWidth
separator_filename.TextureCoords:set(0, 0, screenWidth / 2, 1)
artist.Size.width = screenWidth - 30
separator_artist.Size.width = screenWidth
separator_artist.TextureCoords:set(0, 0, screenWidth / 2, 1)
album.Size.width = screenWidth - 30
separator_album.Size.width = screenWidth
separator_album.TextureCoords:set(0, 0, screenWidth / 2, 1)
genre.Size.width = screenWidth - 30
separator_genre.Size.width = screenWidth
separator_genre.TextureCoords:set(0, 0, screenWidth / 2, 1)
composer.Size.width = screenWidth - 30
separator_composer.Size.width = screenWidth
separator_composer.TextureCoords:set(0, 0, screenWidth / 2, 1)
location.Size.width = screenWidth - 30
separator_last.Size.width = screenWidth
separator_last.TextureCoords:set(0, 0, screenWidth / 2, 1)
end
trace("Load Music_Prop_Landscape.lua end")
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?