Threshold-Yuzu/resource/layout/musicpage_details_playlist....

131 lines
2.7 KiB
Plaintext

"resource/layout/musicpage_details_playlist.layout"
{
controls
{
PlaylistTitleLabel { controlname="Label" style="PlaylistTitleStyle" }
TracksInfoLabel { controlname="Label" style="TracksInfoLabelStyle" }
CoverImage { controlname="ImagePanel" style="CoverStyle" scaling=fit}
PlayPlaylistButton {
controlname="Button"
labeltext="#Music_Playlist_Details_Play"
style="ActionButtonStyle"
command="PlaylistPlayAction"
}
AddPlaylistToQueueButton
{
controlname="Button"
labelText="#Music_Playlist_Details_AddToQueue"
style="AdditionalActionButtonStyle"
command="PlaylistAddToQueueAction"
}
AddRandomTracksToPlaylistButton
{
controlname="Button"
labelText="#Music_Playlist_Details_AddRandomTrack"
style="AdditionalActionButtonStyle"
command="PlaylistAddRandomTracksAction"
}
}
styles
{
CMusicPage_Details_Playlist
{
bgcolor=none
render_bg
{
0="fill( x0, y0, x1, y1+18, JackMyth.HalfOpacity )"
}
}
PlaylistTitleStyle
{
font-size=46
textcolor=DefaultText
font-family=light
}
TracksInfoLabelStyle
{
font-size=18
textcolor=DefaultText.Hover
font-family=basefont
font-weight=400
bgcolor=none
}
TrackStyle
{
padding-bottom=10
padding-top=0
textcolor=DefaultText
font-family=basefont
font-weight=400
bgcolor=none
render_bg{
}
}
TrackStyle:hover
{
textcolor=DefaultText.Hover
}
CoverStyle
{
}
AdditionalActionButtonStyle
{
font-family=basefont
textcolor=DefaultText
render {}
bgcolor=none
}
AdditionalActionButtonStyle:hover
{
textcolor=DefaultText.Hover
}
ActionButtonStyle
{
inset="18 0 0 0"
font-family=basefont
textcolor=DefaultText
bgcolor=none
render
{
1="image( x0 + 8, y0 + 7, x1, y1, graphics/Threshold/music/play )"
}
}
ActionButtonStyle:hover{
textcolor=DefaultText.Hover
render
{
1="image( x0 + 8, y0 + 7, x1, y1, graphics/Threshold/music/play_hover )"
}
}
}
layout
{
region { name=bodyregion x=10 y=10 width=max height=max overflow=scroll-vertical }
place { control="CoverImage" align=top width=200 height=200 region=bodyregion x=0 y=0} //Dont think this is used
place { control="PlaylistTitleLabel" region=bodyregion start=CoverImage dir=right x=20 y=0 }
place { control="TracksInfoLabel" region=bodyregion start=PlaylistTitleLabel y=5 dir=down}
place { control="PlayPlaylistButton" region=bodyregion y=5 start=TracksInfoLabel dir=down}
place { control="AddPlaylistToQueueButton,AddRandomTracksToPlaylistButton" margin-left=5 region=bodyregion dir=right spacing=5 start=PlayPlaylistButton}
place { control=*MusicPageDetailsPlaylistTrack dir=down y=120 x=0 width=max region=bodyregion}
}
}