clean code thankyou

This commit is contained in:
wanlop run 2024-10-02 20:09:36 +07:00
parent a54978e5c6
commit dab1024e2c
7 changed files with 80 additions and 39 deletions

View file

@ -45,6 +45,8 @@
LED LedDoorDoor 5 255 255 255 255
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
Var ShowMenuNameAndImage = "Invisible"
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -131,6 +133,37 @@
<Image>
<X> 125 </X>
<Y> 1700 </Y>
<Height> 300 </Height>
<Width> 320 </Width>
<State> ShowMenuNameAndImage </State>
<Filename> Seeker.PictureDrink </Filename>
</Image>
<Text>
<X> 300 </X>
<Y> 1750 </Y>
<State> ShowMenuNameAndImage </State>
<Width> 1080 </Width>
<Align> Center </Align>
<Font> KanitLightTTF </Font>
<Size> 48 </Size>
<Color> HeadlineColor </Color>
<Value>
eval(
STRCONTAIN "size" Seeker.showname SizeFromSheet
If SizeFromSheet = "true" Then
SPLIT Seeker.showname "###" 1 PureName
Var return = PureName
Else
Var return = Seeker.showname
EndIf
)
</Value>
</Text>
<Text>