mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-14 18:38:55 +00:00
55 lines
2.5 KiB
XML
55 lines
2.5 KiB
XML
<window anim_hint="htranslate" move_focus_prev_key="up" move_focus_next_key="down" text="Basic Controls(fs)">
|
|
<app_bar x="0" y="0" w="100%" h="30" >
|
|
<label x="0" y="0" w="100%" h="100%" text="up/down key change focus"/>
|
|
</app_bar>
|
|
|
|
<row x="0" y="40" w="100%" h="30" children_layout="default(r=1,c=4,xm=2,s=10)">
|
|
<button text="Close" focusable="true" focus="true" on:click="close()"/>
|
|
<button text="Back" focusable="true" on:click="back()"/>
|
|
<button text="Home" focusable="true" style.focused.text_color="red" on:click="back_to_home()"/>
|
|
<button text="Quit" focusable="true" style.focused.text_color="red" on:click="quit()"/>
|
|
</row>
|
|
|
|
<row x="0" y="80" w="100%" h="30" children_layout="default(r=1,c=3,xm=2,s=10)">
|
|
<button text="Open" focusable="true" focus="true" on:click="open('test_fscript')"/>
|
|
<button text="Close" focusable="true" on:click="open('test_fscript', true)"/>
|
|
<button text="Switch TO" focusable="true" on:click="open('test_fscript', false, true)"/>
|
|
</row>
|
|
|
|
|
|
<slider name="slider" x="10" y="116" w="-20" h="20" value="40" focusable="true"/>
|
|
<progress_bar name="bar1" x="10" y="142" w="-20" h="16" value="40" show_text="true"/>
|
|
<progress_bar name="bar2" x="right:10" y="160" w="20" h="118" value="20" vertical="true"/>
|
|
|
|
<row x="0" y="180" w="-50" h="90" children_layout="default(r=1,c=2,m=2)">
|
|
<column children_layout="default(r=3,c=1,ym=2,s=10)" >
|
|
<check_button name="r1" text="Book" focusable="true"/>
|
|
<check_button name="r2" text="Food" focusable="true"/>
|
|
<check_button name="r3" text="Pencil" value="true" focusable="true"/>
|
|
</column>
|
|
|
|
<column children_layout="default(r=3,c=1,ym=2,s=10)" >
|
|
<radio_button name="font_small" text="Small Font" focusable="true"/>
|
|
<radio_button name="font_normal" text="Normal Font" focusable="true"/>
|
|
<radio_button name="font_big" text="Big Font" focusable="true"/>
|
|
</column>
|
|
</row>
|
|
|
|
<row x="20" y="bottom:60" w="100" h="30" children_layout="default(r=1,c=4)">
|
|
<radio_button style="left"/>
|
|
<radio_button style="middle"/>
|
|
<radio_button style="right"/>
|
|
<check_button style="mute"/>
|
|
</row>
|
|
|
|
<grid x="20" y="bottom:10" w="80%" h="40" children_layout="default(r=1,c=5,x=2,s=10)">
|
|
<image draw_type="icon" image="earth"
|
|
animation="rotation(from=0, to=6.28, repeat_times=0, duration=2000, easing=linear)"/>
|
|
<image draw_type="icon" image="rgba" />
|
|
<image draw_type="icon" image="rgb" />
|
|
<image draw_type="icon" image="message"/>
|
|
<image draw_type="icon" image="red_btn_n"/>
|
|
</grid>
|
|
|
|
</window>
|