peoplemessageoption_landscape.luac.lua
来自「htc manila 2 sourcecode」· LUA 代码 · 共 40 行
LUA
40 行
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l 18;0;0,9; 360a48c8_manila.luac
trace("Load PeopleMessageOption_Landscape.lua begin")
require("Common\\LayoutInfo")
_LayoutInfo = LayoutInfo()
CHECKBOXDX = 50
OPTIONTEXTDX = 100
PeopleMessageOption_ScreenRotation = class(RotationTemplate)
local l_0_0 = PeopleMessageOption_ScreenRotation
l_0_0.__init = function(l_1_0, l_1_1)
trace("+++++++[PeopleMessageOption_ScreenRotation] : __init")
l_1_0._ResetLayoutCallback = l_1_1
RotationTemplate.__init(l_1_0)
end
l_0_0 = PeopleMessageOption_ScreenRotation
l_0_0.OnScreenRotation = function(l_2_0)
trace("+++++++[PeopleMessageOption_ScreenRotation] : OnScreenRotation")
if l_2_0._ResetLayoutCallback ~= nil then
l_2_0._ResetLayoutCallback()
end
local l_2_1 = screenHeight
l_2_1 = l_2_1 - SystemTitlebarHeight * 2
trace("realWindowH=" .. l_2_1)
Camera2D.Viewport.value = RectF(0, 0, screenWidth, l_2_1)
Camera2D.ViewRight.value = screenWidth
Camera2D.ViewButtom.value = -(l_2_1)
Camera3D.Viewport.value = RectF(0, 0, screenWidth, l_2_1)
Camera3D.ViewRight.value = screenWidth
Camera3D.ViewButtom.value = l_2_1
Camera3D.CameraPosition.z = Camera3D.Viewport.height / 2
Group3D.Position.value = Vector3(-screenWidth / 2, (l_2_1) / 2 - ManilaTitleBarHeight, 0)
OptionCheckbox.Position.x = screenWidth - CHECKBOXDX
Detector.Size.width = screenWidth
OptionText.Size.width = screenWidth - OPTIONTEXTDX
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?