"resource/layout/friendpanel_compact.layout" { // custom layout controls { MenuButton {style=menuButtonStyle } AvatarOverlayImage { zpos=2 } AcceptLink { style="inviteLinkStyle" } IgnoreLink { style="inviteLinkStyle" } BlockLink { style="inviteLinkStyle" } } styles { CFriendPanel:selected //only used in non-avatar view for friends { render_bg { 0="gradient_horizontal( x0 - 1, y0+ 1, x1, y0+2, focus3, none )" 1="gradient_horizontal( x0 - 2, y0+2, x1, y1-2, focus3, none )" 1="gradient_horizontal( x0 - 1, y1-2, x1, y1-1, focus3, none )" } } SelfPanel:hover { render_bg { } } menuButtonStyle { minimum-width=14 padding-top=3 padding-bottom=3 padding-right=2 padding-left=1 } menuButtonStyle:hover { render_bg { //background 0="fill( x0 + 2, y0 + 1 , x1 - 1, y1 - 1, buttonfaceactive )" //lines around 1="fill(x0 + 1, y0 + 2, x0 + 2, y1 - 2, buttonfaceactive )" //left 2="fill(x1 - 1, y0 + 2, x1, y1 - 2, buttonfaceactive )" //right } } downarrow:hover { render_bg { //background 0="fill( x0 + 2, y0 + 1 , x1 - 1, y1 - 1, buttonfaceactive )" //lines around 1="fill(x0 + 1, y0 + 2, x0 + 2, y1 - 2, buttonfaceactive )" //left 2="fill(x1 - 1, y0 + 2, x1, y1 - 2, buttonfaceactive )" //right 3="image( x0, y0, x1, y1, graphics/icon_down_hover )" } } inviteLinkStyle { font-style="" textcolor=Text2 padding-left=2 } inviteLinkStyle:hover { textcolor=White font-style=underline } } layout { place { control="ClanStatusImage,NameLabel,FriendsNameInstanceLabel,CompactSeparatorLabel,StatusLabel,GameLabel,AcceptLink,IgnoreLink,BlockLink,SuggestedImage,SuggestedLabel,SuggestedInvite,SuggestedIgnore,MenuButton" x=1 y=1 spacing=4 } } }