IW4-Dump-Files/ui_mp/createfavorite_popmenu.menu

364 lines
6.6 KiB
Plaintext

/*********************************************************
***************** Dumped by aerosoul94 *******************
*********************************************************/
{
menuDef
{
name "createfavorite_popmenu"
rect -202 -52 404 104 2 2
popup
style 1
forecolor 1 1 1 1
focuscolor 1 1 1 1
fadeCycle 1
fadeClamp 1
fadeAmount 0.1
onOpen
{
setLocalVarInt "ui_centerPopup" ( 1 );
setfocus "fav_ip" ;;
}
onRequestClose
{
play "mouse_click";
setLocalVarInt "ui_centerPopup" ( 0 );
;;
}
onEsc
{
close self;
}
itemDef
{
rect -802 -852 2000 2000 2 2
visible 1
forecolor 1 1 1 1
type 1
textfont 1
textscale 0.55
action
{
close self;
}
onFocus
{
setdvar "ui_popup_close_icon" 1;
}
leaveFocus
{
setdvar "ui_popup_close_icon" 0;
}
}
itemDef
{
rect -206 -56 404 104 2 2
visible 1
forecolor 1 1 1 1
type 1
textfont 1
textscale 0.55
action
{
}
}
itemDef
{
rect -204 -54 408 108 2 2
decoration
visible 1
style 3
border 1
bordersize 2
forecolor 0.2 0.21 0.25 1
bordercolor 0.4 0.405 0.42 1
background "white"
textscale 0.55
}
itemDef
{
rect -202 -52 404 104 2 2
decoration
visible 1
style 3
forecolor 1 1 1 0.7
background "gradient_bottom"
textscale 0.55
}
itemDef
{
rect -236 -86 32 32 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tl"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect -204 -86 408 32 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_t"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 204 -86 32 32 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_tr"
textscale 0.55
visible when ( 1 )
}
itemDef
{
rect 204 -54 32 0 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_r"
textscale 0.55
exp rect h ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 5 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
visible when ( 1 )
}
itemDef
{
rect 204 -52 32 32 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_br"
textscale 0.55
exp rect y ( ( 0 - 2 ) + ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 5 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
visible when ( 1 )
}
itemDef
{
rect -204 -52 408 32 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_b"
textscale 0.55
exp rect y ( ( 0 - 2 ) + ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 5 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
visible when ( 1 )
}
itemDef
{
rect -236 -52 32 32 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_bl"
textscale 0.55
exp rect y ( ( 0 - 2 ) + ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 5 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) ) )
visible when ( 1 )
}
itemDef
{
rect -236 -54 32 0 2 2
decoration
visible 1
style 3
forecolor 0 0 0 1
background "drop_shadow_l"
textscale 0.55
exp rect h ( ( ( ( 0 + 0 + ( ( 18 + 2 ) * ( 5 ) + 4 * 2 + 0 ) ) - 2 * 2 ) + 2 * 2 ) )
visible when ( 1 )
}
itemDef
{
rect 2 -50 0 0 2 2
decoration
visible 1
forecolor 0.69 0.69 0.69 1
type 1
textfont 1
textalign 5
textscale 0.4583
exp text ( "@MENU_NEW_FAVORITE" )
}
itemDef
{
name "fav_ip"
rect -160 -16 320 18 2 2
visible 1
style 1
forecolor 0.9 0.9 0.9 1
backcolor 0 0 0 0.3
type 4
textfont 1
textalign 8
textaligny -2
textscale 0.375
text "@MENU_IP_ADDRESS"
dvar "ui_favoriteAddress"
maxChars 22
maxPaintChars 22
accept
{
close self;
uiScript "CreateFavorite";
close "createfavorite_popmenu";
open "fav_message_popmenu";
}
}
itemDef
{
rect -200 12 395.5 18 2 2
decoration
visible 1
style 3
forecolor 0.9 0.9 1 0.07
textscale 0.55
exp material ( "gradient_fadein" )
}
itemDef
{
rect 195.5 12 4.5 18 2 2
decoration
visible 1
style 3
forecolor 0.9 0.9 1 0.07
background "button_highlight_end"
textscale 0.55
}
itemDef
{
rect -200 12 395.5 18 2 2
decoration
visible 1
style 3
bordersize 2
forecolor 0.9 0.95 1 0.25
bordercolor 0.8 0.95 1 0.4
background "gradient_fadein"
textscale 0.55
visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" )
}
itemDef
{
rect 195.5 12 4.5 18 2 2
decoration
visible 1
style 3
forecolor 0.9 0.95 1 0.25
background "button_highlight_end"
textscale 0.55
visible when ( localvarint( "ui_highlight" ) == 4 && localvarstring( "ui_choicegroup" ) == "popmenu" )
}
itemDef
{
rect -200 12 400 18 2 2
visible 1
forecolor 0.69 0.69 0.69 1
type 1
textfont 1
textalign 10
textalignx -6
textscale 0.4
exp text ( "@MENU_OK" )
action
{
play "mouse_click";
close self;
uiScript "CreateFavorite";
close "createfavorite_popmenu";
open "fav_message_popmenu" ;;
}
onFocus
{
play "mouse_submenu_over";
setLocalVarInt "ui_highlight" ( 4 );
setLocalVarString "ui_choicegroup" ( "popmenu" );
}
leaveFocus
{
setLocalVarInt "ui_highlight" ( 0 );
}
}
itemDef
{
rect -200 32 395.5 18 2 2
decoration
visible 1
style 3
forecolor 0.9 0.9 1 0.07
textscale 0.55
exp material ( "gradient_fadein" )
}
itemDef
{
rect 195.5 32 4.5 18 2 2
decoration
visible 1
style 3
forecolor 0.9 0.9 1 0.07
background "button_highlight_end"
textscale 0.55
}
itemDef
{
rect -200 32 395.5 18 2 2
decoration
visible 1
style 3
bordersize 2
forecolor 0.9 0.95 1 0.25
bordercolor 0.8 0.95 1 0.4
background "gradient_fadein"
textscale 0.55
visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" )
}
itemDef
{
rect 195.5 32 4.5 18 2 2
decoration
visible 1
style 3
forecolor 0.9 0.95 1 0.25
background "button_highlight_end"
textscale 0.55
visible when ( localvarint( "ui_highlight" ) == 5 && localvarstring( "ui_choicegroup" ) == "popmenu" )
}
itemDef
{
rect -200 32 400 18 2 2
visible 1
forecolor 0.69 0.69 0.69 1
type 1
textfont 1
textalign 10
textalignx -6
textscale 0.4
exp text ( "@MENU_CANCEL" )
action
{
play "mouse_click";
close self ;;
}
onFocus
{
play "mouse_submenu_over";
setLocalVarInt "ui_highlight" ( 5 );
setLocalVarString "ui_choicegroup" ( "popmenu" );
}
leaveFocus
{
setLocalVarInt "ui_highlight" ( 0 );
}
}
}
}