18 lines
3.7 KiB
Plaintext
18 lines
3.7 KiB
Plaintext
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
|
|
<ui:VisualElement name="player-bar" class="player" style="flex-direction: column-reverse; display: flex; padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px; background-color: rgba(0, 0, 0, 0.82); border-top-left-radius: 8px; border-bottom-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px;">
|
|
<ui:VisualElement style="flex-direction: row; align-items: center;">
|
|
<ui:Button display-tooltip-when-elided="true" name="player_track_prev-button" class="playerButton" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; background-image: url('project://database/Assets/Artist/Arts/Icons/Icon_player-track-prev-filled.png?fileID=2800000&guid=7d1187fbf91d0ac418a4f5d768b99c3f&type=3#Icon_player-track-prev-filled'); width: 24px; height: 24px; background-color: rgba(188, 188, 188, 0); border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0;" />
|
|
<ui:Button display-tooltip-when-elided="true" name="play-button" class="playerButton" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; background-image: url('project://database/Assets/Artist/Arts/Icons/Icon_player-play-filled.png?fileID=2800000&guid=a1f9760a9770ae24aabe1a346a44d2a5&type=3#Icon_player-play-filled'); width: 24px; height: 24px; background-color: rgba(188, 188, 188, 0); border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0;" />
|
|
<ui:Button display-tooltip-when-elided="true" name="pause-button" class="playerButton" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; background-image: url('project://database/Assets/Artist/Arts/Icons/Icon_player-pause-filled.png?fileID=2800000&guid=d0bbb0fbd038fd04e92661341531c8ab&type=3#Icon_player-pause-filled'); width: 24px; height: 24px; background-color: rgba(188, 188, 188, 0); border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0;" />
|
|
<ui:Button display-tooltip-when-elided="true" name="player_track_next-button" class="playerButton" style="margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-right: 0; padding-top: 0; padding-bottom: 0; background-image: url('project://database/Assets/Artist/Arts/Icons/Icon_player-track-next-filled.png?fileID=2800000&guid=20c29de72b51c9344b5fef47e6472693&type=3#Icon_player-track-next-filled'); width: 24px; height: 24px; background-color: rgba(188, 188, 188, 0); border-left-width: 0; border-right-width: 0; border-top-width: 0; border-bottom-width: 0;" />
|
|
<ui:Slider picking-mode="Ignore" value="0.64" high-value="1" name="player-slider" style="height: 6px; flex-grow: 1;" />
|
|
</ui:VisualElement>
|
|
<ui:VisualElement name="player-labls" style="flex-direction: row-reverse;">
|
|
<ui:Label text="00:32" display-tooltip-when-elided="true" name="playerTotalTime-label" style="-unity-text-align: upper-right;" />
|
|
<ui:Label text="/" display-tooltip-when-elided="true" name="line" />
|
|
<ui:Label text="00:16" display-tooltip-when-elided="true" name="playerTime-label" style="-unity-text-align: upper-right;" />
|
|
<ui:Label text="播放中" display-tooltip-when-elided="true" name="playerState-label" style="color: rgb(255, 115, 4);" />
|
|
</ui:VisualElement>
|
|
</ui:VisualElement>
|
|
</ui:UXML>
|