ScreenWidth 1024

define EL_NEWPLAYER_OK						195
define EL_NEWPLAYER_CANCEL					196

Position 288 272 -20
Size 448 312
Color FFFFFFFF

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

Element Static
{
 Position 64 24 -1
 Size 320 64
 Text "Enter Your Name"
 TextColor (255,255,160,255)
 Alignment Center
 Font 2
}

#
# Внутренняя рамка
#
Element Static
{
 Position 64 80 -2
 Size 32 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 0 0 32 0 32 32 0 32
 ZOrder -2
}

Element Static
{
 Position 96 80 -2
 Size 256 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 256 0 256 256 224 256 224 0
 ZOrder -2
}

Element Static
{
 Position 352 80 -2
 Size 32 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 32 0 64 0 64 32 32 32
 ZOrder -2
}

Element Static
{
 Position 64 112 -2
 Size 32 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 128 0 160 0 160 32 128 32
 ZOrder -2
}

Element Static
{
 Position 352 112 -2
 Size 32 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 160 0 192 0 192 32 160 32
 ZOrder -2
}

Element Static
{
 Position 64 144 -2
 Size 32 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 64 0 96 0 96 32 64 32
 ZOrder -2
}

Element Static
{
 Position 352 144 -2
 Size 32 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 96 0 128 0 128 32 96 32
 ZOrder -2
}

Element Static
{
 Position 96 144 -2
 Size 256 32
 Text " "
 Texture "ThinBorder"
 TextureSize 256 32
 State Normal 224 0 224 256 192 256 192 0
 ZOrder -2
}

Element Static
{
 Position 80 96 -1
 Size 288 64
 Text " "
 Texture "Back64"
 TextureSize 64 64
 State Normal 0 0 288 0 288 288 0 288
 Filter Mul
 ZOrder -1
}

# Имя
Element Static
{
 Position 64 100 -2
 Size 320 48
 Text "|"
 TextColor (255,255,72,255)
 Alignment Center
 Font 2
 ZOrder -2
 Interrupt 1
}

# OK
Element Button ID EL_NEWPLAYER_OK
{
 Position 80 224 -1
 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 -1
 Interrupt 4
}

# Cancel
Element Button ID EL_NEWPLAYER_CANCEL
{
 Position 240 224 -1
 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 -1
 Interrupt 2
}

Element Button ID EL_NEWPLAYER_OK
{
 Position 160 224 -1
 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 -1
 Interrupt 5
}

# Сообщение
Element Static
{
 Position 64 172 -1
 Size 320 48
 Text "Enter 1 to 12 chars"
 TextColor (255,255,72,255)
 Alignment Center
 Interrupt 3
}

