Convert the main menu screen to lua lol
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user