DefaultColor $FFFFFF00
DefaultX 60
DefaultY 20
DefaultWidth 180
DefaultHeight 27
DefaultStyle 0

Use TourOptions\WND
caption=^Create Tournament^
x=240
y=320

UseParent TourOptions\WND

Create UILabel TourOptions\Title
width=200
x=148
y=30
caption="^New Tournament:^"
align=center
color=$80000000
font=5


Create UILabel TourOptions\Title
width=200
height=36
x=145
y=27
caption="^New Tournament:^"
align=center
color=$B0FFF0D0
font=5


DefaultX 60

Create UILabel TourOptions\TourType
width=130
x=50
y=80
caption="^Tournament type:^"
color=$B0FFF0C0

Create UILabel TourOptions\TourOpt
width=130
x=240
y=80
caption="^Tournament options:^"
color=$B0FFF0C0

Create UIButton TourOptions\Classic
y=110
caption="^Classic^"
btnStyle=item
style=2

Create UIButton TourOptions\Customized
y=138
caption="^Customized^"
btnStyle=item
style=2

Create UIButton TourOptions\RoundTable
y=166
caption="^Round table^"
btnStyle=item
style=2

DefaultX 220

Create UILabel TourOptions\RoundsLabel
width=150
y=110
caption="^Total rounds:^"
align=right
color=$D0FFF0B0

Create UILabel TourOptions\PlayersLabel
width=150
y=138
align=right
caption="^Players required:^"
color=$D0FFF0B0

Create UILabel TourOptions\MentalLabel
width=150
y=166
caption="^Mental Power:^"
align=right
color=$D0FFF0B0

Use TourOptions\Rounds
x=375
y=110
width=36
height=20
style=2

Use TourOptions\Players
x=375
y=138
width=36
height=20
style=2

Use TourOptions\Mental
x=375
y=166
width=36
height=20
style=2

Create UIButton TourOptions\Ok
caption=^Ok^
x=108
y=230
style=2
width=120
height=30

Create UIButton TourOptions\Cancel
caption=^Cancel^
x=245
y=230
style=2
width=120
height=30