close Warning: Can't synchronize with repository "(default)" (No changeset 184 in the repository). Look in the Trac log for more information.

source: tags/1.1.0/Forms/UFormMain.lfm

Last change on this file was 132, checked in by chronos, 7 years ago
  • Fixed: Some application states were not stored/restored correctly after application restart.
  • Fixed: Default maximized form state for PersistentForm.
  • Fixed: Do not scale up maximized forms according DPI settings.
File size: 5.6 KB
Line 
1object FormMain: TFormMain
2 Left = 577
3 Height = 621
4 Top = 309
5 Width = 775
6 Caption = 'xTactics'
7 ClientHeight = 596
8 ClientWidth = 775
9 Menu = MainMenu1
10 OnClose = FormClose
11 OnCreate = FormCreate
12 OnDestroy = FormDestroy
13 OnKeyUp = FormKeyUp
14 OnShow = FormShow
15 LCLVersion = '1.6.2.0'
16 WindowState = wsMaximized
17 object StatusBar1: TStatusBar
18 Left = 0
19 Height = 28
20 Top = 568
21 Width = 775
22 Panels = <
23 item
24 Width = 200
25 end
26 item
27 Width = 150
28 end
29 item
30 Width = 100
31 end>
32 SimplePanel = False
33 end
34 object ToolBar1: TToolBar
35 Left = 0
36 Height = 568
37 Top = 0
38 Width = 80
39 Align = alLeft
40 ButtonHeight = 32
41 ButtonWidth = 32
42 Images = Core.ImageListSmall
43 ParentShowHint = False
44 PopupMenu = PopupMenuToolbar
45 ShowHint = True
46 TabOrder = 1
47 object ToolButton1: TToolButton
48 Left = 1
49 Top = 2
50 Action = Core.AGameNew
51 end
52 object ToolButton2: TToolButton
53 Left = 1
54 Top = 34
55 Action = Core.AGameEndTurn
56 end
57 object ToolButton3: TToolButton
58 Left = 1
59 Top = 66
60 Action = Core.AGameEnd
61 end
62 object ToolButton4: TToolButton
63 Left = 1
64 Top = 98
65 Action = Core.AGameRestart
66 end
67 object ToolButton5: TToolButton
68 Left = 1
69 Top = 130
70 Action = Core.ASettings
71 end
72 object ToolButton6: TToolButton
73 Left = 1
74 Top = 194
75 Action = AZoomIn
76 end
77 object ToolButton7: TToolButton
78 Left = 1
79 Top = 226
80 Action = AZoomOut
81 end
82 object ToolButton8: TToolButton
83 Left = 1
84 Top = 258
85 Action = AZoomAll
86 end
87 object ToolButton9: TToolButton
88 Left = 1
89 Height = 32
90 Top = 162
91 Width = 32
92 Style = tbsSeparator
93 end
94 object ToolButton10: TToolButton
95 Left = 1
96 Height = 32
97 Top = 290
98 Width = 32
99 Style = tbsSeparator
100 end
101 object ToolButton11: TToolButton
102 Left = 1
103 Top = 322
104 Action = Core.AGameLoad
105 end
106 object ToolButton12: TToolButton
107 Left = 1
108 Top = 354
109 Action = Core.AGameSave
110 end
111 object ToolButton13: TToolButton
112 Left = 1
113 Top = 386
114 Action = Core.AExit
115 end
116 end
117 object PaintBox1: TPaintBox
118 Left = 80
119 Height = 568
120 Top = 0
121 Width = 695
122 Align = alClient
123 OnMouseDown = PaintBox1MouseDown
124 OnMouseLeave = PaintBox1MouseLeave
125 OnMouseMove = PaintBox1MouseMove
126 OnMouseUp = PaintBox1MouseUp
127 OnMouseWheelDown = PaintBox1MouseWheelDown
128 OnMouseWheelUp = PaintBox1MouseWheelUp
129 OnPaint = PaintBox1Paint
130 OnResize = PaintBox1Resize
131 end
132 object MainMenu1: TMainMenu
133 Images = Core.ImageListSmall
134 left = 224
135 top = 48
136 object MenuItem1: TMenuItem
137 Caption = 'Game'
138 object MenuItem2: TMenuItem
139 Action = Core.AGameNew
140 end
141 object MenuItem3: TMenuItem
142 Action = Core.AGameEnd
143 end
144 object MenuItem7: TMenuItem
145 Action = Core.AGameRestart
146 end
147 object MenuItem4: TMenuItem
148 Action = Core.AGameEndTurn
149 end
150 object MenuItem14: TMenuItem
151 Action = Core.AGameLoad
152 end
153 object MenuItemLoadRecent: TMenuItem
154 Caption = 'Load recent'
155 end
156 object MenuItem15: TMenuItem
157 Action = Core.AGameSave
158 end
159 object MenuItem5: TMenuItem
160 Caption = '-'
161 end
162 object MenuItem6: TMenuItem
163 Action = Core.AExit
164 end
165 end
166 object MenuItem10: TMenuItem
167 Caption = 'View'
168 object MenuItem11: TMenuItem
169 Action = AZoomAll
170 end
171 object MenuItem12: TMenuItem
172 Action = AZoomIn
173 end
174 object MenuItem13: TMenuItem
175 Action = AZoomOut
176 end
177 object MenuItem19: TMenuItem
178 Caption = '-'
179 end
180 object MenuItem21: TMenuItem
181 Action = AToolBarVisible
182 end
183 object MenuItem20: TMenuItem
184 Action = AToolBarBigIcons
185 end
186 object MenuItem22: TMenuItem
187 Action = AStatusBarVisible
188 end
189 end
190 object MenuItem8: TMenuItem
191 Caption = 'Tools'
192 object MenuItem9: TMenuItem
193 Action = Core.ASettings
194 end
195 object MenuItem24: TMenuItem
196 Action = Core.AShowCharts
197 end
198 end
199 object MenuItem16: TMenuItem
200 Caption = 'Help'
201 object MenuItem23: TMenuItem
202 Action = Core.AHelp
203 end
204 object MenuItem17: TMenuItem
205 Action = Core.AAbout
206 end
207 end
208 end
209 object Timer1: TTimer
210 Interval = 20
211 OnTimer = Timer1Timer
212 left = 154
213 top = 263
214 end
215 object ActionList1: TActionList
216 Images = Core.ImageListSmall
217 left = 280
218 top = 152
219 object AZoomIn: TAction
220 Caption = 'Zoom in'
221 ImageIndex = 8
222 OnExecute = AZoomInExecute
223 ShortCut = 16491
224 end
225 object AZoomOut: TAction
226 Caption = 'Zoom out'
227 ImageIndex = 9
228 OnExecute = AZoomOutExecute
229 ShortCut = 16493
230 end
231 object AZoomAll: TAction
232 Caption = 'Zoom all'
233 ImageIndex = 7
234 OnExecute = AZoomAllExecute
235 ShortCut = 16449
236 end
237 object AToolBarBigIcons: TAction
238 Caption = 'Toolbar big icons'
239 OnExecute = AToolBarBigIconsExecute
240 end
241 object AToolBarVisible: TAction
242 Caption = 'Toolbar visible'
243 OnExecute = AToolBarVisibleExecute
244 end
245 object AStatusBarVisible: TAction
246 Caption = 'Statusbar visible'
247 OnExecute = AStatusBarVisibleExecute
248 end
249 end
250 object PopupMenuToolbar: TPopupMenu
251 left = 452
252 top = 98
253 object MenuItem18: TMenuItem
254 Action = AToolBarBigIcons
255 end
256 end
257end
Note: See TracBrowser for help on using the repository browser.