ScreenWidth 1024

define EL_MSGBOX_OK			200
define EL_MSGBOX_CANCEL			201
define EL_MSGBOX_YES			202
define EL_MSGBOX_NO			203

Position 224 160 -550
Size 576 448
Color FFFFFFFF

Tiling
{
 Corners "WinCorners"
 Sides "WinSides"
 Background "WinBack"
 HTile 64 64
 VTile 64 64
}

Element Static
{
 Position 48 48 -1
 Size 480 40
 Text " "
 TextColor (255,255,72,255)
 Alignment Center
 Font 2
 Interrupt 1
}

Element Static
{
 Position 48 48 -1
 Size 480 32
 Text " "
 TextColor (255,255,72,255)
 Alignment Center
 Interrupt 2
}

#
# OK
#

# OK
Element Button ID EL_MSGBOX_OK
{
 Position 224 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 0 0 128 0 128 40 0 40
 State Over 0 40 128 40 128 80 0 80
 State Pressed 0 80 128 80 128 120 0 120
 ZOrder -2
 Interrupt 100
}

#
# OK + Cancel
#

# OK
Element Button ID EL_MSGBOX_OK
{
 Position 96 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 0 0 128 0 128 40 0 40
 State Over 0 40 128 40 128 80 0 80
 State Pressed 0 80 128 80 128 120 0 120
 ZOrder -2
 Interrupt 101
}

# Cancel
Element Button ID EL_MSGBOX_CANCEL
{
 Position 352 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 128 0 256 0 256 40 128 40
 State Over 128 40 256 40 256 80 128 80
 State Pressed 128 80 256 80 256 120 128 120
 ZOrder -2
 Interrupt 101
}

#
# Yes + No
#

# Yes
Element Button ID EL_MSGBOX_YES
{
 Position 96 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 0 120 128 120 128 160 0 160
 State Over 0 160 128 160 128 200 0 200
 State Pressed 0 200 128 200 128 240 0 240
 ZOrder -2
 Interrupt 102
}

# No
Element Button ID EL_MSGBOX_NO
{
 Position 352 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 128 120 256 120 256 160 128 160
 State Over 128 160 256 160 256 200 128 200
 State Pressed 128 200 256 200 256 240 128 240
 ZOrder -2
 Interrupt 102
}

#
# Yes + Cancel
#

# Yes
Element Button ID EL_MSGBOX_YES
{
 Position 96 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 0 120 128 120 128 160 0 160
 State Over 0 160 128 160 128 200 0 200
 State Pressed 0 200 128 200 128 240 0 240
 ZOrder -2
 Interrupt 103
}

# Cancel
Element Button ID EL_MSGBOX_CANCEL
{
 Position 352 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 128 0 256 0 256 40 128 40
 State Over 128 40 256 40 256 80 128 80
 State Pressed 128 80 256 80 256 120 128 120
 ZOrder -2
 Interrupt 103
}

#
# Yes + No + Cancel
#

# Yes
Element Button ID EL_MSGBOX_YES
{
 Position 48 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 0 120 128 120 128 160 0 160
 State Over 0 160 128 160 128 200 0 200
 State Pressed 0 200 128 200 128 240 0 240
 ZOrder -2
 Interrupt 104
}

# No
Element Button ID EL_MSGBOX_NO
{
 Position 224 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 128 120 256 120 256 160 128 160
 State Over 128 160 256 160 256 200 128 200
 State Pressed 128 200 256 200 256 240 128 240
 ZOrder -2
 Interrupt 104
}

# Cancel
Element Button ID EL_MSGBOX_CANCEL
{
 Position 400 360 -2
 Size 128 40
 text " "
 Texture "MsgButtons"
 State Normal 128 0 256 0 256 40 128 40
 State Over 128 40 256 40 256 80 128 80
 State Pressed 128 80 256 80 256 120 128 120
 ZOrder -2
 Interrupt 104
}

