63 lines
1.5 KiB
Plaintext
63 lines
1.5 KiB
Plaintext
"friends/broadcastinvitebar.res"
|
|
{
|
|
colors
|
|
{
|
|
invitebg="163 160 153 255"
|
|
}
|
|
|
|
controls
|
|
{
|
|
"BIBar" { ControlName="BIBar" }
|
|
"InviteLabel" { ControlName="Label" labeltext="#Friends_BroadcastInvite" mouseinputenabled=0 }
|
|
"GameLabel" { ControlName="Label" labeltext="%game%" mouseinputenabled=0 }
|
|
"ClickHereLabel" { ControlName="Label" labeltext="#friends_game_invite_action" mouseinputenabled=0 }
|
|
"InviteImage" { ControlName="ImagePanel" image="resource/invite" mouseinputenabled=0 }
|
|
"CloseButton" { ControlName="Button" labeltext="X" command="Close" }
|
|
}
|
|
|
|
styles
|
|
{
|
|
CBroadcastInviteBar
|
|
{
|
|
render_bg {
|
|
0="fill( x0, y0 + 2, x1, y1 - 2, invitebg )" // 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
|
|
}
|
|
|
|
Label
|
|
{
|
|
textcolor="41 41 40 255"
|
|
}
|
|
|
|
Button
|
|
{
|
|
textcolor="41 41 40 255"
|
|
}
|
|
Button:hover
|
|
{
|
|
textcolor=white
|
|
}
|
|
}
|
|
|
|
layout
|
|
{
|
|
place { control="InviteImage" x=2 y=2 width=50 height=50 }
|
|
place { control="InviteLabel,GameLabel,ClickHereLabel" width=max dir=down spacing=2 margin-top=6 margin-right=2 margin-left=60 }
|
|
place { control="CloseButton" align=right margin=0 width=20 height=20 }
|
|
}
|
|
}
|