Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <layout>
- <row weight="7">
- <button weight="1" text="X" onhold="cmd_home_x" color="green" />
- <label weight="3" id="xPos" text="0.0" />
- <button weight="1" text="A" onhold="cmd_home_a" color="yellow" />
- <label weight="3" id="aPos" text="0.0" />
- </row>
- <row weight="7">
- <button weight="1" text="Y" onhold="cmd_home_y" color="blue" />
- <label weight="3" id="yPos" text="0.0" />
- <button weight="1" text="B" onhold="cmd_home_b" color="purple" />
- <label weight="3" id="bPos" text="0.0" />
- </row>
- <row weight="7">
- <button weight="1" text="Z" onhold="cmd_home_z" color="red" />
- <label weight="3" id="zPos" text="0.0" />
- <button weight="1" text="C" onhold="cmd_home_c" color="pink" />
- <label weight="3" id="cPos" text="0.0" />
- </row>
- <row weight="7">
- <label weight="1" text="SPD:" lightcolor="#777777" darkcolor="#777777" />
- <label weight="3" id="spd" text="0.0" />
- <label weight="1" text="JOG:" lightcolor="#777777" darkcolor="#777777" />
- <label weight="3" id="jog" text="0.0" />
- </row>
- <row weight="15">
- <button weight="7" text="X=0" onhold="cmd_zero_x" light="normal:green;focus:#888888;active:#888888;color:black" />
- <button weight="10" text="--X" color="green" ondown="move_down_start_x" onup="move_down_end_x" />
- <button weight="7" text="-X" color="green" ontap="move_down_step_x" />
- <button weight="7" text="X+" color="green" ontap="move_up_step_x" />
- <button weight="10" text="X++" color="green" ondown="move_up_start_x" onup="move_up_end_x" />
- <button weight="10" icon="play" onhold="cmd_machine_play" />
- </row>
- <row weight="15">
- <button weight="7" text="Y=0" onhold="cmd_zero_y" light="normal:blue;focus:#888888;active:#888888;color:black" />
- <button weight="10" text="--Y" color="blue" ondown="move_down_start_y" onup="move_down_end_y" />
- <button weight="7" text="-Y" color="blue" ontap="move_down_step_y" />
- <button weight="7" text="Y+" color="blue" ontap="move_up_step_y" />
- <button weight="10" text="Y++" color="blue" ondown="move_up_start_y" onup="move_up_end_y" />
- <button weight="10" icon="pause" onhold="cmd_machine_pause" />
- </row>
- <row weight="15">
- <button weight="7" text="Z=0" onhold="cmd_zero_z" light="normal:red;focus:#888888;active:#888888;color:black" />
- <button weight="10" text="--Z" color="red" ondown="move_down_start_z" onup="move_down_end_z" />
- <button weight="7" text="-Z" color="red" ontap="move_down_step_z" />
- <button weight="7" text="Z+" color="red" ontap="move_up_step_z" />
- <button weight="10" text="Z++" color="red" ondown="move_up_start_z" onup="move_up_end_z" />
- <button weight="10" icon="stop" onhold="cmd_machine_stop" />
- </row>
- <row weight="15">
- <button weight="7" text="A=0" onhold="cmd_zero_a" light="normal:yellow;focus:#888888;active:#888888;color:black" />
- <button weight="10" text="--A" color="yellow" ondown="move_down_start_a" onup="move_down_end_a" />
- <button weight="7" text="-A" color="yellow" ontap="move_down_step_a" />
- <button weight="7" text="A+" color="yellow" ontap="move_up_step_a" />
- <button weight="10" text="A++" color="yellow" ondown="move_up_start_a" onup="move_up_end_a" />
- <button weight="10" image="estop256.png" onhold="cmd_machine_eStop" color="transparent"/>
- </row>
- <row weight="12">
- <text weight="9" id="commandText" hint="enter command here" onchange="inputChanged" textalign="center" />
- <button weight="2" text="SEND" onhold="cmdRunTap" color="blue" />
- </row>
- <row weight="10">
- <label id="infoLabel" text="info panel" />
- </row>
- </layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement