summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/layout/risc2500.lay
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/layout/risc2500.lay')
-rw-r--r--src/mame/layout/risc2500.lay852
1 files changed, 405 insertions, 447 deletions
diff --git a/src/mame/layout/risc2500.lay b/src/mame/layout/risc2500.lay
index 20f515f873b..b2b095749f2 100644
--- a/src/mame/layout/risc2500.lay
+++ b/src/mame/layout/risc2500.lay
@@ -1,124 +1,6 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!-- define elements -->
- <script>
- local layout = {}
- local board
- local first_sq
- local enpassant -- en passant possible on next move
- local enpassant_pos -- position of the piece to be removed
-
- local port_tags = { ":P7", ":P6", ":P5", ":P4", ":P3", ":P2", ":P1", ":P0" }
- local port_values = { }
- local ports
-
- local function change_piece_state(pos, new_state)
- board[pos.y][pos.x] = new_state
- machine:outputs():set_indexed_value("pos", (pos.y * 10) + pos.x, new_state)
- end
-
- local function move_piece(from, to)
- if board[from.y][from.x] == 0 then
- return 0
- end
-
- -- ignores move on the same position
- if from.y == to.y and from.x == to.x then
- change_piece_state(to, board[to.y][to.x])
- return 1
- end
-
- -- en passant
- if enpassant and board[to.y][to.x] == 0 and board[from.y][from.x] == 12 and from.y == 4 and to.y == 3 and from.x ~= to.x and board[to.y + 1][to.x] == 6 then
- enpassant_pos = {x = to.x, y = to.y + 1}
- elseif enpassant and board[to.y][to.x] == 0 and board[from.y][from.x] == 6 and from.y == 5 and to.y == 6 and from.x ~= to.x and board[to.y - 1][to.x] == 12 then
- enpassant_pos = {x = to.x, y = to.y - 1}
- end
- if board[to.y][to.x] == 0 and from.x == to.x and ((board[from.y][from.x] == 6 and from.y == 2 and to.y == 4) or
- (board[from.y][from.x] == 12 and from.y == 7 and to.y == 5)) then
- enpassant = true
- else
- enpassant = false
- end
-
- -- promotion
- if (to.y == 8 and board[from.y][from.x] == 6) or (to.y == 1 and board[from.y][from.x] == 12) then
- change_piece_state(to, board[from.y][from.x] - 4) -- TODO: make this configurable
- else
- change_piece_state(to, board[from.y][from.x])
- end
-
- change_piece_state(from, 0)
- return 1
- end
-
- function layout.reset()
- board =
- {{ 3, 5, 4, 2, 1, 4, 5, 3 },
- { 6, 6, 6, 6, 6, 6, 6, 6 },
- { 0, 0, 0, 0, 0, 0, 0, 0 },
- { 0, 0, 0, 0, 0, 0, 0, 0 },
- { 0, 0, 0, 0, 0, 0, 0, 0 },
- { 0, 0, 0, 0, 0, 0, 0, 0 },
- { 12,12,12,12,12,12,12,12 },
- { 9,11,10, 8, 7,10,11, 9 }}
-
- for y, row in ipairs(board) do
- for x, cell in ipairs(row) do
- change_piece_state({x = x, y = y}, board[y][x])
- end
- end
- ports = machine:ioport().ports
- first_sq = nil
- enpassant = false
- enpassant_pos = nil
- end
-
- function layout.frame()
- local value = ports[":RESET"]:read()
- if value &amp; 0x01 == 0x01 then
- layout.reset()
- return
- end
-
- for y, tag in ipairs(port_tags) do
- local port = ports[tag]
- if not port then
- return
- end
- local newvalue = port:read()
- if port_values[y] ~= newvalue then
- port_values[y] = newvalue
- for x = 8, 1, -1 do
- if newvalue &amp; 1 == 1 then
- if enpassant_pos and enpassant_pos.x == x and enpassant_pos.y == y then
- change_piece_state(enpassant_pos, 0)
- enpassant = false
- enpassant_pos = nil
- return
- end
-
- if not first_sq then
- if board[y][x] ~= 0 then
- first_sq = {x = x, y = y}
- machine:outputs():set_indexed_value("pos", (y * 10) + x, board[y][x] | 0x10)
- end
- else
- if move_piece(first_sq, {x = x, y = y}) == 1 then
- first_sq = nil
- end
- end
- return
- end
- newvalue = newvalue >> 1
- end
- end
- end
- end
-
- return layout, "risc2500"
- </script>
-
<element name="digit" defstate="0">
<led7seg>
<color red="1.0" green="1.0" blue="1.0" />
@@ -132,7 +14,7 @@
<color red="0.20" green="0.0" blue="0.0" />
</rect>
</element>
- <element name="button" defstate="0">
+ <element name="hlb" defstate="0">
<rect state="0">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="0.0" green="0.0" blue="0.0" />
@@ -143,17 +25,6 @@
</rect>
</element>
- <element name="hl" defstate="0">
- <text string=" ">
- <bounds x="0.0" y="0.0" width="1.0" height="1.0" />
- <color red="1.0" green="1.0" blue="1.0" />
- </text>
- <rect state="1">
- <bounds x="0.12" y="0.12" width="0.76" height="0.76" />
- <color red="1.0" green="1.0" blue="1.0" />
- </rect>
- </element>
-
<element name="text_1"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="1"><color red="0.01" green="0.01" blue="0.01" /></text> </element>
<element name="text_2"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="2"><color red="0.01" green="0.01" blue="0.01" /></text> </element>
<element name="text_3"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="3"><color red="0.01" green="0.01" blue="0.01" /></text> </element>
@@ -181,341 +52,428 @@
<element name="text_up"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="&#x2191;" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
<element name="text_down"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="&#x2193;" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
<element name="text_enter"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="ENTER" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
- <element name="text_p1"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="[K]" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
- <element name="text_p2"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="[Q]" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
- <element name="text_p3"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="[R]" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
- <element name="text_p4"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="[B]" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
- <element name="text_p5"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="[N]" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
- <element name="text_p6"> <rect><color red="0.63" green="0.63" blue="0.63" /></rect> <text string="[P]" > <color red="0.17" green="0.15" blue="0.15" /></text> </element>
+ <element name="text_p1"> <image file="chess/bk.png"/></element>
+ <element name="text_p2"> <image file="chess/bq.png"/></element>
+ <element name="text_p3"> <image file="chess/br.png"/></element>
+ <element name="text_p4"> <image file="chess/bb.png"/></element>
+ <element name="text_p5"> <image file="chess/bn.png"/></element>
+ <element name="text_p6"> <image file="chess/bp.png"/></element>
<element name="sym_colon"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string=":" state="1"> <color red="1.0" green="1.0" blue="1.0" /></text> </element>
<element name="sym_left"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="&#x2190;" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
<element name="sym_right"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="&#x2192;" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
- <element name="sym_p1"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="[K]" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
- <element name="sym_p2"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="[Q]" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
- <element name="sym_p3"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="[R]" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
- <element name="sym_p4"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="[B]" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
- <element name="sym_p5"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="[N]" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
- <element name="sym_p6"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="[P]" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
+ <element name="sym_p1"> <image file="chess/wk.png" state="1"/> </element>
+ <element name="sym_p2"> <image file="chess/wq.png" state="1"/> </element>
+ <element name="sym_p3"> <image file="chess/wr.png" state="1"/> </element>
+ <element name="sym_p4"> <image file="chess/wb.png" state="1"/> </element>
+ <element name="sym_p5"> <image file="chess/wn.png" state="1"/> </element>
+ <element name="sym_p6"> <image file="chess/wp.png" state="1"/> </element>
<element name="sym_white"> <rect><color red="0.00" green="0.00" blue="0.00" /></rect> <text string="&#x25cb;" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
<element name="sym_black"> <text string="&#x25cf;" state="1"> <color red="1.0" green="1.0" blue="1.0" /> </text> </element>
- <element name="white"><rect><color red="1" green="1" blue="1" /></rect></element>
- <element name="black"><rect><color red="0.4" green="0.4" blue="0.4" /></rect></element>
<element name="background"><rect><color red="0.63" green="0.63" blue="0.63" /></rect></element>
<element name="piece" defstate="0">
- <image file="chess/bk.png" state="1"/>
- <image file="chess/bq.png" state="2"/>
- <image file="chess/br.png" state="3"/>
- <image file="chess/bb.png" state="4"/>
- <image file="chess/bn.png" state="5"/>
- <image file="chess/bp.png" state="6"/>
-
- <image file="chess/wk.png" state="7"/>
- <image file="chess/wq.png" state="8"/>
- <image file="chess/wr.png" state="9"/>
- <image file="chess/wb.png" state="10"/>
- <image file="chess/wn.png" state="11"/>
- <image file="chess/wp.png" state="12"/>
+ <image file="chess/wp.png" state="1"/>
+ <image file="chess/wn.png" state="2"/>
+ <image file="chess/wb.png" state="3"/>
+ <image file="chess/wr.png" state="4"/>
+ <image file="chess/wq.png" state="5"/>
+ <image file="chess/wk.png" state="6"/>
+
+ <image file="chess/bp.png" state="7"/>
+ <image file="chess/bn.png" state="8"/>
+ <image file="chess/bb.png" state="9"/>
+ <image file="chess/br.png" state="10"/>
+ <image file="chess/bq.png" state="11"/>
+ <image file="chess/bk.png" state="12"/>
<!-- selected pieces -->
- <image file="chess/bk.png" state="17"><color alpha="0.5" /></image>
- <image file="chess/bq.png" state="18"><color alpha="0.5" /></image>
- <image file="chess/br.png" state="19"><color alpha="0.5" /></image>
- <image file="chess/bb.png" state="20"><color alpha="0.5" /></image>
- <image file="chess/bn.png" state="21"><color alpha="0.5" /></image>
- <image file="chess/bp.png" state="22"><color alpha="0.5" /></image>
-
- <image file="chess/wk.png" state="23"><color alpha="0.5" /></image>
- <image file="chess/wq.png" state="24"><color alpha="0.5" /></image>
- <image file="chess/wr.png" state="25"><color alpha="0.5" /></image>
- <image file="chess/wb.png" state="26"><color alpha="0.5" /></image>
- <image file="chess/wn.png" state="27"><color alpha="0.5" /></image>
- <image file="chess/wp.png" state="28"><color alpha="0.5" /></image>
+ <image file="chess/wp.png" state="13"><color alpha="0.5" /></image>
+ <image file="chess/wn.png" state="14"><color alpha="0.5" /></image>
+ <image file="chess/wb.png" state="15"><color alpha="0.5" /></image>
+ <image file="chess/wr.png" state="16"><color alpha="0.5" /></image>
+ <image file="chess/wq.png" state="17"><color alpha="0.5" /></image>
+ <image file="chess/wk.png" state="18"><color alpha="0.5" /></image>
+
+ <image file="chess/bp.png" state="19"><color alpha="0.5" /></image>
+ <image file="chess/bn.png" state="20"><color alpha="0.5" /></image>
+ <image file="chess/bb.png" state="21"><color alpha="0.5" /></image>
+ <image file="chess/br.png" state="22"><color alpha="0.5" /></image>
+ <image file="chess/bq.png" state="23"><color alpha="0.5" /></image>
+ <image file="chess/bk.png" state="24"><color alpha="0.5" /></image>
</element>
-<!-- build screen -->
- <view name="Internal Layout">
- <bezel element="background"><bounds x="0" y="0" width="95" height="90" /></bezel>
- <bezel element="background"><bounds x="95" y="16" width="60" height="74" /></bezel>
- <bezel element="background"><bounds x="95" y="0" width="60" height="4" /></bezel>
- <bezel element="background"><bounds x="125" y="0" width="30" height="20" /></bezel>
-
- <bezel element="white"><bounds x="8" y="3" width="80" height="80" /></bezel>
- <bezel element="black"><bounds x="8" y="13" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="8" y="33" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="8" y="53" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="8" y="73" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="18" y="3" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="18" y="23" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="18" y="43" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="18" y="63" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="28" y="13" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="28" y="33" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="28" y="53" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="28" y="73" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="38" y="3" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="38" y="23" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="38" y="43" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="38" y="63" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="48" y="13" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="48" y="33" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="48" y="53" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="48" y="73" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="58" y="3" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="58" y="23" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="58" y="43" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="58" y="63" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="68" y="13" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="68" y="33" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="68" y="53" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="68" y="73" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="78" y="3" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="78" y="23" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="78" y="43" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="78" y="63" width="10" height="10" /></bezel>
-
- <bezel element="text_8" ><bounds x="5" y="7" width="2" height="2" /></bezel>
- <bezel element="text_7" ><bounds x="5" y="17" width="2" height="2" /></bezel>
- <bezel element="text_6" ><bounds x="5" y="27" width="2" height="2" /></bezel>
- <bezel element="text_5" ><bounds x="5" y="37" width="2" height="2" /></bezel>
- <bezel element="text_4" ><bounds x="5" y="47" width="2" height="2" /></bezel>
- <bezel element="text_3" ><bounds x="5" y="57" width="2" height="2" /></bezel>
- <bezel element="text_2" ><bounds x="5" y="67" width="2" height="2" /></bezel>
- <bezel element="text_1" ><bounds x="5" y="77" width="2" height="2" /></bezel>
- <bezel element="text_a" ><bounds x="12" y="84" width="2" height="2" /></bezel>
- <bezel element="text_b" ><bounds x="22" y="84" width="2" height="2" /></bezel>
- <bezel element="text_c" ><bounds x="32" y="84" width="2" height="2" /></bezel>
- <bezel element="text_d" ><bounds x="42" y="84" width="2" height="2" /></bezel>
- <bezel element="text_e" ><bounds x="52" y="84" width="2" height="2" /></bezel>
- <bezel element="text_f" ><bounds x="62" y="84" width="2" height="2" /></bezel>
- <bezel element="text_g" ><bounds x="72" y="84" width="2" height="2" /></bezel>
- <bezel element="text_h" ><bounds x="82" y="84" width="2" height="2" /></bezel>
-
- <bezel name="led0" element="led"><bounds x="2" y="77.5" width="2" height="1" /></bezel>
- <bezel name="led1" element="led"><bounds x="2" y="67.5" width="2" height="1" /></bezel>
- <bezel name="led2" element="led"><bounds x="2" y="57.5" width="2" height="1" /></bezel>
- <bezel name="led3" element="led"><bounds x="2" y="47.5" width="2" height="1" /></bezel>
- <bezel name="led4" element="led"><bounds x="2" y="37.5" width="2" height="1" /></bezel>
- <bezel name="led5" element="led"><bounds x="2" y="27.5" width="2" height="1" /></bezel>
- <bezel name="led6" element="led"><bounds x="2" y="17.5" width="2" height="1" /></bezel>
- <bezel name="led7" element="led"><bounds x="2" y="7.5" width="2" height="1" /></bezel>
- <bezel name="led8" element="led"><bounds x="12.5" y="87" width="1" height="2" /></bezel>
- <bezel name="led9" element="led"><bounds x="22.5" y="87" width="1" height="2" /></bezel>
- <bezel name="led10" element="led"><bounds x="32.5" y="87" width="1" height="2" /></bezel>
- <bezel name="led11" element="led"><bounds x="42.5" y="87" width="1" height="2" /></bezel>
- <bezel name="led12" element="led"><bounds x="52.5" y="87" width="1" height="2" /></bezel>
- <bezel name="led13" element="led"><bounds x="62.5" y="87" width="1" height="2" /></bezel>
- <bezel name="led14" element="led"><bounds x="72.5" y="87" width="1" height="2" /></bezel>
- <bezel name="led15" element="led"><bounds x="82.5" y="87" width="1" height="2" /></bezel>
-
- <bezel element="hl" inputtag="P0" inputmask="0x01"><bounds x="78" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P0" inputmask="0x02"><bounds x="68" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P0" inputmask="0x04"><bounds x="58" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P0" inputmask="0x08"><bounds x="48" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P0" inputmask="0x10"><bounds x="38" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P0" inputmask="0x20"><bounds x="28" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P0" inputmask="0x40"><bounds x="18" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P0" inputmask="0x80"><bounds x="8" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="P1" inputmask="0x01"><bounds x="78" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P1" inputmask="0x02"><bounds x="68" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P1" inputmask="0x04"><bounds x="58" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P1" inputmask="0x08"><bounds x="48" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P1" inputmask="0x10"><bounds x="38" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P1" inputmask="0x20"><bounds x="28" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P1" inputmask="0x40"><bounds x="18" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P1" inputmask="0x80"><bounds x="8" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
-
- <bezel element="hl" inputtag="P2" inputmask="0x01"><bounds x="78" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P2" inputmask="0x02"><bounds x="68" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P2" inputmask="0x04"><bounds x="58" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P2" inputmask="0x08"><bounds x="48" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P2" inputmask="0x10"><bounds x="38" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P2" inputmask="0x20"><bounds x="28" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P2" inputmask="0x40"><bounds x="18" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P2" inputmask="0x80"><bounds x="8" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="P3" inputmask="0x01"><bounds x="78" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P3" inputmask="0x02"><bounds x="68" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P3" inputmask="0x04"><bounds x="58" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P3" inputmask="0x08"><bounds x="48" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P3" inputmask="0x10"><bounds x="38" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P3" inputmask="0x20"><bounds x="28" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P3" inputmask="0x40"><bounds x="18" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P3" inputmask="0x80"><bounds x="8" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
-
- <bezel element="hl" inputtag="P4" inputmask="0x01"><bounds x="78" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P4" inputmask="0x02"><bounds x="68" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P4" inputmask="0x04"><bounds x="58" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P4" inputmask="0x08"><bounds x="48" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P4" inputmask="0x10"><bounds x="38" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P4" inputmask="0x20"><bounds x="28" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P4" inputmask="0x40"><bounds x="18" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P4" inputmask="0x80"><bounds x="8" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="P5" inputmask="0x01"><bounds x="78" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P5" inputmask="0x02"><bounds x="68" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P5" inputmask="0x04"><bounds x="58" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P5" inputmask="0x08"><bounds x="48" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P5" inputmask="0x10"><bounds x="38" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P5" inputmask="0x20"><bounds x="28" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P5" inputmask="0x40"><bounds x="18" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P5" inputmask="0x80"><bounds x="8" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
-
- <bezel element="hl" inputtag="P6" inputmask="0x01"><bounds x="78" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P6" inputmask="0x02"><bounds x="68" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P6" inputmask="0x04"><bounds x="58" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P6" inputmask="0x08"><bounds x="48" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P6" inputmask="0x10"><bounds x="38" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P6" inputmask="0x20"><bounds x="28" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P6" inputmask="0x40"><bounds x="18" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P6" inputmask="0x80"><bounds x="8" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="P7" inputmask="0x01"><bounds x="78" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P7" inputmask="0x02"><bounds x="68" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P7" inputmask="0x04"><bounds x="58" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P7" inputmask="0x08"><bounds x="48" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P7" inputmask="0x10"><bounds x="38" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P7" inputmask="0x20"><bounds x="28" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="P7" inputmask="0x40"><bounds x="18" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="P7" inputmask="0x80"><bounds x="8" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
-
- <bezel name="pos81" element="piece" ><bounds x="8" y="73" width="10" height="10" /></bezel>
- <bezel name="pos82" element="piece" ><bounds x="18" y="73" width="10" height="10" /></bezel>
- <bezel name="pos83" element="piece" ><bounds x="28" y="73" width="10" height="10" /></bezel>
- <bezel name="pos84" element="piece" ><bounds x="38" y="73" width="10" height="10" /></bezel>
- <bezel name="pos85" element="piece" ><bounds x="48" y="73" width="10" height="10" /></bezel>
- <bezel name="pos86" element="piece" ><bounds x="58" y="73" width="10" height="10" /></bezel>
- <bezel name="pos87" element="piece" ><bounds x="68" y="73" width="10" height="10" /></bezel>
- <bezel name="pos88" element="piece" ><bounds x="78" y="73" width="10" height="10" /></bezel>
- <bezel name="pos71" element="piece" ><bounds x="8" y="63" width="10" height="10" /></bezel>
- <bezel name="pos72" element="piece" ><bounds x="18" y="63" width="10" height="10" /></bezel>
- <bezel name="pos73" element="piece" ><bounds x="28" y="63" width="10" height="10" /></bezel>
- <bezel name="pos74" element="piece" ><bounds x="38" y="63" width="10" height="10" /></bezel>
- <bezel name="pos75" element="piece" ><bounds x="48" y="63" width="10" height="10" /></bezel>
- <bezel name="pos76" element="piece" ><bounds x="58" y="63" width="10" height="10" /></bezel>
- <bezel name="pos77" element="piece" ><bounds x="68" y="63" width="10" height="10" /></bezel>
- <bezel name="pos78" element="piece" ><bounds x="78" y="63" width="10" height="10" /></bezel>
- <bezel name="pos61" element="piece" ><bounds x="8" y="53" width="10" height="10" /></bezel>
- <bezel name="pos62" element="piece" ><bounds x="18" y="53" width="10" height="10" /></bezel>
- <bezel name="pos63" element="piece" ><bounds x="28" y="53" width="10" height="10" /></bezel>
- <bezel name="pos64" element="piece" ><bounds x="38" y="53" width="10" height="10" /></bezel>
- <bezel name="pos65" element="piece" ><bounds x="48" y="53" width="10" height="10" /></bezel>
- <bezel name="pos66" element="piece" ><bounds x="58" y="53" width="10" height="10" /></bezel>
- <bezel name="pos67" element="piece" ><bounds x="68" y="53" width="10" height="10" /></bezel>
- <bezel name="pos68" element="piece" ><bounds x="78" y="53" width="10" height="10" /></bezel>
- <bezel name="pos51" element="piece" ><bounds x="8" y="43" width="10" height="10" /></bezel>
- <bezel name="pos52" element="piece" ><bounds x="18" y="43" width="10" height="10" /></bezel>
- <bezel name="pos53" element="piece" ><bounds x="28" y="43" width="10" height="10" /></bezel>
- <bezel name="pos54" element="piece" ><bounds x="38" y="43" width="10" height="10" /></bezel>
- <bezel name="pos55" element="piece" ><bounds x="48" y="43" width="10" height="10" /></bezel>
- <bezel name="pos56" element="piece" ><bounds x="58" y="43" width="10" height="10" /></bezel>
- <bezel name="pos57" element="piece" ><bounds x="68" y="43" width="10" height="10" /></bezel>
- <bezel name="pos58" element="piece" ><bounds x="78" y="43" width="10" height="10" /></bezel>
- <bezel name="pos41" element="piece" ><bounds x="8" y="33" width="10" height="10" /></bezel>
- <bezel name="pos42" element="piece" ><bounds x="18" y="33" width="10" height="10" /></bezel>
- <bezel name="pos43" element="piece" ><bounds x="28" y="33" width="10" height="10" /></bezel>
- <bezel name="pos44" element="piece" ><bounds x="38" y="33" width="10" height="10" /></bezel>
- <bezel name="pos45" element="piece" ><bounds x="48" y="33" width="10" height="10" /></bezel>
- <bezel name="pos46" element="piece" ><bounds x="58" y="33" width="10" height="10" /></bezel>
- <bezel name="pos47" element="piece" ><bounds x="68" y="33" width="10" height="10" /></bezel>
- <bezel name="pos48" element="piece" ><bounds x="78" y="33" width="10" height="10" /></bezel>
- <bezel name="pos31" element="piece" ><bounds x="8" y="23" width="10" height="10" /></bezel>
- <bezel name="pos32" element="piece" ><bounds x="18" y="23" width="10" height="10" /></bezel>
- <bezel name="pos33" element="piece" ><bounds x="28" y="23" width="10" height="10" /></bezel>
- <bezel name="pos34" element="piece" ><bounds x="38" y="23" width="10" height="10" /></bezel>
- <bezel name="pos35" element="piece" ><bounds x="48" y="23" width="10" height="10" /></bezel>
- <bezel name="pos36" element="piece" ><bounds x="58" y="23" width="10" height="10" /></bezel>
- <bezel name="pos37" element="piece" ><bounds x="68" y="23" width="10" height="10" /></bezel>
- <bezel name="pos38" element="piece" ><bounds x="78" y="23" width="10" height="10" /></bezel>
- <bezel name="pos21" element="piece" ><bounds x="8" y="13" width="10" height="10" /></bezel>
- <bezel name="pos22" element="piece" ><bounds x="18" y="13" width="10" height="10" /></bezel>
- <bezel name="pos23" element="piece" ><bounds x="28" y="13" width="10" height="10" /></bezel>
- <bezel name="pos24" element="piece" ><bounds x="38" y="13" width="10" height="10" /></bezel>
- <bezel name="pos25" element="piece" ><bounds x="48" y="13" width="10" height="10" /></bezel>
- <bezel name="pos26" element="piece" ><bounds x="58" y="13" width="10" height="10" /></bezel>
- <bezel name="pos27" element="piece" ><bounds x="68" y="13" width="10" height="10" /></bezel>
- <bezel name="pos28" element="piece" ><bounds x="78" y="13" width="10" height="10" /></bezel>
- <bezel name="pos11" element="piece" ><bounds x="8" y="3" width="10" height="10" /></bezel>
- <bezel name="pos12" element="piece" ><bounds x="18" y="3" width="10" height="10" /></bezel>
- <bezel name="pos13" element="piece" ><bounds x="28" y="3" width="10" height="10" /></bezel>
- <bezel name="pos14" element="piece" ><bounds x="38" y="3" width="10" height="10" /></bezel>
- <bezel name="pos15" element="piece" ><bounds x="48" y="3" width="10" height="10" /></bezel>
- <bezel name="pos16" element="piece" ><bounds x="58" y="3" width="10" height="10" /></bezel>
- <bezel name="pos17" element="piece" ><bounds x="68" y="3" width="10" height="10" /></bezel>
- <bezel name="pos18" element="piece" ><bounds x="78" y="3" width="10" height="10" /></bezel>
+<!-- sb board -->
+
+ <element name="cwhite"><rect><color red="1.00" green="1.00" blue="1.00" /></rect></element>
+ <element name="cblack"><rect><color red="0.40" green="0.40" blue="0.40" /></rect></element>
+
+ <element name="hlbb" defstate="0">
+ <text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
+ <disk state="1">
+ <bounds x="0.12" y="0.12" width="0.76" height="0.76" />
+ <color red="0" green="0" blue="0" />
+ </disk>
+ </element>
+
+ <group name="sb_board">
+ <bounds x="0" y="0" width="80" height="80" />
+
+ <!-- squares (avoid seams) -->
+ <bezel element="cwhite"><bounds x="0" y="0" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="0" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="0" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="0" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="0" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="0" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="0" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="0" width="10" height="10" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="10" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="10" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="10" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="10" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="10" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="10" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="10" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="10" width="10" height="10" /></bezel>
+
+ <bezel element="cwhite"><bounds x="0" y="20" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="20" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="20" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="20" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="20" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="20" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="20" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="20" width="10" height="10" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="30" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="30" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="30" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="30" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="30" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="30" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="30" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="30" width="10" height="10" /></bezel>
+
+ <bezel element="cwhite"><bounds x="0" y="40" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="40" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="40" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="40" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="40" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="40" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="40" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="40" width="10" height="10" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="50" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="50" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="50" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="50" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="50" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="50" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="50" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="50" width="10" height="10" /></bezel>
+
+ <bezel element="cwhite"><bounds x="0" y="60" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="60" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="60" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="60" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="60" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="60" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="60" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="60" width="10" height="10" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="70" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="70" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="70" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="70" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="70" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="70" width="10" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="70" width="10" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel>
+
+ <!-- sensors, pieces -->
+ <repeat count="8">
+ <param name="y" start="0" increment="10" />
+ <param name="i" start="8" increment="-1" />
+
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.1" /></bezel>
+
+ <bezel name="piece_a~i~" element="piece"><bounds x="0.5" y="~y~" width="9" height="9" /></bezel>
+ <bezel name="piece_b~i~" element="piece"><bounds x="10.5" y="~y~" width="9" height="9" /></bezel>
+ <bezel name="piece_c~i~" element="piece"><bounds x="20.5" y="~y~" width="9" height="9" /></bezel>
+ <bezel name="piece_d~i~" element="piece"><bounds x="30.5" y="~y~" width="9" height="9" /></bezel>
+ <bezel name="piece_e~i~" element="piece"><bounds x="40.5" y="~y~" width="9" height="9" /></bezel>
+ <bezel name="piece_f~i~" element="piece"><bounds x="50.5" y="~y~" width="9" height="9" /></bezel>
+ <bezel name="piece_g~i~" element="piece"><bounds x="60.5" y="~y~" width="9" height="9" /></bezel>
+ <bezel name="piece_h~i~" element="piece"><bounds x="70.5" y="~y~" width="9" height="9" /></bezel>
+ </repeat>
+ </group>
+
+
+<!-- sb ui -->
+
+ <element name="hlub" defstate="0">
+ <rect state="1"><color red="0" green="0" blue="0" /></rect>
+ </element>
+
+ <element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uib2">
+ <rect><color red="1.00" green="1.00" blue="1.00" /></rect>
+ <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uib3">
+ <rect><color red="1.00" green="1.00" blue="1.00" /></rect>
+ <text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uih2">
+ <rect><color red="1.00" green="1.00" blue="1.00" /></rect>
+ <text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uiu2a">
+ <rect><color red="1.00" green="1.00" blue="1.00" /></rect>
+ <text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu2b">
+ <rect><color red="1.00" green="1.00" blue="1.00" /></rect>
+ <text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu2c">
+ <rect><color red="1.00" green="1.00" blue="1.00" /></rect>
+ <text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu2d">
+ <rect><color red="1.00" green="1.00" blue="1.00" /></rect>
+ <text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu3a" defstate="0">
+ <simplecounter maxstate="999" digits="1" align="2">
+ <color red="0.81" green="0.8" blue="0.79" />
+ </simplecounter>
+ </element>
+ <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uiu3c" defstate="0">
+ <simplecounter maxstate="999" digits="1" align="1">
+ <color red="0.81" green="0.8" blue="0.79" />
+ </simplecounter>
+ </element>
+
+ <group name="sb_ui">
+ <bounds x="0" y="0" width="10" height="80" />
+ <bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel>
+ <bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel>
+ <bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel>
+ <bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel>
+ <bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel>
+
+ <!-- board -->
+ <bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel>
+
+ <bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel>
+ <bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel>
+
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel>
+
+ <!-- spawn -->
+ <bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel>
+
+ <bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel>
+ <bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel>
+ <bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel>
+ <bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel>
+ <bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel>
+ <bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel>
+ <bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel>
+ <bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel>
+ <bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel>
+ <bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel>
+ <bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel>
+ <bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel>
+
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
+
+ <!-- hand -->
+ <bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel>
+ <bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel>
+ <bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel>
+
+ <bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel>
+ <bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
+
+ <!-- undo -->
+ <bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel>
+ <bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel>
+ <bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel>
+ <bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel>
+
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+
+ <bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel>
+ <bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel>
+ <bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel>
+ </group>
<!-- LCD panel -->
- <screen index="0"><bounds x="95" y="4.5" width="30" height="4" /></screen>
-
- <bezel name="sym12" element="sym_colon" ><bounds x="107.0" y="9" width="1.5" height="3" /></bezel>
- <bezel name="sym13" element="sym_colon" ><bounds x="119.2" y="9" width="1.5" height="3" /></bezel>
- <bezel name="digit11" element="digit" ><bounds x="95.9" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit10" element="digit" ><bounds x="98.35" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit9" element="digit" ><bounds x="100.8" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit8" element="digit" ><bounds x="103.25" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit7" element="digit" ><bounds x="105.7" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit6" element="digit" ><bounds x="108.15" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit5" element="digit" ><bounds x="110.6" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit4" element="digit" ><bounds x="113.05" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit3" element="digit" ><bounds x="115.5" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit2" element="digit" ><bounds x="117.95" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit1" element="digit" ><bounds x="120.4" y="9" width="1.6" height="3" /></bezel>
- <bezel name="digit0" element="digit" ><bounds x="122.85" y="9" width="1.6" height="3" /></bezel>
-
- <bezel name="sym1" element="sym_right" > <bounds x="121.60" y="12.7" width="3" height="3" /></bezel>
- <bezel name="sym2" element="sym_p6" > <bounds x="116.60" y="12.7" width="3.5" height="2.2" /></bezel>
- <bezel name="sym3" element="sym_p5" > <bounds x="113.75" y="12.7" width="3.5" height="2.2" /></bezel>
- <bezel name="sym4" element="sym_p4" > <bounds x="110.88" y="12.7" width="3.5" height="2.2" /></bezel>
- <bezel name="sym6" element="sym_p3" > <bounds x="108.00" y="12.7" width="3.5" height="2.2" /></bezel>
- <bezel name="sym7" element="sym_p2" > <bounds x="105.13" y="12.7" width="3.5" height="2.2" /></bezel>
- <bezel name="sym8" element="sym_p1" > <bounds x="102.25" y="12.7" width="3.5" height="2.2" /></bezel>
- <bezel name="sym9" element="sym_white" > <bounds x="99.00" y="12.5" width="4" height="3" /></bezel>
- <bezel name="sym10" element="sym_black" > <bounds x="99.90" y="13.0" width="2.2" height="2.2" /></bezel>
- <bezel name="sym11" element="sym_left" > <bounds x="95.40" y="12.7" width="3" height="3" /></bezel>
+ <group name="lcd">
+ <bounds x="0" y="0" width="30" height="11.2" />
+ <screen index="0"><bounds x="0" y="0" width="30" height="4" /></screen>
+
+ <bezel name="sym12" element="sym_colon" ><bounds x="12.0" y="4.5" width="1.5" height="3" /></bezel>
+ <bezel name="sym13" element="sym_colon" ><bounds x="24.2" y="4.5" width="1.5" height="3" /></bezel>
+ <bezel name="digit11" element="digit" ><bounds x="0.9" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit10" element="digit" ><bounds x="3.35" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit9" element="digit" ><bounds x="5.8" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit8" element="digit" ><bounds x="8.25" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit7" element="digit" ><bounds x="10.7" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit6" element="digit" ><bounds x="13.15" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit5" element="digit" ><bounds x="15.6" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit4" element="digit" ><bounds x="18.05" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit3" element="digit" ><bounds x="20.5" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit2" element="digit" ><bounds x="22.95" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit1" element="digit" ><bounds x="25.4" y="4.5" width="1.6" height="3" /></bezel>
+ <bezel name="digit0" element="digit" ><bounds x="27.85" y="4.5" width="1.6" height="3" /></bezel>
+
+ <bezel name="sym1" element="sym_right" > <bounds x="26.60" y="7.7" width="3" height="3" /></bezel>
+ <bezel name="sym2" element="sym_p6" > <bounds x="21.60" y="8.1" width="2.5" height="2.2" /></bezel>
+ <bezel name="sym3" element="sym_p5" > <bounds x="18.85" y="8.1" width="2.5" height="2.2" /></bezel>
+ <bezel name="sym4" element="sym_p4" > <bounds x="16.08" y="8.1" width="2.5" height="2.2" /></bezel>
+ <bezel name="sym6" element="sym_p3" > <bounds x="13.30" y="8.1" width="2.5" height="2.2" /></bezel>
+ <bezel name="sym7" element="sym_p2" > <bounds x="10.53" y="8.1" width="2.5" height="2.2" /></bezel>
+ <bezel name="sym8" element="sym_p1" > <bounds x="7.75" y="8.1" width="2.5" height="2.2" /></bezel>
+ <bezel name="sym9" element="sym_white" > <bounds x="4.00" y="7.5" width="4" height="3" /></bezel>
+ <bezel name="sym10" element="sym_black" > <bounds x="4.91" y="7.97" width="2.2" height="2.2" /></bezel>
+ <bezel name="sym11" element="sym_left" > <bounds x="0.40" y="7.7" width="3" height="3" /></bezel>
+ </group>
+<!-- build screen -->
+ <view name="Internal Layout">
+ <bounds x="0" y="0" width="166.5" height="90" />
+
+ <bezel element="background"><bounds x="13" y="0" width="95" height="90" /></bezel>
+ <bezel element="background"><bounds x="108" y="16" width="60" height="74" /></bezel>
+ <bezel element="background"><bounds x="108" y="0" width="60" height="4" /></bezel>
+ <bezel element="background"><bounds x="138" y="0" width="30" height="20" /></bezel>
+
+ <bezel element="text_8" ><bounds x="18" y="7" width="2" height="2" /></bezel>
+ <bezel element="text_7" ><bounds x="18" y="17" width="2" height="2" /></bezel>
+ <bezel element="text_6" ><bounds x="18" y="27" width="2" height="2" /></bezel>
+ <bezel element="text_5" ><bounds x="18" y="37" width="2" height="2" /></bezel>
+ <bezel element="text_4" ><bounds x="18" y="47" width="2" height="2" /></bezel>
+ <bezel element="text_3" ><bounds x="18" y="57" width="2" height="2" /></bezel>
+ <bezel element="text_2" ><bounds x="18" y="67" width="2" height="2" /></bezel>
+ <bezel element="text_1" ><bounds x="18" y="77" width="2" height="2" /></bezel>
+ <bezel element="text_a" ><bounds x="25" y="84" width="2" height="2" /></bezel>
+ <bezel element="text_b" ><bounds x="35" y="84" width="2" height="2" /></bezel>
+ <bezel element="text_c" ><bounds x="45" y="84" width="2" height="2" /></bezel>
+ <bezel element="text_d" ><bounds x="55" y="84" width="2" height="2" /></bezel>
+ <bezel element="text_e" ><bounds x="65" y="84" width="2" height="2" /></bezel>
+ <bezel element="text_f" ><bounds x="75" y="84" width="2" height="2" /></bezel>
+ <bezel element="text_g" ><bounds x="85" y="84" width="2" height="2" /></bezel>
+ <bezel element="text_h" ><bounds x="95" y="84" width="2" height="2" /></bezel>
+
+ <!-- LEDs -->
+ <bezel name="led0" element="led"><bounds x="15" y="77.5" width="2" height="1" /></bezel>
+ <bezel name="led1" element="led"><bounds x="15" y="67.5" width="2" height="1" /></bezel>
+ <bezel name="led2" element="led"><bounds x="15" y="57.5" width="2" height="1" /></bezel>
+ <bezel name="led3" element="led"><bounds x="15" y="47.5" width="2" height="1" /></bezel>
+ <bezel name="led4" element="led"><bounds x="15" y="37.5" width="2" height="1" /></bezel>
+ <bezel name="led5" element="led"><bounds x="15" y="27.5" width="2" height="1" /></bezel>
+ <bezel name="led6" element="led"><bounds x="15" y="17.5" width="2" height="1" /></bezel>
+ <bezel name="led7" element="led"><bounds x="15" y="7.5" width="2" height="1" /></bezel>
+ <bezel name="led8" element="led"><bounds x="25.5" y="87" width="1" height="2" /></bezel>
+ <bezel name="led9" element="led"><bounds x="35.5" y="87" width="1" height="2" /></bezel>
+ <bezel name="led10" element="led"><bounds x="45.5" y="87" width="1" height="2" /></bezel>
+ <bezel name="led11" element="led"><bounds x="55.5" y="87" width="1" height="2" /></bezel>
+ <bezel name="led12" element="led"><bounds x="65.5" y="87" width="1" height="2" /></bezel>
+ <bezel name="led13" element="led"><bounds x="75.5" y="87" width="1" height="2" /></bezel>
+ <bezel name="led14" element="led"><bounds x="85.5" y="87" width="1" height="2" /></bezel>
+ <bezel name="led15" element="led"><bounds x="95.5" y="87" width="1" height="2" /></bezel>
<!-- right side -->
- <bezel element="text_on" ><bounds x="96" y="37" width="8" height="2" /></bezel>
- <bezel element="text_off" ><bounds x="107" y="37" width="8" height="2" /></bezel>
- <bezel element="text_newgame" ><bounds x="118" y="37" width="8" height="2" /></bezel>
- <bezel element="text_play" ><bounds x="129" y="37" width="8" height="2" /></bezel>
- <bezel element="text_back" ><bounds x="140" y="37" width="8" height="2" /></bezel>
-
- <bezel element="text_left" ><bounds x="96" y="52" width="7" height="3" /></bezel>
- <bezel element="text_right" ><bounds x="105" y="52" width="7" height="3" /></bezel>
- <bezel element="text_menu" ><bounds x="114" y="52" width="7" height="2" /></bezel>
- <bezel element="text_up" ><bounds x="123" y="51" width="7" height="3" /></bezel>
- <bezel element="text_down" ><bounds x="132" y="51" width="7" height="3" /></bezel>
- <bezel element="text_enter" ><bounds x="141" y="52" width="7" height="2" /></bezel>
-
- <bezel element="text_p1" ><bounds x="96" y="66" width="7" height="3" /></bezel>
- <bezel element="text_p2" ><bounds x="105" y="66" width="7" height="3" /></bezel>
- <bezel element="text_p3" ><bounds x="114" y="66" width="7" height="3" /></bezel>
- <bezel element="text_p4" ><bounds x="123" y="66" width="7" height="3" /></bezel>
- <bezel element="text_p5" ><bounds x="132" y="66" width="7" height="3" /></bezel>
- <bezel element="text_p6" ><bounds x="141" y="66" width="7" height="3" /></bezel>
-
- <bezel element="button" inputtag="RESET" inputmask="0x00000001"><bounds x="96" y="40" width="8" height="2" /></bezel>
- <bezel element="button" inputtag="P7" inputmask="0x80000000"><bounds x="107" y="40" width="8" height="2" /></bezel>
- <bezel element="button" inputtag="P6" inputmask="0x80000000"><bounds x="118" y="40" width="8" height="2" /></bezel>
- <bezel element="button" inputtag="P5" inputmask="0x80000000"><bounds x="129" y="40" width="8" height="2" /></bezel>
- <bezel element="button" inputtag="P0" inputmask="0x80000000"><bounds x="140" y="40" width="8" height="2" /></bezel>
-
- <bezel element="button" inputtag="P7" inputmask="0x40000000"><bounds x="96" y="55" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P6" inputmask="0x40000000"><bounds x="105" y="55" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P4" inputmask="0x80000000"><bounds x="114" y="55" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P3" inputmask="0x80000000"><bounds x="123" y="55" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P2" inputmask="0x80000000"><bounds x="132" y="55" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P1" inputmask="0x80000000"><bounds x="141" y="55" width="7" height="2" /></bezel>
-
- <bezel element="button" inputtag="P5" inputmask="0x40000000"><bounds x="96" y="70" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P4" inputmask="0x40000000"><bounds x="105" y="70" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P3" inputmask="0x40000000"><bounds x="114" y="70" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P2" inputmask="0x40000000"><bounds x="123" y="70" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P1" inputmask="0x40000000"><bounds x="132" y="70" width="7" height="2" /></bezel>
- <bezel element="button" inputtag="P0" inputmask="0x40000000"><bounds x="141" y="70" width="7" height="2" /></bezel>
+ <bezel element="text_on" ><bounds x="109" y="37" width="8" height="2" /></bezel>
+ <bezel element="text_off" ><bounds x="120" y="37" width="8" height="2" /></bezel>
+ <bezel element="text_newgame" ><bounds x="131" y="37" width="8" height="2" /></bezel>
+ <bezel element="text_play" ><bounds x="142" y="37" width="8" height="2" /></bezel>
+ <bezel element="text_back" ><bounds x="153" y="37" width="8" height="2" /></bezel>
+
+ <bezel element="text_left" ><bounds x="109" y="52" width="7" height="3" /></bezel>
+ <bezel element="text_right" ><bounds x="118" y="52" width="7" height="3" /></bezel>
+ <bezel element="text_menu" ><bounds x="127" y="52" width="7" height="2" /></bezel>
+ <bezel element="text_up" ><bounds x="136" y="51" width="7" height="3" /></bezel>
+ <bezel element="text_down" ><bounds x="145" y="51" width="7" height="3" /></bezel>
+ <bezel element="text_enter" ><bounds x="154" y="52" width="7" height="2" /></bezel>
+
+ <bezel element="text_p1" ><bounds x="110.5" y="65.5" width="4" height="4" /></bezel>
+ <bezel element="text_p2" ><bounds x="119.5" y="65.5" width="4" height="4" /></bezel>
+ <bezel element="text_p3" ><bounds x="128.5" y="65.5" width="4" height="4" /></bezel>
+ <bezel element="text_p4" ><bounds x="137.5" y="65.5" width="4" height="4" /></bezel>
+ <bezel element="text_p5" ><bounds x="146.5" y="65.5" width="4" height="4" /></bezel>
+ <bezel element="text_p6" ><bounds x="155.5" y="65.5" width="4" height="4" /></bezel>
+
+ <bezel element="hlb" inputtag="RESET" inputmask="0x00000001"><bounds x="109" y="40" width="8" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P7" inputmask="0x80000000"><bounds x="120" y="40" width="8" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P6" inputmask="0x80000000"><bounds x="131" y="40" width="8" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P5" inputmask="0x80000000"><bounds x="142" y="40" width="8" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P0" inputmask="0x80000000"><bounds x="153" y="40" width="8" height="2" /></bezel>
+
+ <bezel element="hlb" inputtag="P7" inputmask="0x40000000"><bounds x="109" y="55" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P6" inputmask="0x40000000"><bounds x="118" y="55" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P4" inputmask="0x80000000"><bounds x="127" y="55" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P3" inputmask="0x80000000"><bounds x="136" y="55" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P2" inputmask="0x80000000"><bounds x="145" y="55" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P1" inputmask="0x80000000"><bounds x="154" y="55" width="7" height="2" /></bezel>
+
+ <bezel element="hlb" inputtag="P5" inputmask="0x40000000"><bounds x="109" y="70" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P4" inputmask="0x40000000"><bounds x="118" y="70" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P3" inputmask="0x40000000"><bounds x="127" y="70" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P2" inputmask="0x40000000"><bounds x="136" y="70" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P1" inputmask="0x40000000"><bounds x="145" y="70" width="7" height="2" /></bezel>
+ <bezel element="hlb" inputtag="P0" inputmask="0x40000000"><bounds x="154" y="70" width="7" height="2" /></bezel>
+
+ <group ref="lcd"><bounds x="108" y="4.5" width="30" height="11.2" /></group>
+ <group ref="sb_board"><bounds x="21" y="2" width="81" height="81" /></group>
+ <group ref="sb_ui"><bounds x="1.5" y="5" width="10" height="80" /></group>
+ </view>
+
+ <view name="LCD">
+ <group ref="lcd"><bounds x="0" y="0" width="30" height="11.2" /></group>
</view>
</mamelayout>