develop branch commit

This commit is contained in:
cuu
2018-06-13 22:52:58 +08:00
committed by clockworkpi
parent 2c73453d18
commit f604310bb2
4 changed files with 270 additions and 9 deletions

View File

@@ -82,7 +82,8 @@ class ListPage(Page):
["","Storage",""],
["","Update", ""],
["","About", "About"],
["","PowerOFF","Power off"]]
["","PowerOFF","Power off"],
["","HelloWorld","HelloWorld"],]
start_x = 0
start_y = 0
@@ -102,7 +103,7 @@ class ListPage(Page):
else:
li.Init(v[1])
if v[1] == "Wifi" or v[1] == "Sound" or v[1] == "Brightness" or v[1] == "Storage" or v[1] == "Update" or v[1] == "About" or v[1] == "PowerOFF":
if v[1] == "Wifi" or v[1] == "Sound" or v[1] == "Brightness" or v[1] == "Storage" or v[1] == "Update" or v[1] == "About" or v[1] == "PowerOFF" or v[1] == "HelloWorld":
li._LinkObj = __import__(v[1])
init_cb = getattr(li._LinkObj,"Init",None)
if init_cb != None: