Threshold-Yuzu/friends/tradeinvitebar.res

66 lines
1.9 KiB
Plaintext

"friends/tradeinvitebar.res"
{
colors
{
invitebg="163 160 153 255"
}
controls
{
"InviteLabel" { ControlName="Label" labeltext="#friends_trade_invite" mouseinputenabled=0 group="recv" }
"ClickHereLabel" { ControlName="Label" labeltext="#friends_trade_invite_action" mouseinputenabled=0 group="recv" }
"InviteSentLabel" { ControlName="Label" labeltext="#friends_trade_invite_sent" mouseinputenabled=0 group="send" }
"WaitingForResponseLabel" { ControlName="Label" labeltext="#friends_trade_invite_sent_waiting" mouseinputenabled=0 group="send" }
"InviteImage" { ControlName="ImagePanel" image="resource/icon_trade_request" mouseinputenabled=0 group="recv" }
"InviteSentImage" { ControlName="ImagePanel" image="resource/icon_trade_request" mouseinputenabled=0 group="send" }
"CloseButton" { ControlName="Button" labeltext="X" command="Close" }
}
styles
{
CTradeInviteBar
{
render_bg {
0="fill( x0, y0, x1, y1, DefaultBackground )" // fill the center
//1="fill( x0 + 2, y0, x1 - 2, y0 + 2, invitebg )" // top
//2="fill( x0 + 2, y1 - 2, x1 - 2, y1, invitebg )" // bottom
//3="fill4( x0 + 1, y0 + 1, x0 + 2, y0 + 2, invitebg )" // top-left
//4="fill4( x0 + 1, y0, x0 + 2, y0 + 1, invitebg, 127 )" //
//5="fill4( x0, y0 + 1, x0 + 1, y0 + 2, invitebg, 127 )" //
}
}
Button
{
render {}
render_bg { }
bgcolor=none
font-style=none
textcolor=DefaultText
}
Button:hover
{
textcolor=DefaultText.Hover
}
//Label
//{
// textcolor="41 41 40 255"
//}
}
layout
{
place { control="InviteImage,InviteSentImage" x=2 y=2 width=50 height=50 }
place { control="InviteLabel,ClickHereLabel,InviteSentLabel,WaitingForResponseLabel" width=max dir=down spacing=12 margin-top=6 margin-right=2 margin-left=60 }
place { control="CloseButton" align=right margin=0 width=20 height=20 }
}
}