diff options
Diffstat (limited to 'src/emu/layout')
-rw-r--r-- | src/emu/layout/LICENSE | 116 | ||||
-rw-r--r-- | src/emu/layout/cyberlead.lay | 14 | ||||
-rw-r--r-- | src/emu/layout/dualhovu.lay | 3 | ||||
-rw-r--r-- | src/emu/layout/dualhsxs.lay | 3 | ||||
-rw-r--r-- | src/emu/layout/dualhuov.lay | 3 | ||||
-rw-r--r-- | src/emu/layout/ex800.lay | 15 | ||||
-rw-r--r-- | src/emu/layout/exorterm155.lay | 77 | ||||
-rw-r--r-- | src/emu/layout/generic.h | 38 | ||||
-rw-r--r-- | src/emu/layout/hp9122c.lay | 8 | ||||
-rw-r--r-- | src/emu/layout/ie15.lay | 88 | ||||
-rw-r--r-- | src/emu/layout/lx800.lay | 41 | ||||
-rw-r--r-- | src/emu/layout/monitors.lay | 41 | ||||
-rw-r--r-- | src/emu/layout/nes_rob.lay | 64 | ||||
-rw-r--r-- | src/emu/layout/noscreens.lay | 11 | ||||
-rw-r--r-- | src/emu/layout/quadhsxs.lay | 3 | ||||
-rw-r--r-- | src/emu/layout/qx10ascii.lay | 98 | ||||
-rw-r--r-- | src/emu/layout/qx10hasci.lay | 86 | ||||
-rw-r--r-- | src/emu/layout/smartboard.lay | 434 | ||||
-rw-r--r-- | src/emu/layout/teletex800.lay | 167 | ||||
-rw-r--r-- | src/emu/layout/triphsxs.lay | 3 |
20 files changed, 1118 insertions, 195 deletions
diff --git a/src/emu/layout/LICENSE b/src/emu/layout/LICENSE deleted file mode 100644 index 670154e3538..00000000000 --- a/src/emu/layout/LICENSE +++ /dev/null @@ -1,116 +0,0 @@ -CC0 1.0 Universal - -Statement of Purpose - -The laws of most jurisdictions throughout the world automatically confer -exclusive Copyright and Related Rights (defined below) upon the creator and -subsequent owner(s) (each and all, an "owner") of an original work of -authorship and/or a database (each, a "Work"). - -Certain owners wish to permanently relinquish those rights to a Work for the -purpose of contributing to a commons of creative, cultural and scientific -works ("Commons") that the public can reliably and without fear of later -claims of infringement build upon, modify, incorporate in other works, reuse -and redistribute as freely as possible in any form whatsoever and for any -purposes, including without limitation commercial purposes. These owners may -contribute to the Commons to promote the ideal of a free culture and the -further production of creative, cultural and scientific works, or to gain -reputation or greater distribution for their Work in part through the use and -efforts of others. - -For these and/or other purposes and motivations, and without any expectation -of additional consideration or compensation, the person associating CC0 with a -Work (the "Affirmer"), to the extent that he or she is an owner of Copyright -and Related Rights in the Work, voluntarily elects to apply CC0 to the Work -and publicly distribute the Work under its terms, with knowledge of his or her -Copyright and Related Rights in the Work and the meaning and intended legal -effect of CC0 on those rights. - -1. Copyright and Related Rights. A Work made available under CC0 may be -protected by copyright and related or neighboring rights ("Copyright and -Related Rights"). Copyright and Related Rights include, but are not limited -to, the following: - - i. the right to reproduce, adapt, distribute, perform, display, communicate, - and translate a Work; - - ii. moral rights retained by the original author(s) and/or performer(s); - - iii. publicity and privacy rights pertaining to a person's image or likeness - depicted in a Work; - - iv. rights protecting against unfair competition in regards to a Work, - subject to the limitations in paragraph 4(a), below; - - v. rights protecting the extraction, dissemination, use and reuse of data in - a Work; - - vi. database rights (such as those arising under Directive 96/9/EC of the - European Parliament and of the Council of 11 March 1996 on the legal - protection of databases, and under any national implementation thereof, - including any amended or successor version of such directive); and - - vii. other similar, equivalent or corresponding rights throughout the world - based on applicable law or treaty, and any national implementations thereof. - -2. Waiver. To the greatest extent permitted by, but not in contravention of, -applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and -unconditionally waives, abandons, and surrenders all of Affirmer's Copyright -and Related Rights and associated claims and causes of action, whether now -known or unknown (including existing as well as future claims and causes of -action), in the Work (i) in all territories worldwide, (ii) for the maximum -duration provided by applicable law or treaty (including future time -extensions), (iii) in any current or future medium and for any number of -copies, and (iv) for any purpose whatsoever, including without limitation -commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes -the Waiver for the benefit of each member of the public at large and to the -detriment of Affirmer's heirs and successors, fully intending that such Waiver -shall not be subject to revocation, rescission, cancellation, termination, or -any other legal or equitable action to disrupt the quiet enjoyment of the Work -by the public as contemplated by Affirmer's express Statement of Purpose. - -3. Public License Fallback. Should any part of the Waiver for any reason be -judged legally invalid or ineffective under applicable law, then the Waiver -shall be preserved to the maximum extent permitted taking into account -Affirmer's express Statement of Purpose. In addition, to the extent the Waiver -is so judged Affirmer hereby grants to each affected person a royalty-free, -non transferable, non sublicensable, non exclusive, irrevocable and -unconditional license to exercise Affirmer's Copyright and Related Rights in -the Work (i) in all territories worldwide, (ii) for the maximum duration -provided by applicable law or treaty (including future time extensions), (iii) -in any current or future medium and for any number of copies, and (iv) for any -purpose whatsoever, including without limitation commercial, advertising or -promotional purposes (the "License"). The License shall be deemed effective as -of the date CC0 was applied by Affirmer to the Work. Should any part of the -License for any reason be judged legally invalid or ineffective under -applicable law, such partial invalidity or ineffectiveness shall not -invalidate the remainder of the License, and in such case Affirmer hereby -affirms that he or she will not (i) exercise any of his or her remaining -Copyright and Related Rights in the Work or (ii) assert any associated claims -and causes of action with respect to the Work, in either case contrary to -Affirmer's express Statement of Purpose. - -4. Limitations and Disclaimers. - - a. No trademark or patent rights held by Affirmer are waived, abandoned, - surrendered, licensed or otherwise affected by this document. - - b. Affirmer offers the Work as-is and makes no representations or warranties - of any kind concerning the Work, express, implied, statutory or otherwise, - including without limitation warranties of title, merchantability, fitness - for a particular purpose, non infringement, or the absence of latent or - other defects, accuracy, or the present or absence of errors, whether or not - discoverable, all to the greatest extent permissible under applicable law. - - c. Affirmer disclaims responsibility for clearing rights of other persons - that may apply to the Work or any use thereof, including without limitation - any person's Copyright and Related Rights in the Work. Further, Affirmer - disclaims responsibility for obtaining any necessary consents, permissions - or other rights required for any use of the Work. - - d. Affirmer understands and acknowledges that Creative Commons is not a - party to this document and has no duty or obligation with respect to this - CC0 or use of the Work. - -For more information, please see -<http://creativecommons.org/publicdomain/zero/1.0/> diff --git a/src/emu/layout/cyberlead.lay b/src/emu/layout/cyberlead.lay new file mode 100644 index 00000000000..9eb4e87e472 --- /dev/null +++ b/src/emu/layout/cyberlead.lay @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> +<mamelayout version="2"> + <view name="Default Layout"> + <screen index="1"> + <bounds x="0" y="0" width="768" height="128" /> + </screen> + <screen index="0"> + <bounds x="0" y="128" width="768" height="576" /> + </screen> + </view> +</mamelayout> diff --git a/src/emu/layout/dualhovu.lay b/src/emu/layout/dualhovu.lay index a06941fe87a..0cd46b2d5c7 100644 --- a/src/emu/layout/dualhovu.lay +++ b/src/emu/layout/dualhovu.lay @@ -1,4 +1,7 @@ <?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> <mamelayout version="2"> <view name="Dual Over-Under"> <screen index="0"> diff --git a/src/emu/layout/dualhsxs.lay b/src/emu/layout/dualhsxs.lay index ea7a506c370..f032d0fd48d 100644 --- a/src/emu/layout/dualhsxs.lay +++ b/src/emu/layout/dualhsxs.lay @@ -1,4 +1,7 @@ <?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> <mamelayout version="2"> <view name="Dual Side-by-Side"> <screen index="0"> diff --git a/src/emu/layout/dualhuov.lay b/src/emu/layout/dualhuov.lay index d024d14cf90..8a94ca43dc7 100644 --- a/src/emu/layout/dualhuov.lay +++ b/src/emu/layout/dualhuov.lay @@ -1,4 +1,7 @@ <?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> <mamelayout version="2"> <view name="Dual Under-Over"> <screen index="1"> diff --git a/src/emu/layout/ex800.lay b/src/emu/layout/ex800.lay index 90eaed17147..208fa7bc890 100644 --- a/src/emu/layout/ex800.lay +++ b/src/emu/layout/ex800.lay @@ -1,15 +1,10 @@ <?xml version="1.0"?> -<!-- Initial version. [Dirk Best] --> +<!-- +license:CC0-1.0 +copyright-holders:Dirk Best +--> <mamelayout version="2"> - <element name="background"> - <rect> - <bounds left="0" top="0" right="1" bottom="1" /> - <color red="0.0" green="0.0" blue="0.0" /> - </rect> - </element> <view name="Default Layout"> - <bezel element="background"> - <bounds left="0" top="0" right="1" bottom="1" /> - </bezel> + <bounds left="0" top="0" right="1" bottom="1" /> </view> </mamelayout> diff --git a/src/emu/layout/exorterm155.lay b/src/emu/layout/exorterm155.lay new file mode 100644 index 00000000000..28bb61c0d68 --- /dev/null +++ b/src/emu/layout/exorterm155.lay @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 + +LEDs for the Motorola EXORterm 155 +--> + +<mamelayout version="2"> + + <element name="red_led"> + <disk state="0"> + <color red="1.0" green="0.0" blue="0.0" /> + </disk> + </element> + + <element name="ON_LINE"> + <text string="ON LINE"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="AUTO_LF"> + <text string="AUTO LF"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="PAGE_MODE"> + <text string="PAGE MODE"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="INS_CHAR"> + <text string="INS CHAR"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="background"> + <rect> + <color red="0.0" green="0.0" blue="0.0" /> + </rect> + </element> + + <view name="Keyboard LEDs"> + <bounds left="0" top="0" right="720" bottom="544" /> + + <screen index="0"> + <bounds x="0" y="0" width="720" height="512" /> + </screen> + <element name="auto_lf_txt" ref="AUTO_LF"> + <bounds left="0" right="70" top="520" bottom="528" /> + </element> + <element name="auto_lf_led" ref="red_led"> + <bounds left="31" right="39" top="532" bottom="540" /> + </element> + + <element name="online_txt" ref="ON_LINE"> + <bounds left="70" right="140" top="520" bottom="528" /> + </element> + <element name="online_led" ref="red_led"> + <bounds left="101" right="109" top="532" bottom="540" /> + </element> + + <element name="page_mode_txt" ref="PAGE_MODE"> + <bounds left="140" right="210" top="520" bottom="528" /> + </element> + <element name="page_mode_led" ref="red_led"> + <bounds left="171" right="179" top="532" bottom="540" /> + </element> + + <element name="insert_char_txt" ref="INS_CHAR"> + <bounds left="281" right="351" top="520" bottom="528" /> + </element> + <element name="insert_char_led" ref="red_led"> + <bounds left="312" right="320" top="532" bottom="540" /> + </element> + </view> + +</mamelayout> diff --git a/src/emu/layout/generic.h b/src/emu/layout/generic.h new file mode 100644 index 00000000000..4249c3ef68b --- /dev/null +++ b/src/emu/layout/generic.h @@ -0,0 +1,38 @@ +// license:BSD-3-Clause +// copyright-holders:Aaron Giles +/*************************************************************************** + + generic.h + + Generic system layouts. + +***************************************************************************/ + +#ifndef MAME_EMU_LAYOUT_GENERIC_H +#define MAME_EMU_LAYOUT_GENERIC_H + +#pragma once + + +//************************************************************************** +// GLOBAL VARIABLES +//************************************************************************** + +// no screens layouts +extern const internal_layout layout_noscreens; // for screenless systems + +// single screen layouts +extern const internal_layout layout_monitors; // common monitor aspect ratios + +// dual screen layouts +extern const internal_layout layout_dualhsxs; // dual 4:3 screens side-by-side +extern const internal_layout layout_dualhovu; // dual 4:3 screens above and below +extern const internal_layout layout_dualhuov; // dual 4:3 screens below and above + +// triple screen layouts +extern const internal_layout layout_triphsxs; // triple 4:3 screens side-by-side + +// quad screen layouts +extern const internal_layout layout_quadhsxs; // quad 4:3 screens side-by-side + +#endif // MAME_EMU_LAYOUT_GENERIC_H diff --git a/src/emu/layout/hp9122c.lay b/src/emu/layout/hp9122c.lay index 72ce2ef1b43..418d8964fbf 100644 --- a/src/emu/layout/hp9122c.lay +++ b/src/emu/layout/hp9122c.lay @@ -1,6 +1,6 @@ <?xml version="1.0"?> <!-- -license:CC0 +license:CC0-1.0 copyright-holders:Sven Schnelle Hewlett-Packard HP 9122C floppy drive Layout --> @@ -16,13 +16,13 @@ Hewlett-Packard HP 9122C floppy drive Layout <element name="led2_s"> <text string="E"> <color red="1.0" green="1.0" blue="1.0" /></text></element> <group name="panel"> - <bezel element="background"><bounds x="0" y="0" width="~scr0width~" height="64"/></bezel> + <element ref="background"><bounds x="0" y="0" width="~scr0width~" height="64"/></element> <repeat count="3"> <param name="left" start="20" increment="20" /> <param name="right" start="36" increment="20" /> <param name="num" start="0" increment="1" /> - <bezel name="led~num~_s" element="led~num~_s"><bounds left="~left~" right="~right~" top="8" bottom="24"/></bezel> - <bezel name="led~num~" element="ledr"><bounds left="~left~" right="~right~" top="32" bottom="48"/></bezel> + <element name="led~num~_s" ref="led~num~_s"><bounds left="~left~" right="~right~" top="8" bottom="24"/></element> + <element name="led~num~" ref="ledr"><bounds left="~left~" right="~right~" top="32" bottom="48"/></element> </repeat> </group> diff --git a/src/emu/layout/ie15.lay b/src/emu/layout/ie15.lay index 96cc316f22f..287fcbdf77a 100644 --- a/src/emu/layout/ie15.lay +++ b/src/emu/layout/ie15.lay @@ -1,8 +1,11 @@ <?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> <mamelayout version="2"> <element name="e_led"> - <disk> + <disk state="0"> <color red="1.0" green="0.0" blue="0.0" /> </disk> </element> @@ -56,70 +59,71 @@ </element> <view name="Keyboard LEDs"> - <bezel name="lat_txt" element="e_LAT"> + <screen tag="screen"> + <bounds x="0" y="0" width="800" height="550" /> + </screen> + +<!-- + <element ref="e_background"> + <bounds left="0" right="800" top="550" bottom="600" /> + </element> +--> + + <element name="lat_txt" ref="e_LAT"> <bounds left="0" right="100" top="550" bottom="570" /> - </bezel> - <bezel name="lat_led" element="e_led"> + </element> + <element name="lat_led" ref="e_led"> <bounds left="40" right="60" top="580" bottom="600" /> - </bezel> + </element> - <bezel name="nr_txt" element="e_NR"> + <element name="nr_txt" ref="e_NR"> <bounds left="100" right="200" top="550" bottom="570" /> - </bezel> - <bezel name="nr_led" element="e_led"> + </element> + <element name="nr_led" ref="e_led"> <bounds left="140" right="160" top="580" bottom="600" /> - </bezel> + </element> - <bezel name="pch_txt" element="e_PCH"> + <element name="pch_txt" ref="e_PCH"> <bounds left="200" right="300" top="550" bottom="570" /> - </bezel> - <bezel name="pch_led" element="e_led"> + </element> + <element name="pch_led" ref="e_led"> <bounds left="240" right="260" top="580" bottom="600" /> - </bezel> + </element> - <bezel name="dup_txt" element="e_DUP"> + <element name="dup_txt" ref="e_DUP"> <bounds left="300" right="400" top="550" bottom="570" /> - </bezel> - <bezel name="dup_led" element="e_led"> + </element> + <element name="dup_led" ref="e_led"> <bounds left="340" right="360" top="580" bottom="600" /> - </bezel> + </element> - <bezel name="lin_txt" element="e_LIN"> + <element name="lin_txt" ref="e_LIN"> <bounds left="400" right="500" top="550" bottom="570" /> - </bezel> - <bezel name="lin_led" element="e_led"> + </element> + <element name="lin_led" ref="e_led"> <bounds left="440" right="460" top="580" bottom="600" /> - </bezel> + </element> - <bezel name="red_txt" element="e_RED"> + <element name="red_txt" ref="e_RED"> <bounds left="500" right="600" top="550" bottom="570" /> - </bezel> - <bezel name="red_led" element="e_led"> + </element> + <element name="red_led" ref="e_led"> <bounds left="540" right="560" top="580" bottom="600" /> - </bezel> + </element> - <bezel name="sdv_txt" element="e_SDV"> + <element name="sdv_txt" ref="e_SDV"> <bounds left="600" right="700" top="550" bottom="570" /> - </bezel> - <bezel name="sdv_led" element="e_led"> + </element> + <element name="sdv_led" ref="e_led"> <bounds left="640" right="660" top="580" bottom="600" /> - </bezel> + </element> - <bezel name="prd_txt" element="e_PRD"> + <element name="prd_txt" ref="e_PRD"> <bounds left="700" right="800" top="550" bottom="570" /> - </bezel> - <bezel name="prd_led" element="e_led"> + </element> + <element name="prd_led" ref="e_led"> <bounds left="740" right="760" top="580" bottom="600" /> - </bezel> - -<!-- - <bezel element="e_background"> - <bounds left="0" right="800" top="550" bottom="600" /> - </bezel> ---> - <screen tag="screen"> - <bounds x="0" y="0" width="800" height="550" /> - </screen> + </element> </view> </mamelayout> diff --git a/src/emu/layout/lx800.lay b/src/emu/layout/lx800.lay index 1ff533d1b6e..20303e50eab 100644 --- a/src/emu/layout/lx800.lay +++ b/src/emu/layout/lx800.lay @@ -1,5 +1,8 @@ <?xml version="1.0"?> -<!-- Initial version. [Dirk Best] --> +<!-- +license:CC0-1.0 +copyright-holders:Dirk Best +--> <mamelayout version="2"> <element name="background"> <rect> @@ -58,32 +61,32 @@ </element> <view name="Control panel"> - <bezel element="background"> + <element ref="background"> <bounds x="0" y="0" width="67" height="52" /> - </bezel> - <bezel name="power_led" element="power_led"> + </element> + <element name="power_led" ref="power_led"> <bounds x="8" y="9" width="8" height="4" /> - </bezel> - <bezel name="power_str" element="power_str"> + </element> + <element name="power_str" ref="power_str"> <bounds x="18" y="9" width="17" height="4" /> - </bezel> - <bezel name="ready_led" element="green_led"> + </element> + <element name="ready_led" ref="green_led"> <bounds x="8" y="20" width="8" height="4" /> - </bezel> - <bezel name="ready_str" element="ready_str"> + </element> + <element name="ready_str" ref="ready_str"> <bounds x="18" y="20" width="17" height="4" /> - </bezel> - <bezel name="paperout_led" element="red_led"> + </element> + <element name="paperout_led" ref="red_led"> <bounds x="8" y="31" width="8" height="4" /> - </bezel> - <bezel name="paperout_str" element="paperout_str"> + </element> + <element name="paperout_str" ref="paperout_str"> <bounds x="18" y="31" width="25" height="4" /> - </bezel> - <bezel name="online_led" element="green_led"> + </element> + <element name="online_led" ref="green_led"> <bounds x="8" y="42" width="8" height="4" /> - </bezel> - <bezel name="online_str" element="online_str"> + </element> + <element name="online_str" ref="online_str"> <bounds x="18" y="42" width="18" height="4" /> - </bezel> + </element> </view> </mamelayout> diff --git a/src/emu/layout/monitors.lay b/src/emu/layout/monitors.lay new file mode 100644 index 00000000000..b7a4f82f75a --- /dev/null +++ b/src/emu/layout/monitors.lay @@ -0,0 +1,41 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> +<mamelayout version="2"> + <view name="4:3 Standard"> + <screen tag="screen"> + <bounds left="0" top="0" right="4" bottom="3" /> + </screen> + </view> + <view name="3:4 Portrait"> + <screen tag="screen"> + <bounds left="0" top="0" right="3" bottom="4" /> + </screen> + </view> + <view name="5:4 Two-Page"> + <screen tag="screen"> + <bounds left="0" top="0" right="5" bottom="4" /> + </screen> + </view> + <view name="16:9 Widescreen"> + <screen tag="screen"> + <bounds left="0" top="0" right="16" bottom="9" /> + </screen> + </view> + <view name="21:9 UltraWide"> + <screen tag="screen"> + <bounds left="0" top="0" right="21" bottom="9" /> + </screen> + </view> + <view name="32:9 Super UltraWide"> + <screen tag="screen"> + <bounds left="0" top="0" right="32" bottom="9" /> + </screen> + </view> + <view name="1:1 Air Traffic Control"> + <screen tag="screen"> + <bounds left="0" top="0" right="32" bottom="9" /> + </screen> + </view> +</mamelayout> diff --git a/src/emu/layout/nes_rob.lay b/src/emu/layout/nes_rob.lay new file mode 100644 index 00000000000..c5b10747151 --- /dev/null +++ b/src/emu/layout/nes_rob.lay @@ -0,0 +1,64 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 +authors:hap +--> +<mamelayout version="2"> + +<!-- define elements --> + + <element name="text_m1"><text align="1" string="motor 1:"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_m2"><text align="1" string="motor 2:"><color red="0.8" green="0.8" blue="0.8" /></text></element> + <element name="text_m3"><text align="1" string="motor 3:"><color red="0.8" green="0.8" blue="0.8" /></text></element> + + <element name="mstatus0"> + <text state="1" align="1" string="DOWN"><color red="1.0" green="1.0" blue="0.2" /></text> + <text state="0" align="1" string="DOWN"><color red="0.2" green="0.2" blue="0.2" /></text> + </element> + <element name="mstatus1"> + <text state="1" align="1" string="UP"><color red="1.0" green="1.0" blue="0.2" /></text> + <text state="0" align="1" string="UP"><color red="0.2" green="0.2" blue="0.2" /></text> + </element> + <element name="mstatus2"> + <text state="1" align="1" string="CLOSE"><color red="1.0" green="1.0" blue="0.2" /></text> + <text state="0" align="1" string="CLOSE"><color red="0.2" green="0.2" blue="0.2" /></text> + </element> + <element name="mstatus3"> + <text state="1" align="1" string="OPEN"><color red="1.0" green="1.0" blue="0.2" /></text> + <text state="0" align="1" string="OPEN"><color red="0.2" green="0.2" blue="0.2" /></text> + </element> + <element name="mstatus4"> + <text state="1" align="1" string="RIGHT"><color red="1.0" green="1.0" blue="0.2" /></text> + <text state="0" align="1" string="RIGHT"><color red="0.2" green="0.2" blue="0.2" /></text> + </element> + <element name="mstatus5"> + <text state="1" align="1" string="LEFT"><color red="1.0" green="1.0" blue="0.2" /></text> + <text state="0" align="1" string="LEFT"><color red="0.2" green="0.2" blue="0.2" /></text> + </element> + + <element name="led" defstate="0"> + <disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk> + <disk state="0"><color red="0.15" green="0.015" blue="0.017" /></disk> + </element> + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="4.5" right="17" top="7" bottom="14.25" /> + + <element ref="text_m1"><bounds x="5.5" y="10" width="5" height="1" /></element> + <element ref="text_m2"><bounds x="5.5" y="11.25" width="5" height="1" /></element> + <element ref="text_m3"><bounds x="5.5" y="12.5" width="5" height="1" /></element> + + <element name="rob_motor.1" ref="mstatus1"><bounds x="10" y="10" width="5" height="1" /></element> + <element name="rob_motor.0" ref="mstatus0"><bounds x="13.5" y="10" width="5" height="1" /></element> + <element name="rob_motor.5" ref="mstatus5"><bounds x="10" y="11.25" width="5" height="1" /></element> + <element name="rob_motor.4" ref="mstatus4"><bounds x="13.5" y="11.25" width="5" height="1" /></element> + <element name="rob_motor.2" ref="mstatus2"><bounds x="10" y="12.5" width="5" height="1" /></element> + <element name="rob_motor.3" ref="mstatus3"><bounds x="13.5" y="12.5" width="5" height="1" /></element> + + <element name="rob_led" ref="led"><bounds x="10" y="8" width="1" height="1" /></element> + + </view> +</mamelayout> diff --git a/src/emu/layout/noscreens.lay b/src/emu/layout/noscreens.lay index 8b9d4b10e26..e74d12e31a5 100644 --- a/src/emu/layout/noscreens.lay +++ b/src/emu/layout/noscreens.lay @@ -1,4 +1,7 @@ <?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> <mamelayout version="2"> <element name="warning"> <text string="No screens attached to the system"> @@ -6,9 +9,9 @@ </text> </element> <view name="No screens attached"> - <bounds left="0" top="0" right="280" bottom="150" /> - <bezel name="warning_txt" element="warning"> - <bounds left="50" right="230" top="50" bottom="65" /> - </bezel> + <bounds left="0" top="0" right="400" bottom="300" /> + <element name="warning_txt" ref="warning"> + <bounds xc="200" yc="150" width="400" height="25" /> + </element> </view> </mamelayout> diff --git a/src/emu/layout/quadhsxs.lay b/src/emu/layout/quadhsxs.lay index a5a347299cb..d8f776cb238 100644 --- a/src/emu/layout/quadhsxs.lay +++ b/src/emu/layout/quadhsxs.lay @@ -1,4 +1,7 @@ <?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> <mamelayout version="2"> <view name="Quad Side-by-Side"> <screen index="0"> diff --git a/src/emu/layout/qx10ascii.lay b/src/emu/layout/qx10ascii.lay new file mode 100644 index 00000000000..c00c7c88876 --- /dev/null +++ b/src/emu/layout/qx10ascii.lay @@ -0,0 +1,98 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> +<mamelayout version="2"> + <element name="led" defstate="1"> + <disk state="0"> + <color red="0.75" green="0.0" blue="0.0" /> + </disk> + <disk state="1"> + <color red="0.20" green="0.0" blue="0.0" /> + </disk> + </element> + + <element name="capslock"> + <text string="CAPS"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="insert"> + <text string="INS"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="sf1"> + <text string="SF1"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="sf2"> + <text string="SF2"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="sf3"> + <text string="SF3"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="sf4"> + <text string="SF4"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <view name="Default Layout"> + <screen index="0"> + <bounds x="0" y="30" width="640" height="480" /> + </screen> + + <element name="led0" ref="led"> + <bounds x="33" y="17" width="10" height="10" /> + </element> + + <element name="led2" ref="led"> + <bounds x="53" y="17" width="10" height="10" /> + </element> + + <element name="led7" ref="led"> + <bounds x="83" y="17" width="10" height="10" /> + </element> + + <element name="led6" ref="led"> + <bounds x="103" y="17" width="10" height="10" /> + </element> + + <element name="led5" ref="led"> + <bounds x="123" y="17" width="10" height="10" /> + </element> + <element name="led4" ref="led"> + <bounds x="143" y="17" width="10" height="10" /> + </element> + + <element name="label1" ref="capslock"> + <bounds x="31" y="0" width="15" height="15" /> + </element> + + <element name="label2" ref="insert"> + <bounds x="51" y="0" width="15" height="15" /> + </element> + + <element name="label3" ref="sf1"> + <bounds x="81" y="0" width="15" height="15" /> + </element> + + <element name="label4" ref="sf2"> + <bounds x="101" y="0" width="15" height="15" /> + </element> + + <element name="label5" ref="sf3"> + <bounds x="121" y="0" width="15" height="15" /> + </element> + + <element name="label6" ref="sf4"> + <bounds x="141" y="0" width="15" height="15" /> + </element> + </view> +</mamelayout> diff --git a/src/emu/layout/qx10hasci.lay b/src/emu/layout/qx10hasci.lay new file mode 100644 index 00000000000..f0dadc6a0fa --- /dev/null +++ b/src/emu/layout/qx10hasci.lay @@ -0,0 +1,86 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> +<mamelayout version="2"> + <element name="led" defstate="1"> + <disk state="0"> + <color red="0.75" green="0.0" blue="0.0" /> + </disk> + <disk state="1"> + <color red="0.20" green="0.0" blue="0.0" /> + </disk> + </element> + + <element name="capslock"> + <text string="CAPS"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="insert"> + <text string="INS"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="sf1"> + <text string="CALC"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="sf2"> + <text string="SCHED"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + <element name="sf3"> + <text string="DRAW"> + <color red="1.0" green="1.0" blue="1.0" /> + </text> + </element> + + <view name="Default Layout"> + <screen index="0"> + <bounds x="0" y="30" width="640" height="480" /> + </screen> + + <element name="led3" ref="led"> + <bounds x="33" y="17" width="10" height="10" /> + </element> + + <element name="led2" ref="led"> + <bounds x="53" y="17" width="10" height="10" /> + </element> + + <element name="led7" ref="led"> + <bounds x="83" y="17" width="10" height="10" /> + </element> + + <element name="led6" ref="led"> + <bounds x="103" y="17" width="10" height="10" /> + </element> + + <element name="led5" ref="led"> + <bounds x="123" y="17" width="10" height="10" /> + </element> + + <element name="label1" ref="capslock"> + <bounds x="31" y="0" width="15" height="15" /> + </element> + + <element name="label2" ref="insert"> + <bounds x="51" y="0" width="15" height="15" /> + </element> + + <element name="label3" ref="sf1"> + <bounds x="81" y="0" width="15" height="15" /> + </element> + + <element name="label4" ref="sf2"> + <bounds x="101" y="0" width="15" height="15" /> + </element> + + <element name="label5" ref="sf3"> + <bounds x="121" y="0" width="15" height="15" /> + </element> + </view> +</mamelayout> diff --git a/src/emu/layout/smartboard.lay b/src/emu/layout/smartboard.lay new file mode 100644 index 00000000000..1b028bc23fe --- /dev/null +++ b/src/emu/layout/smartboard.lay @@ -0,0 +1,434 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 +authors:Sandro Ronco, hap +--> +<mamelayout version="2"> + +<!-- define elements --> + + <element name="black2b"><rect><color red="0.12" green="0.11" blue="0.10" /></rect></element> + + <element name="ledo"> + <disk><color red="0.1" green="0.05" blue="0.07" /></disk> + </element> + <element name="ledr" defstate="0"> + <disk state="1"><color red="1" green="0" blue="0" /></disk> + </element> + + <element name="piece" defstate="0"> + <image file="chess/wn.svg" state="1"/> + <image file="chess/wn.svg" state="2"/> + <image file="chess/bk.svg" state="3"/> + <image file="chess/wk.svg" state="4"/> + <image file="chess/bq.svg" state="5"/> + <image file="chess/wq.svg" state="6"/> + <image file="chess/br.svg" state="7"/> + <image file="chess/br.svg" state="8"/> + <image file="chess/wr.svg" state="9"/> + <image file="chess/wr.svg" state="10"/> + <image file="chess/bb.svg" state="11"/> + <image file="chess/bb.svg" state="12"/> + <image file="chess/wb.svg" state="13"/> + <image file="chess/wb.svg" state="14"/> + <image file="chess/bn.svg" state="15"/> + <image file="chess/bn.svg" state="16"/> + <image file="chess/wp.svg" state="17"/> + <image file="chess/wp.svg" state="18"/> + <image file="chess/wp.svg" state="19"/> + <image file="chess/wp.svg" state="20"/> + <image file="chess/wp.svg" state="21"/> + <image file="chess/wp.svg" state="22"/> + <image file="chess/wp.svg" state="23"/> + <image file="chess/wp.svg" state="24"/> + <image file="chess/bp.svg" state="25"/> + <image file="chess/bp.svg" state="26"/> + <image file="chess/bp.svg" state="27"/> + <image file="chess/bp.svg" state="28"/> + <image file="chess/bp.svg" state="29"/> + <image file="chess/bp.svg" state="30"/> + <image file="chess/bp.svg" state="31"/> + <image file="chess/bp.svg" state="32"/> + + <!-- selected pieces --> + <image file="chess/wn.svg" state="33"><color alpha="0.5" /></image> + <image file="chess/wn.svg" state="34"><color alpha="0.5" /></image> + <image file="chess/bk.svg" state="35"><color alpha="0.5" /></image> + <image file="chess/wk.svg" state="36"><color alpha="0.5" /></image> + <image file="chess/bq.svg" state="37"><color alpha="0.5" /></image> + <image file="chess/wq.svg" state="38"><color alpha="0.5" /></image> + <image file="chess/br.svg" state="39"><color alpha="0.5" /></image> + <image file="chess/br.svg" state="40"><color alpha="0.5" /></image> + <image file="chess/wr.svg" state="41"><color alpha="0.5" /></image> + <image file="chess/wr.svg" state="42"><color alpha="0.5" /></image> + <image file="chess/bb.svg" state="43"><color alpha="0.5" /></image> + <image file="chess/bb.svg" state="44"><color alpha="0.5" /></image> + <image file="chess/wb.svg" state="45"><color alpha="0.5" /></image> + <image file="chess/wb.svg" state="46"><color alpha="0.5" /></image> + <image file="chess/bn.svg" state="47"><color alpha="0.5" /></image> + <image file="chess/bn.svg" state="48"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="49"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="50"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="51"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="52"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="53"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="54"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="55"><color alpha="0.5" /></image> + <image file="chess/wp.svg" state="56"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="57"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="58"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="59"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="60"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="61"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="62"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="63"><color alpha="0.5" /></image> + <image file="chess/bp.svg" state="64"><color alpha="0.5" /></image> + </element> + + <element name="text_1"> <text string="1"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_2"> <text string="2"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_3"> <text string="3"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_4"> <text string="4"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_5"> <text string="5"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_6"> <text string="6"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_7"> <text string="7"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_8"> <text string="8"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_a"> <text string="A"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_b"> <text string="B"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_c"> <text string="C"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_d"> <text string="D"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_e"> <text string="E"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_f"> <text string="F"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_g"> <text string="G"> <color red="1" green="1" blue="1" /></text> </element> + <element name="text_h"> <text string="H"> <color red="1" green="1" blue="1" /></text> </element> + + +<!-- sb board --> + + <element name="cblack"><rect><color red="0.56" green="0.33" blue="0.12" /></rect></element> + <element name="cwhite"><rect><color red="0.84" green="0.75" blue="0.50" /></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="-3.5" y="-3.5" width="89" height="89" /> + + <element ref="cblack"><bounds x="-3.5" y="-3.5" width="89" height="89" /></element> + <element ref="black2b"><bounds x="0.5" y="0.5" width="81" height="81" /></element> + + <!-- chessboard coords --> + <element ref="text_8"><bounds x="-2.3" y="5" width="2" height="2" /></element> + <element ref="text_7"><bounds x="-2.3" y="15" width="2" height="2" /></element> + <element ref="text_6"><bounds x="-2.3" y="25" width="2" height="2" /></element> + <element ref="text_5"><bounds x="-2.3" y="35" width="2" height="2" /></element> + <element ref="text_4"><bounds x="-2.3" y="45" width="2" height="2" /></element> + <element ref="text_3"><bounds x="-2.3" y="55" width="2" height="2" /></element> + <element ref="text_2"><bounds x="-2.3" y="65" width="2" height="2" /></element> + <element ref="text_1"><bounds x="-2.3" y="75" width="2" height="2" /></element> + <element ref="text_a"><bounds x="5" y="82.5" width="2" height="2" /></element> + <element ref="text_b"><bounds x="15" y="82.5" width="2" height="2" /></element> + <element ref="text_c"><bounds x="25" y="82.5" width="2" height="2" /></element> + <element ref="text_d"><bounds x="35" y="82.5" width="2" height="2" /></element> + <element ref="text_e"><bounds x="45" y="82.5" width="2" height="2" /></element> + <element ref="text_f"><bounds x="55" y="82.5" width="2" height="2" /></element> + <element ref="text_g"><bounds x="65" y="82.5" width="2" height="2" /></element> + <element ref="text_h"><bounds x="75" y="82.5" width="2" height="2" /></element> + + <!-- squares (avoid seams) --> + <element ref="cwhite"><bounds x="1" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="1" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="1" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="1" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="1" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="1" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="11" y="11" width="11" height="11" /></element> + <element ref="cblack"><bounds x="21" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="31" y="11" width="11" height="11" /></element> + <element ref="cblack"><bounds x="41" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="51" y="11" width="11" height="11" /></element> + <element ref="cblack"><bounds x="61" y="11" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="71" y="11" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="1" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="21" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="21" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="21" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="21" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="21" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="11" y="31" width="11" height="11" /></element> + <element ref="cblack"><bounds x="21" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="31" y="31" width="11" height="11" /></element> + <element ref="cblack"><bounds x="41" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="51" y="31" width="11" height="11" /></element> + <element ref="cblack"><bounds x="61" y="31" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="71" y="31" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="1" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="41" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="41" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="41" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="41" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="41" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="11" y="51" width="11" height="11" /></element> + <element ref="cblack"><bounds x="21" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="31" y="51" width="11" height="11" /></element> + <element ref="cblack"><bounds x="41" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="51" y="51" width="11" height="11" /></element> + <element ref="cblack"><bounds x="61" y="51" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="71" y="51" width="10" height="11" /></element> + + <element ref="cwhite"><bounds x="1" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="11" y="61" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="21" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="31" y="61" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="41" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="51" y="61" width="11" height="11" /></element> + <element ref="cwhite"><bounds x="61" y="61" width="11" height="11" /></element> + <element ref="cblack"><bounds x="71" y="61" width="10" height="11" /></element> + + <element ref="cblack"><bounds x="1" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="11" y="71" width="11" height="10" /></element> + <element ref="cblack"><bounds x="21" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="31" y="71" width="11" height="10" /></element> + <element ref="cblack"><bounds x="41" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="51" y="71" width="11" height="10" /></element> + <element ref="cblack"><bounds x="61" y="71" width="11" height="10" /></element> + <element ref="cwhite"><bounds x="71" y="71" width="10" height="10" /></element> + + <!-- sensors, pieces --> + <repeat count="8"> + <param name="y" start="1" increment="10" /> + <param name="i" start="8" increment="-1" /> + + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x01"><bounds x="1" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x02"><bounds x="11" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x04"><bounds x="21" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x08"><bounds x="31" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x10"><bounds x="41" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x20"><bounds x="51" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x40"><bounds x="61" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + <element ref="hlbb" inputtag="smartboard:board:RANK.~i~" inputmask="0x80"><bounds x="71" y="~y~" width="10" height="10" /><color alpha="0.04" /></element> + + <element name="piece_a~i~" ref="piece"><bounds x="1" y="~y~" width="10" height="10" /></element> + <element name="piece_b~i~" ref="piece"><bounds x="11" y="~y~" width="10" height="10" /></element> + <element name="piece_c~i~" ref="piece"><bounds x="21" y="~y~" width="10" height="10" /></element> + <element name="piece_d~i~" ref="piece"><bounds x="31" y="~y~" width="10" height="10" /></element> + <element name="piece_e~i~" ref="piece"><bounds x="41" y="~y~" width="10" height="10" /></element> + <element name="piece_f~i~" ref="piece"><bounds x="51" y="~y~" width="10" height="10" /></element> + <element name="piece_g~i~" ref="piece"><bounds x="61" y="~y~" width="10" height="10" /></element> + <element name="piece_h~i~" ref="piece"><bounds x="71" y="~y~" width="10" height="10" /></element> + </repeat> + + <!-- 81 LEDs from 64 outputs --> + <repeat count="9"> + <param name="x" start="0.5" increment="10" /> + <repeat count="9"> + <param name="y" start="0.5" increment="10" /> + <element ref="ledo"><bounds x="~x~" y="~y~" width="1" height="1" /></element> + </repeat> + </repeat> + + <repeat count="8"> + <param name="x" start="80.5" increment="-10" /> + <param name="i" start="0" increment="1" /> + <repeat count="8"> + <param name="y" start="0.5" increment="10" /> + <param name="j" start="0" increment="1" /> + <element name="sb30_led_~j~.~i~" ref="ledr" blend="add"><bounds x="~x~" y="~y~" width="1" height="1" /></element> + </repeat> + <repeat count="8"> + <param name="y" start="10.5" increment="10" /> + <param name="j" start="0" increment="1" /> + <element name="sb30_led_~j~.~i~" ref="ledr" blend="add"><bounds x="~x~" y="~y~" width="1" height="1" /></element> + </repeat> + </repeat> + + <repeat count="8"> + <param name="x" start="70.5" increment="-10" /> + <param name="i" start="0" increment="1" /> + <repeat count="8"> + <param name="y" start="0.5" increment="10" /> + <param name="j" start="0" increment="1" /> + <element name="sb30_led_~j~.~i~" ref="ledr" blend="add"><bounds x="~x~" y="~y~" width="1" height="1" /></element> + </repeat> + <repeat count="8"> + <param name="y" start="10.5" increment="10" /> + <param name="j" start="0" increment="1" /> + <element name="sb30_led_~j~.~i~" ref="ledr" blend="add"><bounds x="~x~" y="~y~" width="1" height="1" /></element> + </repeat> + </repeat> + </group> + + +<!-- sb ui --> + + <element name="piece_ui" defstate="0"> + <image file="chess/wp.svg" state="1"/> + <image file="chess/wn.svg" state="2"/> + <image file="chess/wb.svg" state="3"/> + <image file="chess/wr.svg" state="4"/> + <image file="chess/wq.svg" state="5"/> + <image file="chess/wk.svg" state="6"/> + + <image file="chess/bp.svg" state="7"/> + <image file="chess/bn.svg" state="8"/> + <image file="chess/bb.svg" state="9"/> + <image file="chess/br.svg" state="10"/> + <image file="chess/bq.svg" state="11"/> + <image file="chess/bk.svg" state="12"/> + + <!-- selected pieces --> + <image file="chess/wp.svg" state="13"><color alpha="0.5" /></image> + <image file="chess/wn.svg" state="14"><color alpha="0.5" /></image> + <image file="chess/wb.svg" state="15"><color alpha="0.5" /></image> + <image file="chess/wr.svg" state="16"><color alpha="0.5" /></image> + <image file="chess/wq.svg" state="17"><color alpha="0.5" /></image> + <image file="chess/wk.svg" state="18"><color alpha="0.5" /></image> + + <image file="chess/bp.svg" state="19"><color alpha="0.5" /></image> + <image file="chess/bn.svg" state="20"><color alpha="0.5" /></image> + <image file="chess/bb.svg" state="21"><color alpha="0.5" /></image> + <image file="chess/br.svg" state="22"><color alpha="0.5" /></image> + <image file="chess/bq.svg" state="23"><color alpha="0.5" /></image> + <image file="chess/bk.svg" state="24"><color alpha="0.5" /></image> + </element> + + <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"><text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uib3"><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"><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"><text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu2b"><text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu2c"><text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu2d"><text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text></element> + <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></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_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" /> + <element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element> + <element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element> + <element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element> + <element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element> + <element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element> + + <!-- board --> + <element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element> + <element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element> + <element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element> + + <element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element> + <element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element> + + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element> + + <!-- spawn --> + <element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element> + <element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element> + <element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element> + + <element name="piece_ui1" ref="piece_ui"><bounds x="1" y="23" width="4" height="4" /></element> + <element name="piece_ui2" ref="piece_ui"><bounds x="1" y="27" width="4" height="4" /></element> + <element name="piece_ui3" ref="piece_ui"><bounds x="1" y="31" width="4" height="4" /></element> + <element name="piece_ui4" ref="piece_ui"><bounds x="5" y="23" width="4" height="4" /></element> + <element name="piece_ui5" ref="piece_ui"><bounds x="5" y="27" width="4" height="4" /></element> + <element name="piece_ui6" ref="piece_ui"><bounds x="5" y="31" width="4" height="4" /></element> + <element name="piece_ui7" ref="piece_ui"><bounds x="1" y="36" width="4" height="4" /></element> + <element name="piece_ui8" ref="piece_ui"><bounds x="1" y="40" width="4" height="4" /></element> + <element name="piece_ui9" ref="piece_ui"><bounds x="1" y="44" width="4" height="4" /></element> + <element name="piece_ui10" ref="piece_ui"><bounds x="5" y="36" width="4" height="4" /></element> + <element name="piece_ui11" ref="piece_ui"><bounds x="5" y="40" width="4" height="4" /></element> + <element name="piece_ui12" ref="piece_ui"><bounds x="5" y="44" width="4" height="4" /></element> + + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element> + + <!-- hand --> + <element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element> + <element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element> + <element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element> + + <element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element> + <element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element> + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element> + + <!-- undo --> + <element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element> + <element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element> + <element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element> + <element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element> + <element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element> + <element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element> + <element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element> + <element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element> + <element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element> + + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + <element ref="hlub" inputtag="smartboard:board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element> + + <element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element> + <element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element> + <element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element> + </group> + + +<!-- build screen --> + + <view name="Internal Layout"> + <bounds left="0" right="100.8" top="0" bottom="88.8" /> + + <group ref="sb_board"><bounds x="12" y="0" width="88.8" height="88.8" /></group> + <group ref="sb_ui"><bounds x="1" y="4.4" width="10" height="80" /></group> + </view> + +</mamelayout> diff --git a/src/emu/layout/teletex800.lay b/src/emu/layout/teletex800.lay new file mode 100644 index 00000000000..381c48ef34f --- /dev/null +++ b/src/emu/layout/teletex800.lay @@ -0,0 +1,167 @@ +<?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> +<mamelayout version="2"> + <element name="panel"> + <!--<image file="teletex800.png" />--> + </element> + + <element name="button"> + <rect> + <color red="0.25" green="0.25" blue="0.25" /> + </rect> + </element> + + <element name="red_led" defstate="0"> + <disk state="0"> + <color red="0.20" green="0.0" blue="0.0" /> + </disk> + <disk state="1"> + <color red="0.75" green="0.0" blue="0.0" /> + </disk> + </element> + + <element name="green_led" defstate="0"> + <disk state="0"> + <color red="0.0" green="0.20" blue="0.0" /> + </disk> + <disk state="1"> + <color red="0.0" green="0.75" blue="0.0" /> + </disk> + </element> + + <element name="digit" defstate="0"> + <led7seg> + <color red="0.0" green="1.0" blue="0.0" /> + </led7seg> + </element> + + <element name="time_led" defstate="0"> + <text state="0" string="TID"> + <color red="0.0" green="0.20" blue="0.0" /> + </text> + <text state="1" string="TID"> + <color red="0.0" green="0.75" blue="0.0" /> + </text> + </element> + + <element name="date_led" defstate="0"> + <text state="0" string="DAT"> + <color red="0.0" green="0.20" blue="0.0" /> + </text> + <text state="1" string="DAT"> + <color red="0.0" green="0.75" blue="0.0" /> + </text> + </element> + + <element name="year_led" defstate="0"> + <text state="0" string="ÅR"> + <color red="0.0" green="0.20" blue="0.0" /> + </text> + <text state="1" string="ÅR"> + <color red="0.0" green="0.75" blue="0.0" /> + </text> + </element> + + <view name="Front panel"> + <bounds x="0" y="0" width="810" height="473" /> + + <element ref="panel"> + <bounds x="0" y="0" width="810" height="473" /> + </element> + + <!-- BATTERI DRIFT --> + <element name="bat_led" ref="red_led"> + <bounds x="114" y="118" width="16" height="16" /> + </element> + + <!-- SKRIVAR FEL --> + <element name="pr_led" ref="red_led"> + <bounds x="205" y="118" width="16" height="16" /> + </element> + + <!-- OKVITT TELEX --> + <element name="telex_led" ref="green_led"> + <bounds x="298" y="118" width="16" height="16" /> + </element> + + <!-- MOTTAGNA --> + <element name="rx_digit0" ref="digit"> + <bounds x="384" y="107" width="38" height="49" /> + </element> + + <element name="rx_digit1" ref="digit"> + <bounds x="440" y="107" width="38" height="49" /> + </element> + + <!-- SEND KÖ --> + <element name="tx_digit0" ref="digit"> + <bounds x="522" y="107" width="38" height="49" /> + </element> + + <element name="tx_digit1" ref="digit"> + <bounds x="578" y="107" width="38" height="49" /> + </element> + + <!-- TID --> + <element name="time_led" ref="time_led"> + <bounds x="658" y="99" width="29" height="14" /> + </element> + + <!-- DAT --> + <element name="date_led" ref="date_led"> + <bounds x="659" y="123" width="29" height="14" /> + </element> + + <!-- ÅR --> + <element name="year_led" ref="year_led"> + <bounds x="659" y="147" width="22" height="14" /> + </element> + + <!-- MINNES VARNING --> + <element name="mem_led" ref="red_led"> + <bounds x="114" y="204" width="16" height="16" /> + </element> + + <!-- OBS --> + <element name="obs_led" ref="red_led"> + <bounds x="205" y="204" width="16" height="16" /> + </element> + + <!-- SKRIV --> + <element name="write_led" ref="green_led"> + <bounds x="298" y="204" width="16" height="16" /> + </element> + + <!-- LOG --> + <element name="log_led" ref="green_led"> + <bounds x="388" y="204" width="16" height="16" /> + </element> + + <!-- KÖ --> + <element name="queue_led" ref="green_led"> + <bounds x="479" y="204" width="16" height="16" /> + </element> + + <!-- ALLA --> + <element name="all_led" ref="green_led"> + <bounds x="571" y="204" width="16" height="16" /> + </element> + + <!-- SKRIV --> + <element ref="button" inputtag="BTN" inputmask="0x01"> + <bounds x="275" y="262" width="54" height="54" /> + </element> + + <!-- ALLA --> + <element ref="button" inputtag="BTN" inputmask="0x02"> + <bounds x="556" y="261" width="54" height="54" /> + </element> + + <!-- KLOCK --> + <element ref="button" inputtag="BTN" inputmask="0x04"> + <bounds x="648" y="263" width="54" height="54" /> + </element> + </view> +</mamelayout> diff --git a/src/emu/layout/triphsxs.lay b/src/emu/layout/triphsxs.lay index 214b5ae87f0..4d7c0733956 100644 --- a/src/emu/layout/triphsxs.lay +++ b/src/emu/layout/triphsxs.lay @@ -1,4 +1,7 @@ <?xml version="1.0"?> +<!-- +license:CC0-1.0 +--> <mamelayout version="2"> <view name="Triple Side-by-Side"> <screen index="0"> |