Changeset 39 for trunk/Forms
- Timestamp:
- Feb 19, 2012, 12:41:25 PM (13 years ago)
- Location:
- trunk/Forms
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormCPU.lfm
r38 r39 4 4 Top = 127 5 5 Width = 414 6 Caption = ' Interpretter'6 Caption = 'CPU' 7 7 ClientHeight = 287 8 8 ClientWidth = 414 -
trunk/Forms/UFormCPU.lrt
r38 r39 1 TFORMCPU.CAPTION= Interpretter1 TFORMCPU.CAPTION=CPU 2 2 TFORMCPU.LABEL4.CAPTION=Step counter: 3 3 TFORMCPU.LABEL7.CAPTION=Speed: -
trunk/Forms/UFormInput.lfm
r38 r39 4 4 Top = 32 5 5 Width = 320 6 Caption = ' FormInput'6 Caption = 'Input' 7 7 ClientHeight = 240 8 8 ClientWidth = 320 -
trunk/Forms/UFormInput.lrt
r38 r39 1 TFORMINPUT.CAPTION= FormInput1 TFORMINPUT.CAPTION=Input 2 2 TFORMINPUT.LABEL1.CAPTION=Input: -
trunk/Forms/UFormMain.lfm
r38 r39 1 1 object MainForm: TMainForm 2 Left = 2 083 Height = 6094 Top = 1345 Width = 7902 Left = 215 3 Height = 414 4 Top = 271 5 Width = 665 6 6 Caption = 'LazFuck' 7 ClientHeight = 5848 ClientWidth = 7907 ClientHeight = 389 8 ClientWidth = 665 9 9 Menu = MainMenu1 10 10 OnCloseQuery = FormCloseQuery … … 17 17 Left = 0 18 18 Height = 21 19 Top = 56320 Width = 79019 Top = 368 20 Width = 665 21 21 Panels = < 22 22 item … … 35 35 Height = 26 36 36 Top = 0 37 Width = 79037 Width = 665 38 38 Images = ImageList1 39 39 ParentShowHint = False … … 118 118 end 119 119 object PageControlRight: TPageControl 120 Left = 397121 Height = 537120 Left = 272 121 Height = 342 122 122 Top = 26 123 123 Width = 393 … … 129 129 object TabSheetDebug: TTabSheet 130 130 Caption = 'Debug' 131 ClientHeight = 535131 ClientHeight = 340 132 132 ClientWidth = 341 133 133 object PanelInput: TPanel 134 134 Left = 0 135 Height = 133135 Height = 64 136 136 Top = 0 137 137 Width = 341 … … 144 144 Left = 0 145 145 Height = 5 146 Top = 133146 Top = 64 147 147 Width = 341 148 148 Align = alTop … … 151 151 object PanelOutput: TPanel 152 152 Left = 0 153 Height = 123154 Top = 138153 Height = 259 154 Top = 69 155 155 Width = 341 156 156 Align = alTop … … 162 162 Left = 0 163 163 Height = 5 164 Top = 261164 Top = 328 165 165 Width = 341 166 166 Align = alTop … … 169 169 object PanelCPU: TPanel 170 170 Left = 0 171 Height = 139172 Top = 266171 Height = 86 172 Top = 333 173 173 Width = 341 174 174 Align = alTop … … 180 180 Left = 0 181 181 Height = 5 182 Top = 405182 Top = 340 183 183 Width = 341 184 184 Align = alTop … … 187 187 object PanelMemory: TPanel 188 188 Left = 0 189 Height = 1 25190 Top = 410189 Height = 1 190 Top = 340 191 191 Width = 341 192 192 Align = alClient … … 197 197 end 198 198 object Splitter1: TSplitter 199 Left = 392200 Height = 537199 Left = 267 200 Height = 342 201 201 Top = 26 202 202 Width = 5 … … 206 206 object PanelLeft: TPanel 207 207 Left = 0 208 Height = 537208 Height = 342 209 209 Top = 26 210 Width = 392210 Width = 267 211 211 Align = alClient 212 212 BevelOuter = bvNone 213 ClientHeight = 537214 ClientWidth = 392213 ClientHeight = 342 214 ClientWidth = 267 215 215 TabOrder = 4 216 216 object PageControlMain: TPageControl 217 217 Left = 0 218 Height = 414218 Height = 219 219 219 Top = 0 220 Width = 392220 Width = 267 221 221 ActivePage = TabSheetSource 222 222 Align = alClient … … 226 226 object TabSheetSource: TTabSheet 227 227 Caption = 'Source code' 228 ClientHeight = 387229 ClientWidth = 390228 ClientHeight = 192 229 ClientWidth = 265 230 230 object MemoSource: TMemo 231 231 Left = 0 232 Height = 387232 Height = 192 233 233 Top = 0 234 Width = 390234 Width = 265 235 235 Align = alClient 236 236 Font.Height = -12 … … 249 249 object TabSheetTarget: TTabSheet 250 250 Caption = 'Target code' 251 ClientHeight = 387252 ClientWidth = 390251 ClientHeight = 192 252 ClientWidth = 265 253 253 object MemoTarget: TMemo 254 254 Left = 0 … … 267 267 Left = 0 268 268 Height = 118 269 Top = 419270 Width = 392269 Top = 224 270 Width = 267 271 271 ActivePage = TabSheetMessages 272 272 Align = alBottom … … 282 282 Left = 0 283 283 Height = 5 284 Top = 414285 Width = 392284 Top = 219 285 Width = 267 286 286 Align = alBottom 287 287 ResizeAnchor = akBottom -
trunk/Forms/UFormMain.pas
r38 r39 255 255 256 256 procedure TMainForm.TargetStateChanged(Sender: TObject); 257 var 258 DebugStep: TDebugStep; 259 begin 257 begin 258 UpdateInterface; 260 259 if CurrentTarget.State = rsPaused then 261 260 AProgramShowExecutionPoint.Execute; 262 UpdateInterface;263 261 end; 264 262 … … 322 320 FormMesssages.Align := alClient; 323 321 FormMesssages.Show; 322 PageControlRight.Width := MainForm.Width div 2; 323 PageControlBottom.Height := MainForm.Height div 5; 324 324 end; 325 325 … … 440 440 procedure TMainForm.AProgramRunExecute(Sender: TObject); 441 441 begin 442 FormCPU.LastStepCounter := 0;443 FormCPU.Show;444 442 if CurrentTarget is TTargetInterpretter then 445 443 TTargetInterpretter(CurrentTarget).Input := FormInput.MemoInput.Lines.Text; … … 595 593 DebugStep: TDebugStep; 596 594 begin 597 DebugStep := CurrentTarget.DebugSteps.SearchBySourcePos(MemoSource.SelStart);598 595 if CurrentTarget.State = rsStopped then begin 599 596 if not CurrentTarget.Compiled then AProgramCompile.Execute; 597 DebugStep := CurrentTarget.DebugSteps.SearchBySourcePos(MemoSource.SelStart); 600 598 CurrentTarget.BreakPoints.SetSystem(DebugStep.TargetPosition); 601 599 AProgramRun.Execute; 602 end else CurrentTarget.RunToCursor(DebugStep.TargetPosition); 600 end else begin 601 DebugStep := CurrentTarget.DebugSteps.SearchBySourcePos(MemoSource.SelStart); 602 CurrentTarget.RunToCursor(DebugStep.TargetPosition); 603 end; 603 604 end; 604 605 -
trunk/Forms/UFormMemory.lfm
r38 r39 4 4 Top = 32 5 5 Width = 391 6 Caption = ' FormMemory'6 Caption = 'Memory' 7 7 ClientHeight = 259 8 8 ClientWidth = 391 -
trunk/Forms/UFormMemory.lrt
r38 r39 1 TFORMMEMORY.CAPTION= FormMemory1 TFORMMEMORY.CAPTION=Memory 2 2 TFORMMEMORY.LABEL6.CAPTION=Memory: 3 3 TFORMMEMORY.LISTVIEWMEMORY.COLUMNS[0].CAPTION=Address -
trunk/Forms/UFormMessages.lfm
r38 r39 4 4 Top = 32 5 5 Width = 320 6 Caption = ' FormMesssages'6 Caption = 'Messages' 7 7 ClientHeight = 240 8 8 ClientWidth = 320 -
trunk/Forms/UFormMessages.lrt
r38 r39 1 TFORMMESSSAGES.CAPTION= FormMesssages1 TFORMMESSSAGES.CAPTION=Messages -
trunk/Forms/UFormOutput.lfm
r38 r39 4 4 Top = 32 5 5 Width = 320 6 Caption = ' FormOutput'6 Caption = 'Output' 7 7 ClientHeight = 240 8 8 ClientWidth = 320 -
trunk/Forms/UFormOutput.lrt
r38 r39 1 TFORMOUTPUT.CAPTION= FormOutput1 TFORMOUTPUT.CAPTION=Output 2 2 TFORMOUTPUT.LABEL2.CAPTION=Output:
Note:
See TracChangeset
for help on using the changeset viewer.