1
<Panel name = "Pawn promotion"
2
callbackString = "pawn_promotion">
4
<Position x = "200" y = "340"/>
7
<Panel name = "promotion"
9
drawBackground = "true"
12
<BGColor x = "50" y = "50" z = "50" />
13
<BordersColor x = "216" y = "169" z = "0" />
15
<Label name = "Title">
16
<Text string = "There is promotion ! Choose your new piece :" fontIndex ="1">
17
<Color r = "0" g = "255" b = "255" />
20
<Separator ratio = "1.0" />
22
<RadioButton callbackString = "queen"
23
alphaFadeScale = "1.5"
25
<Text string = "Queen" />
28
<RadioButton callbackString = "knight"
29
alphaFadeScale = "1.5">
30
<Text string = "Knight" />
33
<RadioButton callbackString = "rook"
34
alphaFadeScale = "1.5">
35
<!-- The two spaces at the end of rook are
36
important because of the centered mode -->
37
<Text string = "Rook " />
40
<RadioButton callbackString = "bishop"
41
alphaFadeScale = "1.5">
42
<Text string = "Bishop" />
46
<Label name = "Nothing">
47
<Text string = "" ></Text>
50
<Button callbackString = "okButtonPromotion">
51
<Color x = "255" y = "0" z = "0" />
52
<Text string = "OK" />
53
<Dimensions x = "120" y = "30" />