microvision: put internal artwork paddle state in a vistoggle

This commit is contained in:
hap 2020-09-12 12:35:38 +02:00
parent d60b6f8440
commit bfc62d9f84

View File

@ -37,10 +37,12 @@ license:CC0
<element ref="lcdm" blend="multiply"><bounds x="0" y="0" width="18" height="18" /></element>
<element ref="lcda" blend="add"><bounds x="0" y="0" width="18" height="18" /></element>
<!-- show paddle position -->
<element ref="text_p1" blend="add"><bounds x="10.75" y="0.1" width="5" height="0.75" /></element>
<element ref="nothing" blend="add" inputtag="PADDLE" inputmask="0x00" inputraw="1"><bounds x="15.95" y="0.1" width="2" height="0.75" /></element> <!-- block clickable input -->
<element ref="text_p2" blend="add" inputtag="PADDLE" inputmask="0xff" inputraw="1"><bounds x="15.95" y="0.1" width="2" height="0.75" /></element>
<collection name="Paddle State">
<!-- show live paddle position -->
<element ref="text_p1" blend="add"><bounds x="10.75" y="0.1" width="5" height="0.75" /></element>
<element ref="nothing" blend="add" inputtag="PADDLE" inputmask="0x00" inputraw="1"><bounds x="15.95" y="0.1" width="2" height="0.75" /></element> <!-- block clickable input -->
<element ref="text_p2" blend="add" inputtag="PADDLE" inputmask="0xff" inputraw="1"><bounds x="15.95" y="0.1" width="2" height="0.75" /></element>
</collection>
</view>
</mamelayout>