add back 6 entitites to power page, remove upper text box

This commit is contained in:
joBr99
2022-09-18 19:45:55 +02:00
parent fd3edb776d
commit 5e3557a5d9
3 changed files with 4 additions and 6 deletions

View File

@@ -10,9 +10,11 @@ head = sharedhead + """
covx tTmp.txt,t1.pco,0,0
// icon home
spstr strCommand.txt,t1.txt,"~",4
// text home
spstr strCommand.txt,tHome.txt,"~",5
"""
print(head)
start = 5
start = 6
for i in range(0,6):
idxstart = start + (i)*5
item = f"""
@@ -24,21 +26,17 @@ for i in range(0,6):
// speed
spstr strCommand.txt,tTmp.txt,"~",{idxstart+2}
covx tTmp.txt,t{i}Speed.val,0,0
// upper text
spstr strCommand.txt,t{i}o.txt,"~",{idxstart+3}
// lower text
spstr strCommand.txt,t{i}u.txt,"~",{idxstart+4}
spstr strCommand.txt,t{i}u.txt,"~",{idxstart+3}
if(t{i}Icon.txt!="")
{{
vis t{i}Icon,1
vis t{i}o,1
vis t{i}u,1
vis h{i},1
}}else
{{
vis t{i}Icon,0
vis t{i}o,0
vis t{i}u,0
vis h{i},0
}}

Binary file not shown.

Binary file not shown.