source: trunk/Forms/FormCharts.lfm

Last change on this file was 401, checked in by chronos, 6 months ago

Merged revision(s) 396-400 from trunk:

  • Fixed: Charts form chart was not drawn on the initial show.
  • Fixed: Run Randomize only once at startup.
  • Fixed: Store current state of RandSeed to game save.
  • Fixed: Load/store RandSeed as its Cardinal type instead of Integer.
  • Modified: Maximum number of player set to 12.
  • Fixed: Standard yellow color is too bright and not readable with white text. Used darker yellow instead.
  • Fixed: Integrity checks for id references loaded from game file.
  • Fixed: Wrong players and units id recalculation during game save causing bad references.
  • Modified: Set new created players as computer.
  • Fixed: Scale charts line width.
  • Fixed: Item form made bigger to avoid showing scrollbars.
  • Fixed: Item form string control made shorter.
File size: 1.5 KB
Line 
1object FormCharts: TFormCharts
2 Left = 411
3 Height = 592
4 Top = 146
5 Width = 798
6 Caption = 'Charts'
7 ClientHeight = 592
8 ClientWidth = 798
9 Constraints.MinHeight = 120
10 Constraints.MinWidth = 120
11 DesignTimePPI = 144
12 OnShow = FormShow
13 LCLVersion = '3.6.0.0'
14 object Chart1: TChart
15 Left = 10
16 Height = 474
17 Top = 58
18 Width = 783
19 AxisList = <
20 item
21 Marks.LabelBrush.Style = bsClear
22 Minors = <>
23 Title.LabelFont.Orientation = 900
24 Title.LabelBrush.Style = bsClear
25 end
26 item
27 Alignment = calBottom
28 Marks.LabelBrush.Style = bsClear
29 Minors = <>
30 Title.LabelBrush.Style = bsClear
31 end>
32 Foot.Brush.Color = clBtnFace
33 Foot.Font.Color = clBlue
34 Title.Brush.Color = clBtnFace
35 Title.Font.Color = clBlue
36 Title.Text.Strings = (
37 'TAChart'
38 )
39 Anchors = [akTop, akLeft, akRight, akBottom]
40 end
41 object ComboBox1: TComboBox
42 Left = 29
43 Height = 33
44 Top = 10
45 Width = 470
46 ItemHeight = 25
47 ItemIndex = 0
48 Items.Strings = (
49 'Occupied cells'
50 'Military power'
51 'Discovered cells'
52 'Cities count'
53 )
54 Style = csDropDownList
55 TabOrder = 1
56 Text = 'Occupied cells'
57 OnChange = ComboBox1Change
58 end
59 object ButtonClose: TButton
60 Left = 670
61 Height = 37
62 Top = 542
63 Width = 113
64 Anchors = [akRight, akBottom]
65 Caption = 'Close'
66 ModalResult = 11
67 TabOrder = 2
68 OnClick = ButtonCloseClick
69 end
70end
Note: See TracBrowser for help on using the repository browser.