50 lines
2.6 KiB
XML
50 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<component name="AudioMiniPlayer" extends="Group">
|
|
<children>
|
|
<Rectangle id="audioMiniPlayerContainerBorder" width="1920" height="150" translation="[0, 0]" opacity=".3" />
|
|
<Rectangle id="audioMiniPlayerContainer" width="1920" height="145" translation="[0, 5]">
|
|
|
|
<Rectangle id="seekBar" translation="[0, 0]" width="1920" height="140">
|
|
<Rectangle id="playPosition" height="145" />
|
|
</Rectangle>
|
|
|
|
<Poster id="albumCover" width="100" height="100" translation="[100, 20]" />
|
|
|
|
<ScrollingText id="song" translation="[240, 20]" horizAlign="left" font="font:MediumSystemFont" maxWidth="1600" height="50" />
|
|
|
|
<LayoutGroup id="buttons" translation="[240, 80]" layoutDirection="horiz" horizAlignment="left" itemSpacings="[25]">
|
|
<Poster id="previous" width="32" height="32" uri="pkg:/images/icons/itemPrevious.png" opacity=".85" />
|
|
<Poster id="play" width="32" height="32" uri="pkg:/images/icons/pause.png" opacity=".85" />
|
|
<Poster id="stop" width="32" height="32" uri="pkg:/images/white.png" opacity=".85" />
|
|
<Poster id="next" width="32" height="32" uri="pkg:/images/icons/itemNext.png" opacity=".85" />
|
|
<Group id="favorite">
|
|
<Poster id="favoriteFocusBox" width="32" height="32" uri="pkg:/images/icons/focus_box.png" visible="false" />
|
|
<Poster id="favoriteIcon" width="32" height="32" uri="pkg:/images/icons/heart_mini.png" opacity=".85" />
|
|
</Group>
|
|
<Poster id="nowPlaying" width="32" height="32" uri="pkg:/images/icons/musicNote.png" opacity=".85" />
|
|
</LayoutGroup>
|
|
|
|
<Animation id="playPositionAnimation" duration="1" repeat="false" easeFunction="linear">
|
|
<FloatFieldInterpolator id="playPositionAnimationWidth" key="[0.0, 1.0]" fieldToInterp="playPosition.width" />
|
|
</Animation>
|
|
</Rectangle>
|
|
|
|
<Animation id="slideUp" duration=".5" repeat="false">
|
|
<Vector2DFieldInterpolator key="[0.0, .5]" keyValue="[[0, 1100], [0, 935]]" fieldToInterp="audioMiniPlayer.translation" />
|
|
</Animation>
|
|
|
|
<Animation id="slideDown" delay=".2" duration=".5" repeat="false">
|
|
<Vector2DFieldInterpolator key="[0.0, .5]" keyValue="[[0, 935], [0, 1100]]" fieldToInterp="audioMiniPlayer.translation" />
|
|
</Animation>
|
|
</children>
|
|
<interface>
|
|
<field id="state" type="string" />
|
|
<field id="selected" type="boolean" />
|
|
<field id="visible" type="boolean" />
|
|
<function name="setup" />
|
|
<function name="setSelected" />
|
|
<function name="isSelected" />
|
|
<function name="setVisible" />
|
|
<function name="isVisible" />
|
|
</interface>
|
|
</component>
|