IW4-Dump-Files/ui_mp/password_popmenu.menu

375 lines
6.7 KiB
Plaintext

/*********************************************************
***************** Dumped by aerosoul94 *******************
*********************************************************/
{
menuDef
{
name "password_popmenu"
rect -137 -52 274 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 "passwordEntry" ;;
}
onRequestClose
{
play "mouse_click";
setLocalVarInt "ui_centerPopup" ( 0 );
;;
}
onEsc
{
close self;
}
itemDef
{
rect -737 -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 -141 -56 274 104 2 2
visible 1
forecolor 1 1 1 1
type 1
textfont 1
textscale 0.55
action
{
}
}
itemDef
{
rect -139 -54 278 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 -137 -52 274 104 2 2
decoration
visible 1
style 3
forecolor 1 1 1 0.7
background "gradient_bottom"
textscale 0.55
}
itemDef
{
rect -171 -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 -139 -86 278 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 139 -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 139 -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 139 -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 -139 -52 278 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 -171 -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 -171 -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_PASSWORD" )
}
itemDef
{
name "passwordEntry"
rect -95 -16 190 18 2 2
visible 1
group "grpControls"
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 " "
dvar "password"
maxChars 12
maxPaintChars 12
mouseEnter
{
show "keyBindStatus";
play "mouse_over";
}
mouseExit
{
hide "keyBindStatus";
setfocus "ok_button";
}
accept
{
close self;
}
}
itemDef
{
rect -135 12 265.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 130.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 -135 12 265.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 130.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
{
name "ok_button"
rect -135 12 270 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" )
mouseEnter
{
setfocus "ok_button";
}
action
{
play "mouse_click";
close self ;;
}
onFocus
{
play "mouse_submenu_over";
setLocalVarInt "ui_highlight" ( 4 );
setLocalVarString "ui_choicegroup" ( "popmenu" );
}
leaveFocus
{
setLocalVarInt "ui_highlight" ( 0 );
}
}
itemDef
{
rect -135 32 265.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 130.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 -135 32 265.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 130.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 -135 32 270 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_RESET" )
action
{
play "mouse_click";
close self;
setdvar "password" "" ;;
}
onFocus
{
play "mouse_submenu_over";
setLocalVarInt "ui_highlight" ( 5 );
setLocalVarString "ui_choicegroup" ( "popmenu" );
}
leaveFocus
{
setLocalVarInt "ui_highlight" ( 0 );
}
}
}
}