277 lines
9.8 KiB
Plaintext
277 lines
9.8 KiB
Plaintext
{
|
|
menuDef
|
|
{
|
|
name "popup_friends"
|
|
rect -250 -184 520 370 2 2
|
|
style 1
|
|
backcolor 1 1 1 1
|
|
focuscolor 1 1 1 1
|
|
background "white"
|
|
popup
|
|
legacySplitScreenScale
|
|
onOpen
|
|
{
|
|
uiScript LoadFriends;
|
|
setLocalVarInt ui_centerPopup (1);
|
|
}
|
|
onClose
|
|
{
|
|
setLocalVarInt ui_centerPopup (0);
|
|
}
|
|
onESC
|
|
{
|
|
close self;
|
|
}
|
|
execKey "f"
|
|
{
|
|
play mouse_click;
|
|
close self;
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 370 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 0 0 0 0.35
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -1004 -564 1708 960 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 1 1 1 1
|
|
background "xpbar_stencilbase"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 370 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
backcolor 0.5 0.5 0.5 1
|
|
background "white"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -44 1708 480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.75
|
|
background "mw2_popup_bg_fogstencil"
|
|
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -110 -1708 -480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0.85 0.85 0.85 1
|
|
background "mw2_popup_bg_fogscroll"
|
|
exp rect x 0 - ((float(milliseconds() % 60000) / 60000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 370 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
background "mockup_popup_bg_stencilfill"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -44 -1708 -480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 1 1 1 0.75
|
|
background "mw2_popup_bg_fogstencil"
|
|
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -110 -1708 -480 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0.85 0.85 0.85 1
|
|
background "mw2_popup_bg_fogscroll"
|
|
exp rect x (0 - 854) + ((float(milliseconds() % 50000) / 50000) * (854));
|
|
}
|
|
itemDef
|
|
{
|
|
rect -150 -44 520 0 1 1
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 1 1 1 0
|
|
background "small_box_lightfx"
|
|
exp rect h (24 + 3 * 20);
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 -64 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tl"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 -64 520 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_t"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 520 -64 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_tr"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 520 0 64 370 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_r"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 520 370 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_br"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 370 520 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_b"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 370 64 64 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_bl"
|
|
}
|
|
itemDef
|
|
{
|
|
rect -64 0 64 370 2 2
|
|
style 3
|
|
decoration
|
|
visible 1
|
|
textscale 0.55
|
|
forecolor 0 0 0 1
|
|
background "drop_shadow_l"
|
|
}
|
|
itemDef
|
|
{
|
|
rect 0 0 520 18 2 2
|
|
style 1
|
|
decoration
|
|
visible 1
|
|
textalign 1
|
|
textaligny 18
|
|
textscale 0.375
|
|
textfont 9
|
|
backcolor 0 0 0 0.7
|
|
background "gradient_fadein"
|
|
exp text "@MENU_FRIENDS";
|
|
}
|
|
itemDef
|
|
{
|
|
name "friendsList"
|
|
rect 0 22 520 326 0 0
|
|
style 1
|
|
type 6
|
|
visible 1
|
|
textscale 0.25
|
|
textfont 1
|
|
backcolor 0 0 0 0.5
|
|
outlinecolor 0 0 0 0.6
|
|
elementwidth 120
|
|
elementheight 16
|
|
feeder 61
|
|
columns 3
|
|
8 16 4 0
|
|
42 178 51 0
|
|
226 263 52 0
|
|
doubleclick
|
|
{
|
|
uiScript JoinFriend;
|
|
}
|
|
}
|
|
itemDef
|
|
{
|
|
text "@MENU_CLOSE"
|
|
group "mw2_popup_button"
|
|
rect 6 350 512 20 2 2
|
|
style 1
|
|
type 1
|
|
visible 1
|
|
textalign 6
|
|
textalignx -24
|
|
textscale 0.375
|
|
textfont 3
|
|
disablecolor 0.6 0.55 0.55 1
|
|
background "popup_button_selection_bar"
|
|
onFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 1;
|
|
setLocalVarBool ui_popupAButton (1);
|
|
}
|
|
leaveFocus
|
|
{
|
|
setItemColor self backColor 0 0 0 0;
|
|
setLocalVarBool ui_popupAButton (0);
|
|
}
|
|
mouseEnter
|
|
{
|
|
play mouse_over;
|
|
}
|
|
action
|
|
{
|
|
play mouse_click;
|
|
close self;
|
|
}
|
|
}
|
|
}
|
|
}
|