Skip to content

Commit 6c839b3

Browse files
committed
[Ensoniq ESQ-1] Layout: improve rendering of arrows.
1 parent 83997c4 commit 6c839b3

File tree

1 file changed

+21
-7
lines changed

1 file changed

+21
-7
lines changed

src/mame/layout/esq1.lay

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,27 @@ license:CC0-1.0
88

99
<!-- define elements -->
1010

11+
<element name="down_arrow">
12+
<image><data><![CDATA[
13+
<svg width="9" height="5">
14+
<path fill="#fff" d="M 0,0 l 4.5,5 4.5,-5 z" />
15+
</svg>
16+
]]></data></image>
17+
</element>
18+
1119
<element name="oscillators_diagram">
1220
<image><data><![CDATA[
1321
<svg width="285" height="58">
22+
<!-- Arrows -->
23+
<path fill="#fecb24"
24+
d="
25+
M 0,9 l 3,5 3,-5 z
26+
M 53,8 l 1.5,6 -5.5,-2 z
27+
" />
28+
29+
<!-- Lines -->
1430
<path fill="none" stroke="#fecb24" strokeWidth="1"
1531
d="
16-
m 0,9 l 3,5 3,-5
17-
m 48,-1 l 1.5,6 -5.5,-2
1832
M 30,3 h 14 l 23,23 h 10
1933
m 52,6 h -9 l -25,25 h -65
2034
m 156,-25 h 99
@@ -28,7 +42,7 @@ license:CC0-1.0
2842
<element name="envelope_diagram">
2943
<image><data><![CDATA[
3044
<svg width="87" height="62">
31-
<path fill="none" stroke="#ffffff" strokeWidth="1"
45+
<path fill="none" stroke="#fff" strokeWidth="1"
3246
d="
3347
M 5,31 L 21,1 38,40 51,22 H 72 L 78,31
3448
M 87,31 H 0
@@ -183,8 +197,6 @@ license:CC0-1.0
183197

184198
<element name="compare_text"><text string="Compare"><color red="0.83" green="0.86" blue="0.83" /></text></element>
185199
<element name="write_text"><text string="Write"><color red="0.83" green="0.86" blue="0.83" /></text></element>
186-
<element name="up_arrow_text"><text string=""><color red="0.83" green="0.86" blue="0.83" /></text></element>
187-
<element name="down_arrow_text"><text string=""><color red="0.83" green="0.86" blue="0.83" /></text></element>
188200

189201
<element name="master_text"><text string="Master"><color red="0.83" green="0.86" blue="0.83" /></text></element>
190202
<element name="storage_text"><text string="Storage"><color red="0.83" green="0.86" blue="0.83" /></text></element>
@@ -514,8 +526,10 @@ license:CC0-1.0
514526
<element ref="compare_text"><bounds x="113" y="19" width="24" height="6"/></element>
515527
<element ref="write_text"><bounds x="162" y="19" width="16" height="6"/></element>
516528

517-
<element ref="up_arrow_text"><bounds x="121" y="92" width="9" height="8"/></element>
518-
<element ref="down_arrow_text"><bounds x="121" y="130" width="9" height="8"/></element>
529+
<!-- up -->
530+
<element ref="down_arrow"><orientation rotate="180"/><bounds x="121" y="92" width="9" height="5"/></element>
531+
<!-- down -->
532+
<element ref="down_arrow"><bounds x="121" y="130" width="9" height="5"/></element>
519533

520534
<!-- SEQUENCER: -->
521535
<element ref="master_text"><bounds x="824" y="20" width="19" height="6"/></element>

0 commit comments

Comments
 (0)