"friends/gameinvitebar.res" { colors { invitebg="163 160 153 255" } controls { "GameInviteBar" { ControlName="GameInviteBar" } "InviteLabel" { ControlName="Label" labeltext="#friends_game_invite" 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 { CGameInviteBar { 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=DefaultText //} } 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 } } }