增添 S5 支持

This commit is contained in:
riseforever2026
2026-10-03 00:01:12 +08:00
parent d4dff20600
commit 9a80b9de30
338 changed files with 9463 additions and 64 deletions
+4 -2
View File
@@ -516,7 +516,8 @@ local function buildHome()
local p = newPage()
if not p then return nil end
clockLabel(p)
pageTitle(p, 'OS4 Icons', 164, 152)
-- 盘内标题 = 显示名:'S5e Pt.1' 31px 量得 121 -> x = (480-121)/2 = 179.5 -> 179
pageTitle(p, 'S5e Pt.1', 179, 123)
listItem(p, 88, 'ic_help', '快速帮助', function() show(pages.help) end)
listItem(p, 186, 'ic_replace', '开始替换', function()
pendingVariant = 'replace'
@@ -602,7 +603,8 @@ local function buildAbout()
if IMG.logo then
pcall(function() p:Image { src = IMG.logo, x = 200, y = 111 } end)
end
lab(p, { x = 170, y = 198, w = 141, h = 40, text = 'OS4 Icons',
-- 'S5e Pt.1' 29px 量得 114 -> 居中 x = 54 + (373-114)/2 = 183.5 -> 183
lab(p, { x = 183, y = 198, w = 116, h = 40, text = 'S5e Pt.1',
text_color = C_WHITE, font_size = 29, text_font = F_ITEM })
lab(p, { x = 216, y = 234, w = 49, h = 28, text = '1.0.0',
text_color = C_GRAY, font_size = 21, text_font = F_VER })