Convert the main menu screen to lua lol

This commit is contained in:
jacqueline
2023-11-12 19:14:09 +11:00
parent 8471046a95
commit 8a0a167adb
206 changed files with 42303 additions and 183 deletions
+13
View File
@@ -0,0 +1,13 @@
local analogTime = lvgl.AnalogTime(nil, {
border_width = 0,
x = lvgl.HOR_RES() // 2,
y = lvgl.VER_RES() // 2,
hands = {
hour = SCRIPT_PATH .. "/assets/hand-hour.png",
minute = SCRIPT_PATH .. "/assets/hand-minute.png",
second = SCRIPT_PATH .. "/assets/hand-second.png",
},
period = 33,
})
print("analogTime: ", analogTime)