iw5-menus/zone_raw/code_post_gfx/ui/expression_test.menu
6arelyFuture 79d5c0956d
All checks were successful
link / Link assets on Linux (push) Successful in 5m29s
feat: code_post_gfx.ff
2024-06-08 11:16:14 +02:00

141 lines
5.2 KiB
Plaintext

{
menuDef
{
name "expression_test"
fullscreen 1
rect 0 0 640 480 0 0
style 1
border 1
focuscolor 1 1 1 1
fadeClamp 1
fadeCycle 1
fadeAmount 0.1
fadeInAmount 0.002
visible 1
onESC
{
close expression_test;
}
itemDef
{
name "backimage2fade"
rect -128 0 896 480 0 0
style 3
decoration
visible 1
textscale 0.55
backcolor 0 0 0 1
forecolor 0 0 0 1
background "white"
}
itemDef
{
name "back"
text "Test = 1"
rect 270 360 100 17 0 0
style 1
type 1
visible when(dvarint(expressionUnitTest4) == 1 && dvarint(expressionUnitTest3) == 1);
textalign 1
textaligny 13
textscale 0.3
textfont 1
forecolor 0.4823 0.4823 0.4823 1
action
{
close expression_test;
}
}
itemDef
{
name "back"
text "Test = 2"
rect 270 360 100 17 0 0
style 1
type 1
visible when(dvarint(expressionUnitTest4) == 2 && dvarint(expressionUnitTest3) == 2);
textalign 1
textaligny 13
textscale 0.3
textfont 1
forecolor 0.4823 0.4823 0.4823 1
action
{
close expression_test;
}
}
itemDef
{
name "back"
text "Test = 3"
rect 270 360 100 17 0 0
style 1
type 1
visible when(dvarint(expressionUnitTest4) == 3 && dvarint(expressionUnitTest3) == 3);
textalign 1
textaligny 13
textscale 0.3
textfont 1
forecolor 0.4823 0.4823 0.4823 1
action
{
close expression_test;
}
}
itemDef
{
name "back"
text "Test = 4"
rect 270 360 100 17 0 0
style 1
type 1
visible when(dvarint(expressionUnitTest4) == 4 && dvarint(expressionUnitTest3) == 4);
textalign 1
textaligny 13
textscale 0.3
textfont 1
forecolor 0.4823 0.4823 0.4823 1
action
{
close expression_test;
}
}
itemDef
{
name "back"
text "Test = 0"
rect 270 360 100 17 0 0
style 1
type 1
visible when(dvarint(expressionUnitTest1) == 5 && dvarint(expressionUnitTest2) == 6 && dvarint(expressionUnitTest3) == 3);
textalign 1
textaligny 13
textscale 0.3
textfont 1
forecolor 0.4823 0.4823 0.4823 1
action
{
close expression_test;
}
}
itemDef
{
name "back"
rect 270 360 100 17 0 0
style 1
type 1
visible 1
textalign 1
textaligny 13
textscale 0.3
textfont 1
forecolor 0.4823 0.4823 0.4823 1
action
{
close expression_test;
}
exp text localvarint("foo3");
}
}
}