source: GraphicTest/UMainForm.lfm@ 336

Last change on this file since 336 was 319, checked in by chronos, 13 years ago
  • Added: In addition to measure frame data conversion, table show real step duration and FPS include Application.ProcessMessage which cause TImage to draw its data to form and show lower FPS for draw methods which use TImage Bitmap as target.
File size: 3.1 KB
Line 
1object MainForm: TMainForm
2 Left = 187
3 Height = 421
4 Top = 68
5 Width = 735
6 Caption = 'Graphic test'
7 ClientHeight = 421
8 ClientWidth = 735
9 OnClose = FormClose
10 OnCreate = FormCreate
11 OnDestroy = FormDestroy
12 OnShow = FormShow
13 LCLVersion = '0.9.31'
14 object PageControl1: TPageControl
15 Left = 384
16 Height = 401
17 Top = 16
18 Width = 348
19 ActivePage = TabSheet1
20 Anchors = [akTop, akRight, akBottom]
21 TabIndex = 0
22 TabOrder = 0
23 object TabSheet1: TTabSheet
24 Caption = 'TImage'
25 ClientHeight = 375
26 ClientWidth = 340
27 object Image1: TImage
28 Left = 6
29 Height = 307
30 Top = 7
31 Width = 330
32 Anchors = [akTop, akLeft, akRight, akBottom]
33 end
34 end
35 object TabSheet2: TTabSheet
36 Caption = 'TPaintBox'
37 ClientHeight = 346
38 ClientWidth = 361
39 object PaintBox1: TPaintBox
40 Left = 6
41 Height = 279
42 Top = 7
43 Width = 350
44 Anchors = [akTop, akLeft, akRight, akBottom]
45 end
46 end
47 object TabSheet3: TTabSheet
48 Caption = 'OpenGL'
49 end
50 end
51 object ListViewMethods: TListView
52 Left = 8
53 Height = 345
54 Top = 8
55 Width = 368
56 Anchors = [akTop, akLeft, akRight, akBottom]
57 Columns = <
58 item
59 Caption = 'Method'
60 Width = 200
61 end
62 item
63 Caption = 'Duration [ms]'
64 Width = 80
65 end
66 item
67 Caption = 'FPS'
68 Width = 75
69 end
70 item
71 Caption = 'Step duration [ms]'
72 Width = 80
73 end
74 item
75 Caption = 'Step FPS'
76 Width = 75
77 end>
78 OwnerData = True
79 ReadOnly = True
80 RowSelect = True
81 TabOrder = 1
82 ViewStyle = vsReport
83 OnData = ListViewMethodsData
84 OnSelectItem = ListViewMethodsSelectItem
85 end
86 object ButtonSingleTest: TButton
87 Left = 8
88 Height = 25
89 Top = 360
90 Width = 115
91 Anchors = [akLeft, akBottom]
92 Caption = 'Test one method'
93 OnClick = ButtonSingleTestClick
94 TabOrder = 2
95 end
96 object ButtonBenchmark: TButton
97 Left = 136
98 Height = 25
99 Top = 360
100 Width = 112
101 Anchors = [akLeft, akBottom]
102 Caption = 'Test all methods'
103 OnClick = ButtonBenchmarkClick
104 TabOrder = 3
105 end
106 object FloatSpinEdit1: TFloatSpinEdit
107 Left = 88
108 Height = 21
109 Top = 392
110 Width = 58
111 Anchors = [akLeft, akBottom]
112 Increment = 1
113 MaxValue = 100
114 MinValue = 0
115 TabOrder = 4
116 Value = 1
117 end
118 object ButtonStop: TButton
119 Left = 256
120 Height = 25
121 Top = 360
122 Width = 75
123 Anchors = [akLeft, akBottom]
124 Caption = 'Stop'
125 OnClick = ButtonStopClick
126 TabOrder = 5
127 end
128 object Label1: TLabel
129 Left = 8
130 Height = 14
131 Top = 395
132 Width = 70
133 Anchors = [akLeft, akBottom]
134 Caption = 'Step duration:'
135 ParentColor = False
136 end
137 object Label2: TLabel
138 Left = 152
139 Height = 14
140 Top = 395
141 Width = 6
142 Anchors = [akLeft, akBottom]
143 Caption = 's'
144 ParentColor = False
145 end
146 object Timer1: TTimer
147 Interval = 500
148 OnTimer = Timer1Timer
149 left = 238
150 top = 136
151 end
152end
Note: See TracBrowser for help on using the repository browser.