|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | +license:CC0-1.0 |
| 4 | +copyright-holders:m1macrophage |
| 5 | +--> |
| 6 | +<mamelayout version="2"> |
| 7 | + <!-- Text elements --> |
| 8 | + |
| 9 | + <element name="text_power"> |
| 10 | + <text string="POWER" align="1"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 11 | + </element> |
| 12 | + |
| 13 | + <element name="text_system"> |
| 14 | + <text string="system" align="1"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 15 | + </element> |
| 16 | + |
| 17 | + <repeat count="8"> |
| 18 | + <param name="num" start="1" increment="1"/> |
| 19 | + <element name="text_num_~num~"> |
| 20 | + <text string="~num~"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 21 | + </element> |
| 22 | + </repeat> |
| 23 | + |
| 24 | + <element name="text_on"> |
| 25 | + <text string="on"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 26 | + </element> |
| 27 | + |
| 28 | + <element name="text_reset"> |
| 29 | + <text string="reset" align="1"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 30 | + </element> |
| 31 | + |
| 32 | + <element name="text_reset_caption"> |
| 33 | + <text string="F3"><color red="0" green="0" blue="0"/></text> |
| 34 | + </element> |
| 35 | + |
| 36 | + <element name="text_midi"> |
| 37 | + <text string="MIDI" align="1"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 38 | + </element> |
| 39 | + |
| 40 | + <element name="text_midi_in"> |
| 41 | + <text string="In" align="1"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 42 | + </element> |
| 43 | + |
| 44 | + <element name="text_midi_thru"> |
| 45 | + <text string="Thru" align="1"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 46 | + </element> |
| 47 | + |
| 48 | + <element name="text_model"> |
| 49 | + <text string="9700fr" align="0"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 50 | + </element> |
| 51 | + |
| 52 | + <element name="text_midi2cv"> |
| 53 | + <text string="MIDI to CV" align="0"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 54 | + </element> |
| 55 | + |
| 56 | + <element name="dsw_x"> |
| 57 | + <text string="X"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 58 | + </element> |
| 59 | + |
| 60 | + <repeat count="4"> |
| 61 | + <param name="num" start="0" increment="1"/> |
| 62 | + <element name="dsw_c_~num~"> |
| 63 | + <text string="C~num~"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 64 | + </element> |
| 65 | + </repeat> |
| 66 | + |
| 67 | + <repeat count="3"> |
| 68 | + <param name="num" start="0" increment="1"/> |
| 69 | + <element name="dsw_m_~num~"> |
| 70 | + <text string="M~num~"><color red="0.7" green="0.7" blue="0.7"/></text> |
| 71 | + </element> |
| 72 | + </repeat> |
| 73 | + |
| 74 | + <repeat count="8"> |
| 75 | + <param name="num" start="1" increment="1"/> |
| 76 | + <element name="output_number_~num~"> |
| 77 | + <text string="~num~"><color red="0.0" green="0.0" blue="0.0"/></text> |
| 78 | + </element> |
| 79 | + </repeat> |
| 80 | + |
| 81 | + <!-- Shapes and other UI elements --> |
| 82 | + |
| 83 | + <element name="white_rect"> |
| 84 | + <rect><color red="0.7" green="0.7" blue="0.7"/></rect> |
| 85 | + </element> |
| 86 | + |
| 87 | + <element name="black_rect"> |
| 88 | + <rect><color red="0.0" green="0.0" blue="0.0"/></rect> |
| 89 | + </element> |
| 90 | + |
| 91 | + <element name="blue_rect"> |
| 92 | + <rect><color red="0.0" green="0.0" blue="0.5"/></rect> |
| 93 | + </element> |
| 94 | + |
| 95 | + <element name="gray_circle"> |
| 96 | + <disk><color red="0.6" green="0.6" blue="0.6"/></disk> |
| 97 | + </element> |
| 98 | + |
| 99 | + <element name="switch" defstate="0"> |
| 100 | + <rect> |
| 101 | + <color red="0.3" green="0.3" blue="0.3"/> |
| 102 | + <bounds x="0.0" y="0.0" width="1.0" height="1.0"/> |
| 103 | + </rect> |
| 104 | + <rect state="0"> |
| 105 | + <color red="0.7" green="0.7" blue="0.7"/> |
| 106 | + <bounds x="0.7" y="0.0" width="0.3" height="1.0"/> |
| 107 | + </rect> |
| 108 | + <rect state="1"> |
| 109 | + <color red="0.7" green="0.7" blue="0.7"/> |
| 110 | + <bounds x="0.0" y="0.0" width="0.3" height="1.0"/> |
| 111 | + </rect> |
| 112 | + </element> |
| 113 | + |
| 114 | + <group name="dsw"> |
| 115 | + <bounds x="0" y="0" width="15" height="45"/> |
| 116 | + <element ref="blue_rect"> |
| 117 | + <bounds x="0" y="0" width="15" height="45"/> |
| 118 | + </element> |
| 119 | + <element ref="text_on"> |
| 120 | + <bounds x="10" y="0" width="5" height="4"/> |
| 121 | + </element> |
| 122 | + <repeat count="8"> |
| 123 | + <param name="y" start="4" increment="5"/> |
| 124 | + <param name="switch_mask" start="0x01" lshift="1"/> |
| 125 | + <param name="switch_num" start="1" increment="1"/> |
| 126 | + <element ref="text_num_~switch_num~"> |
| 127 | + <bounds x="0" y="~y~" width="4" height="3"/> |
| 128 | + </element> |
| 129 | + <element ref="switch" inputtag="dsw" inputmask="~switch_mask~"> |
| 130 | + <bounds x="5" y="~y~" width="6" height="3"/> |
| 131 | + </element> |
| 132 | + </repeat> |
| 133 | + </group> |
| 134 | + |
| 135 | + <group name="dsw_legend"> |
| 136 | + <bounds x="0" y="0" width="9" height="41"/> |
| 137 | + <element ref="white_rect"><bounds x="0" y="5" width="1" height="19"/></element> |
| 138 | + <element ref="white_rect"><bounds x="0" y="26" width="1" height="13"/></element> |
| 139 | + <element ref="dsw_c_0"><bounds x="2" y="5" width="7" height="5"/></element> |
| 140 | + <element ref="dsw_c_1"><bounds x="2" y="10" width="7" height="5"/></element> |
| 141 | + <element ref="dsw_c_2"><bounds x="2" y="15" width="7" height="5"/></element> |
| 142 | + <element ref="dsw_c_3"><bounds x="2" y="20" width="7" height="5"/></element> |
| 143 | + <element ref="dsw_m_0"><bounds x="2" y="25" width="7" height="5"/></element> |
| 144 | + <element ref="dsw_m_1"><bounds x="2" y="30" width="7" height="5"/></element> |
| 145 | + <element ref="dsw_m_2"><bounds x="2" y="35" width="7" height="5"/></element> |
| 146 | + <element ref="dsw_x"><bounds x="2" y="40" width="7" height="5"/></element> |
| 147 | + </group> |
| 148 | + |
| 149 | + <element name="screw"> |
| 150 | + <disk> |
| 151 | + <color red="0.4" green="0.4" blue="0.4"/> |
| 152 | + <bounds x="0.0" y="0.0" width="1.0" height="1.0"/> |
| 153 | + </disk> |
| 154 | + <rect> |
| 155 | + <color red="0.7" green="0.7" blue="0.7"/> |
| 156 | + <bounds x="0.0" y="0.4" width="1.0" height="0.2"/> |
| 157 | + </rect> |
| 158 | + </element> |
| 159 | + |
| 160 | + <element name="midi_socket"> |
| 161 | + <disk><color red="0.2" green="0.2" blue="0.2"/></disk> |
| 162 | + </element> |
| 163 | + |
| 164 | + <element name="output_jack"> |
| 165 | + <disk><color red="0.0" green="0.0" blue="0.0"/></disk> |
| 166 | + </element> |
| 167 | + |
| 168 | + <element name="power_led"> |
| 169 | + <disk><color red="0.8" green="0.0" blue="0.0"/></disk> |
| 170 | + </element> |
| 171 | + |
| 172 | + <element name="led" defstate="0"> |
| 173 | + <disk state="0"><color red="0.3" green="0.0" blue="0.0"/></disk> |
| 174 | + <disk state="1"><color red="0.8" green="0.0" blue="0.0"/></disk> |
| 175 | + </element> |
| 176 | + |
| 177 | + <!-- Voltage display --> |
| 178 | + |
| 179 | + <element name="period"> |
| 180 | + <text string="."><color red="0.0" green="0.2" blue="0.0"/></text> |
| 181 | + </element> |
| 182 | + |
| 183 | + <element name="voltage_label"> |
| 184 | + <text string="V" align="2"><color red="0.0" green="0.2" blue="0.0"/></text> |
| 185 | + </element> |
| 186 | + |
| 187 | + <element name="voltage_integer"> |
| 188 | + <simplecounter maxstate="99" digits="1" align="2"> |
| 189 | + <color red="0.0" green="0.2" blue="0.0"/> |
| 190 | + </simplecounter> |
| 191 | + </element> |
| 192 | + |
| 193 | + <element name="voltage_fractional"> |
| 194 | + <simplecounter maxstate="999" digits="3" align="2"> |
| 195 | + <color red="0.0" green="0.2" blue="0.0"/> |
| 196 | + </simplecounter> |
| 197 | + </element> |
| 198 | + |
| 199 | + <group name="voltage"> |
| 200 | + <bounds width="30" height="7"/> |
| 201 | + <element ref="voltage_integer" name="cv_~output_num~_integer"> |
| 202 | + <bounds x="0" y="0" width="10" height="7"/> |
| 203 | + </element> |
| 204 | + <element ref="period"> |
| 205 | + <bounds x="10" y="0" width="5" height="7"/> |
| 206 | + </element> |
| 207 | + <element ref="voltage_fractional" name="cv_~output_num~_fractional"> |
| 208 | + <bounds x="12" y="0" width="15" height="7"/> |
| 209 | + </element> |
| 210 | + <element ref="voltage_label"> |
| 211 | + <bounds x="29" y="0" width="5" height="7"/> |
| 212 | + </element> |
| 213 | + </group> |
| 214 | + |
| 215 | + <!-- Output section --> |
| 216 | + |
| 217 | + <group name="output"> |
| 218 | + <bounds width="73" height="25"/> |
| 219 | + <element ref="white_rect"> |
| 220 | + <bounds x="0" y="0" width="73" height="25"/> |
| 221 | + </element> |
| 222 | + <element ref="output_jack"> |
| 223 | + <bounds x="57" y="7" width="10" height="10"/> |
| 224 | + </element> |
| 225 | + <element ref="output_number_~output_num~"> |
| 226 | + <bounds x="4" y="5" width="5" height="7"/> |
| 227 | + </element> |
| 228 | + <group ref="voltage"> |
| 229 | + <bounds x="18" y="8" width="30" height="7"/> |
| 230 | + </group> |
| 231 | + </group> |
| 232 | + |
| 233 | + <!-- View definition --> |
| 234 | + |
| 235 | + <view name="Default Layout"> |
| 236 | + <bounds x="0" y="0" width="150" height="266"/> |
| 237 | + |
| 238 | + <!-- Top section --> |
| 239 | + <element ref="screw"><bounds x="30" y="7" width="10" height="10"/></element> |
| 240 | + <element ref="screw"><bounds x="107" y="7" width="10" height="10"/></element> |
| 241 | + |
| 242 | + <!-- Power section --> |
| 243 | + <element ref="white_rect"><bounds x="3" y="31" width="62" height="77"/></element> |
| 244 | + <element ref="black_rect"><bounds x="5" y="33" width="57" height="73"/></element> |
| 245 | + <group ref="dsw"><bounds x="13" y="52" width="15" height="45"/></group> |
| 246 | + <group ref="dsw_legend"><bounds x="28" y="51" width="9" height="40"/></group> |
| 247 | + <element ref="screw"><bounds x="16" y="36" width="10" height="10"/></element> |
| 248 | + <element ref="text_power"><bounds x="40" y="38" width="20" height="10"/></element> |
| 249 | + <element ref="text_system"><bounds x="13" y="99" width="20" height="6"/></element> |
| 250 | + <element ref="text_reset"><bounds x="42" y="99" width="19" height="6"/></element> |
| 251 | + <element ref="power_led"><bounds x="44" y="51" width="10" height="10"/></element> |
| 252 | + <element ref="gray_circle"><bounds x="40" y="75" width="18" height="18"/></element> |
| 253 | + <element ref="text_reset_caption"><bounds x="45" y="80" width="8" height="8"/></element> |
| 254 | + |
| 255 | + <!-- Midi section --> |
| 256 | + <element ref="white_rect"><bounds x="3" y="117" width="62" height="121"/></element> |
| 257 | + <element ref="black_rect"><bounds x="5" y="119" width="57" height="117"/></element> |
| 258 | + <element ref="midi_socket"><bounds x="8" y="137" width="35" height="35"/></element> |
| 259 | + <element ref="midi_socket"><bounds x="8" y="185" width="35" height="35"/></element> |
| 260 | + <element ref="screw"><bounds x="14" y="227" width="10" height="10"/></element> |
| 261 | + <element ref="text_midi"><bounds x="44" y="127" width="15" height="8"/></element> |
| 262 | + <element ref="text_midi_in"><bounds x="48" y="136" width="11" height="8"/></element> |
| 263 | + <element ref="text_midi_thru"><bounds x="44" y="179" width="15" height="8"/></element> |
| 264 | + <element ref="led" name="midi_led"><bounds x="24" y="123" width="10" height="10"/></element> |
| 265 | + |
| 266 | + <!-- Output section --> |
| 267 | + <repeat count="8"> |
| 268 | + <param name="group_y" start="31" increment="26"/> |
| 269 | + <param name="output_num" start="1" increment="1"/> |
| 270 | + <group ref="output"> |
| 271 | + <bounds x="72" y="~group_y~" width="73" height="25"/> |
| 272 | + </group> |
| 273 | + </repeat> |
| 274 | + |
| 275 | + <!-- Bottom section --> |
| 276 | + <element ref="screw"><bounds x="30" y="245" width="10" height="10"/></element> |
| 277 | + <element ref="screw"><bounds x="107" y="245" width="10" height="10"/></element> |
| 278 | + <element ref="text_model"><bounds xc="75" y="242" width="26" height="10"/></element> |
| 279 | + <element ref="text_midi2cv"><bounds xc="75" y="252" width="44" height="10"/></element> |
| 280 | + </view> |
| 281 | +</mamelayout> |
| 282 | + |
0 commit comments