Changeset 38
- Timestamp:
- Feb 19, 2012, 10:29:55 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormCPU.lfm
r37 r38 1 object InterpreterForm: TInterpreterForm1 object FormCPU: TFormCPU 2 2 Left = 262 3 Height = 5093 Height = 287 4 4 Top = 127 5 Width = 7625 Width = 414 6 6 Caption = 'Interpretter' 7 ClientHeight = 509 8 ClientWidth = 762 9 OnHide = FormHide 10 OnShow = FormShow 7 ClientHeight = 287 8 ClientWidth = 414 11 9 LCLVersion = '0.9.31' 12 object Panel3: TPanel 13 Left = 0 14 Height = 483 15 Top = 26 16 Width = 323 17 Align = alLeft 18 BevelOuter = bvNone 19 ClientHeight = 483 20 ClientWidth = 323 21 TabOrder = 0 22 object Panel1: TPanel 23 Left = 0 24 Height = 242 25 Top = 0 26 Width = 323 27 Align = alTop 28 BevelOuter = bvNone 29 ClientHeight = 242 30 ClientWidth = 323 31 TabOrder = 0 32 object MemoInput: TMemo 33 Left = 8 34 Height = 210 35 Top = 22 36 Width = 309 37 Anchors = [akTop, akLeft, akRight, akBottom] 38 Font.Height = -12 39 Font.Name = 'Courier New' 40 OnKeyPress = MemoInputKeyPress 41 ParentFont = False 42 ScrollBars = ssAutoBoth 43 TabOrder = 0 44 end 45 object Label1: TLabel 46 Left = 8 47 Height = 18 48 Top = 8 49 Width = 38 50 Caption = 'Input:' 51 ParentColor = False 52 end 53 end 54 object Splitter1: TSplitter 55 Cursor = crVSplit 56 Left = 0 57 Height = 5 58 Top = 242 59 Width = 323 60 Align = alTop 61 ResizeAnchor = akTop 62 end 63 object Panel2: TPanel 64 Left = 0 65 Height = 236 66 Top = 247 67 Width = 323 68 Align = alClient 69 BevelOuter = bvNone 70 ClientHeight = 236 71 ClientWidth = 323 72 TabOrder = 2 73 object Label2: TLabel 74 Left = 8 75 Height = 18 76 Top = 6 77 Width = 49 78 Caption = 'Output:' 79 ParentColor = False 80 end 81 object MemoOutput: TMemo 82 Left = 8 83 Height = 211 84 Top = 22 85 Width = 309 86 Anchors = [akTop, akLeft, akRight, akBottom] 87 Font.Height = -12 88 Font.Name = 'Courier New' 89 ParentFont = False 90 ScrollBars = ssAutoBoth 91 TabOrder = 0 92 end 93 end 10 object Label4: TLabel 11 Left = 8 12 Height = 18 13 Top = 42 14 Width = 87 15 Caption = 'Step counter:' 16 ParentColor = False 94 17 end 95 object Splitter2: TSplitter 96 Left = 323 97 Height = 483 98 Top = 26 99 Width = 5 18 object Label7: TLabel 19 Left = 8 20 Height = 18 21 Top = 62 22 Width = 45 23 Caption = 'Speed:' 24 ParentColor = False 100 25 end 101 object Panel4: TPanel 102 Left = 328 103 Height = 483 104 Top = 26 105 Width = 434 106 Align = alClient 107 BevelOuter = bvNone 108 ClientHeight = 483 109 ClientWidth = 434 110 TabOrder = 2 111 object Label3: TLabel 112 Left = 1 113 Height = 18 114 Top = 8 115 Width = 110 116 Caption = 'Program pointer:' 117 ParentColor = False 118 end 119 object LabelProgramPointer: TLabel 120 Left = 112 121 Height = 18 122 Top = 8 123 Width = 13 124 Caption = ' ' 125 ParentColor = False 126 end 127 object Label5: TLabel 128 Left = 1 129 Height = 18 130 Top = 24 131 Width = 108 132 Caption = 'Memory pointer:' 133 ParentColor = False 134 end 135 object LabelMemoryPointer: TLabel 136 Left = 112 137 Height = 18 138 Top = 24 139 Width = 13 140 Caption = ' ' 141 ParentColor = False 142 end 143 object Label4: TLabel 144 Left = 1 145 Height = 18 146 Top = 42 147 Width = 87 148 Caption = 'Step counter:' 149 ParentColor = False 150 end 151 object LabelStepCounter: TLabel 152 Left = 112 153 Height = 18 154 Top = 42 155 Width = 13 156 Caption = ' ' 157 ParentColor = False 158 end 159 object ListViewMemory: TListView 160 Left = 1 161 Height = 358 162 Top = 120 163 Width = 429 164 Anchors = [akTop, akLeft, akRight, akBottom] 165 Columns = < 166 item 167 Caption = 'Address' 168 Width = 80 169 end 170 item 171 Caption = 'Data' 172 Width = 330 173 end> 174 Font.Height = -11 175 Font.Name = 'Courier New' 176 OwnerData = True 177 ParentFont = False 178 ReadOnly = True 179 TabOrder = 0 180 ViewStyle = vsReport 181 OnData = ListViewMemoryData 182 end 183 object Label6: TLabel 184 Left = 8 185 Height = 18 186 Top = 104 187 Width = 57 188 Caption = 'Memory:' 189 ParentColor = False 190 end 191 object Label7: TLabel 192 Left = 1 193 Height = 18 194 Top = 62 195 Width = 45 196 Caption = 'Speed:' 197 ParentColor = False 198 end 199 object LabelStepSpeed: TLabel 200 Left = 112 201 Height = 18 202 Top = 62 203 Width = 13 204 Caption = ' ' 205 ParentColor = False 206 end 26 object LabelStepSpeed: TLabel 27 Left = 119 28 Height = 18 29 Top = 62 30 Width = 13 31 Caption = ' ' 32 ParentColor = False 207 33 end 208 object ToolBar1: TToolBar 209 Left = 0 210 Height = 26 211 Top = 0 212 Width = 762 213 Images = MainForm.ImageList1 214 TabOrder = 3 215 object ToolButton1: TToolButton 216 Left = 1 217 Top = 2 218 Action = MainForm.AProgramRun 219 end 220 object ToolButton2: TToolButton 221 Left = 24 222 Top = 2 223 Action = MainForm.AProgramPause 224 end 225 object ToolButton3: TToolButton 226 Left = 47 227 Top = 2 228 Action = MainForm.AProgramStop 229 end 230 object ToolButton4: TToolButton 231 Left = 139 232 Top = 2 233 Action = MainForm.AProgramRunToCursor 234 end 235 object ToolButton5: TToolButton 236 Left = 93 237 Top = 2 238 Action = MainForm.AProgramStepInto 239 end 240 object ToolButton6: TToolButton 241 Left = 116 242 Top = 2 243 Action = MainForm.AProgramStepOut 244 end 245 object ToolButton7: TToolButton 246 Left = 70 247 Top = 2 248 Action = MainForm.AProgramStepOver 249 end 34 object LabelStepCounter: TLabel 35 Left = 119 36 Height = 18 37 Top = 42 38 Width = 13 39 Caption = ' ' 40 ParentColor = False 250 41 end 251 object Timer1: TTimer 252 Enabled = False 253 OnTimer = Timer1Timer 254 left = 495 255 top = 61 42 object LabelMemoryPointer: TLabel 43 Left = 119 44 Height = 18 45 Top = 24 46 Width = 13 47 Caption = ' ' 48 ParentColor = False 49 end 50 object LabelProgramPointer: TLabel 51 Left = 119 52 Height = 18 53 Top = 8 54 Width = 13 55 Caption = ' ' 56 ParentColor = False 57 end 58 object Label3: TLabel 59 Left = 8 60 Height = 18 61 Top = 8 62 Width = 110 63 Caption = 'Program pointer:' 64 ParentColor = False 65 end 66 object Label5: TLabel 67 Left = 8 68 Height = 18 69 Top = 24 70 Width = 108 71 Caption = 'Memory pointer:' 72 ParentColor = False 256 73 end 257 74 end -
trunk/Forms/UFormCPU.lrt
r37 r38 1 TINTERPRETERFORM.CAPTION=Interpretter 2 TINTERPRETERFORM.LABEL1.CAPTION=Input: 3 TINTERPRETERFORM.LABEL2.CAPTION=Output: 4 TINTERPRETERFORM.LABEL3.CAPTION=Program pointer: 5 TINTERPRETERFORM.LABELPROGRAMPOINTER.CAPTION= 6 TINTERPRETERFORM.LABEL5.CAPTION=Memory pointer: 7 TINTERPRETERFORM.LABELMEMORYPOINTER.CAPTION= 8 TINTERPRETERFORM.LABEL4.CAPTION=Step counter: 9 TINTERPRETERFORM.LABELSTEPCOUNTER.CAPTION= 10 TINTERPRETERFORM.LISTVIEWMEMORY.COLUMNS[0].CAPTION=Address 11 TINTERPRETERFORM.LISTVIEWMEMORY.COLUMNS[1].CAPTION=Data 12 TINTERPRETERFORM.LABEL6.CAPTION=Memory: 13 TINTERPRETERFORM.LABEL7.CAPTION=Speed: 14 TINTERPRETERFORM.LABELSTEPSPEED.CAPTION= 1 TFORMCPU.CAPTION=Interpretter 2 TFORMCPU.LABEL4.CAPTION=Step counter: 3 TFORMCPU.LABEL7.CAPTION=Speed: 4 TFORMCPU.LABELSTEPSPEED.CAPTION= 5 TFORMCPU.LABELSTEPCOUNTER.CAPTION= 6 TFORMCPU.LABELMEMORYPOINTER.CAPTION= 7 TFORMCPU.LABELPROGRAMPOINTER.CAPTION= 8 TFORMCPU.LABEL3.CAPTION=Program pointer: 9 TFORMCPU.LABEL5.CAPTION=Memory pointer: -
trunk/Forms/UFormCPU.pas
r37 r38 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ExtCtrls, ComCtrls; 10 11 const 12 RowSize = 16; 9 ExtCtrls; 13 10 14 11 type 15 12 16 { T InterpreterForm}13 { TFormCPU } 17 14 18 TInterpreterForm = class(TForm) 19 Label1: TLabel; 20 Label2: TLabel; 15 TFormCPU = class(TForm) 21 16 Label3: TLabel; 22 17 Label4: TLabel; 23 Label 6: TLabel;18 Label5: TLabel; 24 19 Label7: TLabel; 20 LabelMemoryPointer: TLabel; 21 LabelProgramPointer: TLabel; 25 22 LabelStepCounter: TLabel; 26 LabelProgramPointer: TLabel;27 Label5: TLabel;28 LabelMemoryPointer: TLabel;29 23 LabelStepSpeed: TLabel; 30 ListViewMemory: TListView;31 MemoInput: TMemo;32 MemoOutput: TMemo;33 Panel1: TPanel;34 Panel2: TPanel;35 Panel3: TPanel;36 Panel4: TPanel;37 Splitter1: TSplitter;38 Splitter2: TSplitter;39 Timer1: TTimer;40 ToolBar1: TToolBar;41 ToolButton1: TToolButton;42 ToolButton2: TToolButton;43 ToolButton3: TToolButton;44 ToolButton4: TToolButton;45 ToolButton5: TToolButton;46 ToolButton6: TToolButton;47 ToolButton7: TToolButton;48 procedure FormHide(Sender: TObject);49 procedure FormShow(Sender: TObject);50 procedure ListViewMemoryData(Sender: TObject; Item: TListItem);51 procedure MemoInputKeyPress(Sender: TObject; var Key: char);52 procedure Timer1Timer(Sender: TObject);53 24 private 54 25 public 55 26 LastStepCounter: Integer; 56 procedure RefreshListViewMemory; 57 procedure UpadateInterface; 27 procedure Reload; 58 28 end; 59 29 60 30 var 61 InterpreterForm: TInterpreterForm;31 FormCPU: TFormCPU; 62 32 63 33 implementation … … 71 41 SStepsPerSecond = ' steps/s'; 72 42 73 { T InterpreterForm}43 { TFormCPU } 74 44 75 procedure T InterpreterForm.Timer1Timer(Sender: TObject);45 procedure TFormCPU.Reload; 76 46 begin 77 47 if MainForm.CurrentTarget is TTargetInterpretter then … … 82 52 LabelStepSpeed.Caption := IntToStr(StepCount - LastStepCounter) + SStepsPerSecond; 83 53 LastStepCounter := StepCount; 84 MemoOutput.Lines.Text := Output;85 54 end; 86 RefreshListViewMemory;87 end;88 89 procedure TInterpreterForm.RefreshListViewMemory;90 begin91 if MainForm.CurrentTarget is TTargetInterpretter then92 with TTargetInterpretter(MainForm.CurrentTarget) do begin93 ListViewMemory.Items.Count := Trunc(Length(Memory) / RowSize);94 ListViewMemory.Refresh;95 end;96 end;97 98 procedure TInterpreterForm.UpadateInterface;99 begin100 MainForm.UpdateInterface;101 end;102 103 procedure TInterpreterForm.ListViewMemoryData(Sender: TObject; Item: TListItem);104 var105 Row: string;106 I: Integer;107 begin108 if MainForm.CurrentTarget is TTargetInterpretter then109 with TTargetInterpretter(MainForm.CurrentTarget) do110 if (Item.Index >= 0) and (Item.Index < Trunc(Length(Memory) / RowSize)) then begin111 Item.Caption := IntToHex(Item.Index * RowSize, 8);112 Row := '';113 for I := 0 to RowSize - 1 do114 Row := Row + ' ' + IntToHex(Memory[Item.Index * RowSize + I], 2);115 Item.SubItems.Add(Row);116 end;117 end;118 119 procedure TInterpreterForm.FormHide(Sender: TObject);120 begin121 Timer1.Enabled := False;122 end;123 124 procedure TInterpreterForm.FormShow(Sender: TObject);125 begin126 Timer1.Enabled := True;127 end;128 129 procedure TInterpreterForm.MemoInputKeyPress(Sender: TObject; var Key: char);130 begin131 if MainForm.CurrentTarget is TTargetInterpretter then132 with TTargetInterpretter(MainForm.CurrentTarget) do133 Input := Input + Key;134 55 end; 135 56 -
trunk/Forms/UFormInput.lfm
r37 r38 1 object Form 2: TForm21 object FormInput: TFormInput 2 2 Left = 256 3 3 Height = 240 4 4 Top = 32 5 5 Width = 320 6 Caption = 'Form2' 6 Caption = 'FormInput' 7 ClientHeight = 240 8 ClientWidth = 320 7 9 LCLVersion = '0.9.31' 10 object MemoInput: TMemo 11 Left = 8 12 Height = 210 13 Top = 22 14 Width = 309 15 Anchors = [akTop, akLeft, akRight, akBottom] 16 Font.Height = -12 17 Font.Name = 'Courier New' 18 OnKeyPress = MemoInputKeyPress 19 ParentFont = False 20 ScrollBars = ssAutoBoth 21 TabOrder = 0 22 end 23 object Label1: TLabel 24 Left = 8 25 Height = 18 26 Top = 8 27 Width = 38 28 Caption = 'Input:' 29 ParentColor = False 30 end 8 31 end -
trunk/Forms/UFormInput.lrt
r37 r38 1 TFORM2.CAPTION=Form2 1 TFORMINPUT.CAPTION=FormInput 2 TFORMINPUT.LABEL1.CAPTION=Input: -
trunk/Forms/UFormInput.pas
r37 r38 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs ;8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; 9 9 10 10 type 11 TForm2 = class(TForm) 11 12 { TFormInput } 13 14 TFormInput = class(TForm) 15 Label1: TLabel; 16 MemoInput: TMemo; 17 procedure MemoInputKeyPress(Sender: TObject; var Key: char); 12 18 private 13 19 { private declarations } … … 17 23 18 24 var 19 Form2: TForm2; 25 FormInput: TFormInput; 26 20 27 21 28 implementation … … 23 30 {$R *.lfm} 24 31 32 uses 33 UFormMain, UTargetInterpretter; 34 35 procedure TFormInput.MemoInputKeyPress(Sender: TObject; var Key: char); 36 begin 37 if MainForm.CurrentTarget is TTargetInterpretter then 38 with TTargetInterpretter(MainForm.CurrentTarget) do 39 Input := Input + Key; 40 end; 41 42 25 43 end. 26 44 -
trunk/Forms/UFormMain.lfm
r37 r38 1 1 object MainForm: TMainForm 2 Left = 2 362 Left = 208 3 3 Height = 609 4 Top = 744 Top = 134 5 5 Width = 790 6 6 Caption = 'LazFuck' … … 14 14 LCLVersion = '0.9.31' 15 15 WindowState = wsMaximized 16 object StatusBar 1: TStatusBar16 object StatusBarMain: TStatusBar 17 17 Left = 0 18 18 Height = 21 … … 31 31 SimplePanel = False 32 32 end 33 object ToolBar 1: TToolBar33 object ToolBarMain: TToolBar 34 34 Left = 0 35 35 Height = 26 … … 117 117 end 118 118 end 119 object PageControl 2: TPageControl120 Left = 590119 object PageControlRight: TPageControl 120 Left = 397 121 121 Height = 537 122 122 Top = 26 123 Width = 200124 ActivePage = TabSheet 2123 Width = 393 124 ActivePage = TabSheetDebug 125 125 Align = alRight 126 126 TabIndex = 0 127 127 TabOrder = 2 128 128 TabPosition = tpRight 129 object TabSheet 2: TTabSheet129 object TabSheetDebug: TTabSheet 130 130 Caption = 'Debug' 131 ClientHeight = 535 132 ClientWidth = 341 133 object PanelInput: TPanel 134 Left = 0 135 Height = 133 136 Top = 0 137 Width = 341 138 Align = alTop 139 BevelOuter = bvNone 140 TabOrder = 0 141 end 142 object Splitter3: TSplitter 143 Cursor = crVSplit 144 Left = 0 145 Height = 5 146 Top = 133 147 Width = 341 148 Align = alTop 149 ResizeAnchor = akTop 150 end 151 object PanelOutput: TPanel 152 Left = 0 153 Height = 123 154 Top = 138 155 Width = 341 156 Align = alTop 157 BevelOuter = bvNone 158 TabOrder = 2 159 end 160 object Splitter4: TSplitter 161 Cursor = crVSplit 162 Left = 0 163 Height = 5 164 Top = 261 165 Width = 341 166 Align = alTop 167 ResizeAnchor = akTop 168 end 169 object PanelCPU: TPanel 170 Left = 0 171 Height = 139 172 Top = 266 173 Width = 341 174 Align = alTop 175 BevelOuter = bvNone 176 TabOrder = 4 177 end 178 object Splitter5: TSplitter 179 Cursor = crVSplit 180 Left = 0 181 Height = 5 182 Top = 405 183 Width = 341 184 Align = alTop 185 ResizeAnchor = akTop 186 end 187 object PanelMemory: TPanel 188 Left = 0 189 Height = 125 190 Top = 410 191 Width = 341 192 Align = alClient 193 BevelOuter = bvNone 194 TabOrder = 6 195 end 131 196 end 132 197 end 133 198 object Splitter1: TSplitter 134 Left = 585199 Left = 392 135 200 Height = 537 136 201 Top = 26 … … 139 204 ResizeAnchor = akRight 140 205 end 141 object Panel 1: TPanel206 object PanelLeft: TPanel 142 207 Left = 0 143 208 Height = 537 144 209 Top = 26 145 Width = 585210 Width = 392 146 211 Align = alClient 147 212 BevelOuter = bvNone 148 213 ClientHeight = 537 149 ClientWidth = 585214 ClientWidth = 392 150 215 TabOrder = 4 151 object PageControl 1: TPageControl216 object PageControlMain: TPageControl 152 217 Left = 0 153 218 Height = 414 154 219 Top = 0 155 Width = 585220 Width = 392 156 221 ActivePage = TabSheetSource 157 222 Align = alClient … … 162 227 Caption = 'Source code' 163 228 ClientHeight = 387 164 ClientWidth = 583229 ClientWidth = 390 165 230 object MemoSource: TMemo 166 231 Left = 0 167 232 Height = 387 168 233 Top = 0 169 Width = 583234 Width = 390 170 235 Align = alClient 171 236 Font.Height = -12 … … 185 250 Caption = 'Target code' 186 251 ClientHeight = 387 187 ClientWidth = 583252 ClientWidth = 390 188 253 object MemoTarget: TMemo 189 254 Left = 0 … … 199 264 end 200 265 end 201 object PageControl 3: TPageControl266 object PageControlBottom: TPageControl 202 267 Left = 0 203 268 Height = 118 204 269 Top = 419 205 Width = 585206 ActivePage = TabSheet 1270 Width = 392 271 ActivePage = TabSheetMessages 207 272 Align = alBottom 208 273 TabIndex = 0 209 274 TabOrder = 1 210 275 TabPosition = tpBottom 211 object TabSheet 1: TTabSheet276 object TabSheetMessages: TTabSheet 212 277 Caption = 'Messages' 213 ClientHeight = 91214 ClientWidth = 583215 object MemoMessages: TMemo216 Left = 0217 Height = 91218 Top = 0219 Width = 583220 Align = alClient221 TabOrder = 0222 end223 278 end 224 279 end … … 228 283 Height = 5 229 284 Top = 414 230 Width = 585285 Width = 392 231 286 Align = alBottom 232 287 ResizeAnchor = akBottom … … 235 290 object MainMenu1: TMainMenu 236 291 Images = ImageList1 237 left = 356238 top = 1 52292 left = 216 293 top = 128 239 294 object MenuItem1: TMenuItem 240 295 Caption = 'Project' … … 948 1003 object ActionList1: TActionList 949 1004 Images = ImageList1 950 left = 448951 top = 961005 left = 216 1006 top = 240 952 1007 object AProjectOpen: TAction 953 1008 Category = 'Project' … … 1107 1162 end 1108 1163 object ImageList1: TImageList 1109 left = 3561110 top = 961164 left = 216 1165 top = 72 1111 1166 Bitmap = { 1112 1167 4C69120000001000000010000000000000000000000000000000000000000000 … … 1692 1747 DefaultExt = '.b' 1693 1748 Filter = 'BrainFuck (*.b)|*.b|Any file (*.*)|*.*' 1694 left = 1921695 top = 1 571749 left = 56 1750 top = 184 1696 1751 end 1697 1752 object SaveDialog1: TSaveDialog 1698 1753 DefaultExt = '.b' 1699 1754 Filter = 'BrainFuck (*.b)|*.b|Any file (*.*)|*.*' 1700 left = 1921701 top = 2 081755 left = 56 1756 top = 240 1702 1757 end 1703 1758 object CoolTranslator1: TCoolTranslator 1704 1759 POFilesFolder = 'Languages' 1705 left = 3621706 top = 2161760 left = 216 1761 top = 184 1707 1762 end 1708 1763 object PopupMenuSource: TPopupMenu 1709 1764 Images = ImageList1 1710 left = 1921711 top = 1 041765 left = 56 1766 top = 128 1712 1767 object MenuItem23: TMenuItem 1713 1768 Action = ABreakpointToggle … … 1799 1854 end 1800 1855 object PopupMenuTarget: TPopupMenu 1801 left = 921802 top = 1361856 left = 56 1857 top = 72 1803 1858 object MenuItem20: TMenuItem 1804 1859 Action = AShowSourcePosition 1805 1860 end 1806 1861 end 1862 object TimerRefresh: TTimer 1863 OnTimer = TimerRefreshTimer 1864 left = 56 1865 top = 296 1866 end 1807 1867 end -
trunk/Forms/UFormMain.lrt
r37 r38 1 1 TMAINFORM.CAPTION=LazFuck 2 TMAINFORM.TABSHEET 2.CAPTION=Debug2 TMAINFORM.TABSHEETDEBUG.CAPTION=Debug 3 3 TMAINFORM.TABSHEETSOURCE.CAPTION=Source code 4 4 TMAINFORM.TABSHEETTARGET.CAPTION=Target code 5 TMAINFORM.TABSHEET 1.CAPTION=Messages5 TMAINFORM.TABSHEETMESSAGES.CAPTION=Messages 6 6 TMAINFORM.MENUITEM1.CAPTION=Project 7 7 TMAINFORM.MENUITEMOPENRECENT.CAPTION=Open recent -
trunk/Forms/UFormMain.pas
r37 r38 49 49 ImageList1: TImageList; 50 50 MainMenu1: TMainMenu; 51 MemoMessages: TMemo;52 51 MemoSource: TMemo; 53 52 MemoTarget: TMemo; … … 91 90 MenuItem9: TMenuItem; 92 91 OpenDialog1: TOpenDialog; 93 PageControl1: TPageControl; 94 PageControl2: TPageControl; 95 PageControl3: TPageControl; 96 Panel1: TPanel; 92 PageControlMain: TPageControl; 93 PageControlRight: TPageControl; 94 PageControlBottom: TPageControl; 95 PanelLeft: TPanel; 96 PanelMemory: TPanel; 97 PanelCPU: TPanel; 98 PanelOutput: TPanel; 99 PanelInput: TPanel; 97 100 PopupMenuTarget: TPopupMenu; 98 101 PopupMenuSource: TPopupMenu; … … 100 103 Splitter1: TSplitter; 101 104 Splitter2: TSplitter; 102 StatusBar1: TStatusBar; 103 TabSheet1: TTabSheet; 104 TabSheet2: TTabSheet; 105 Splitter3: TSplitter; 106 Splitter4: TSplitter; 107 Splitter5: TSplitter; 108 StatusBarMain: TStatusBar; 109 TabSheetMessages: TTabSheet; 110 TabSheetDebug: TTabSheet; 105 111 TabSheetSource: TTabSheet; 106 112 TabSheetTarget: TTabSheet; 107 ToolBar1: TToolBar; 113 TimerRefresh: TTimer; 114 ToolBarMain: TToolBar; 108 115 ToolButton1: TToolButton; 109 116 ToolButton10: TToolButton; … … 157 164 procedure MemoSourceMouseDown(Sender: TObject; Button: TMouseButton; 158 165 Shift: TShiftState; X, Y: Integer); 166 procedure TimerRefreshTimer(Sender: TObject); 159 167 private 160 168 FCurrentTarget: TTarget; … … 165 173 procedure SetCurrentTarget(AValue: TTarget); 166 174 procedure UpdateToolBarHints; 175 procedure DockInit; 167 176 public 168 177 Modified: Boolean; … … 187 196 188 197 uses 189 UFormCPU, UApplicationInfo, UFormOptions, 190 UTargetDelphi, UTargetPHP, UTargetC, UFormTargets; 198 UFormCPU, UApplicationInfo, UFormOptions, UFormMessages, 199 UTargetDelphi, UTargetPHP, UTargetC, UFormTargets, UFormOutput, UFormInput, 200 UFormMemory; 191 201 192 202 resourcestring … … 199 209 procedure TMainForm.FormShow(Sender: TObject); 200 210 begin 201 PageControl 1.TabIndex := 0;211 PageControlMain.TabIndex := 0; 202 212 if OpenProjectOnStart and (LastOpenedList.Count > 0) then 203 213 ProjectOpen(LastOpenedList[0]) … … 206 216 UpdateToolBarHints; 207 217 UpdateTargetList; 218 DockInit; 208 219 end; 209 220 … … 234 245 begin 235 246 UpdateStatusBar; 247 end; 248 249 procedure TMainForm.TimerRefreshTimer(Sender: TObject); 250 begin 251 FormCPU.Reload; 252 FormOutput.Reload; 253 FormMemory.Reload; 236 254 end; 237 255 … … 283 301 I: Integer; 284 302 begin 285 for I := 0 to ToolBar1.ControlCount - 1 do 286 ToolBar1.Controls[I].Hint := ToolBar1.Controls[I].Caption; 303 for I := 0 to ToolBarMain.ControlCount - 1 do 304 ToolBarMain.Controls[I].Hint := ToolBarMain.Controls[I].Caption; 305 end; 306 307 procedure TMainForm.DockInit; 308 begin 309 FormCPU.ManualDock(PanelCPU, nil, alClient); 310 FormCPU.Align := alClient; 311 FormCPU.Show; 312 FormInput.ManualDock(PanelInput, nil, alClient); 313 FormInput.Align := alClient; 314 FormInput.Show; 315 FormOutput.ManualDock(PanelOutput, nil, alClient); 316 FormOutput.Align := alClient; 317 FormOutput.Show; 318 FormMemory.ManualDock(PanelMemory, nil, alClient); 319 FormMemory.Align := alClient; 320 FormMemory.Show; 321 FormMesssages.ManualDock(TabSheetMessages, nil, alClient); 322 FormMesssages.Align := alClient; 323 FormMesssages.Show; 287 324 end; 288 325 … … 362 399 procedure TMainForm.UpdateStatusBar; 363 400 begin 364 StatusBar 1.Panels[0].Text := IntToStr(MemoSource.CaretPos.X) + ', ' + IntToStr(MemoSource.CaretPos.Y);401 StatusBarMain.Panels[0].Text := IntToStr(MemoSource.CaretPos.X) + ', ' + IntToStr(MemoSource.CaretPos.Y); 365 402 end; 366 403 … … 403 440 procedure TMainForm.AProgramRunExecute(Sender: TObject); 404 441 begin 405 InterpreterForm.LastStepCounter := 0;406 InterpreterForm.Show;442 FormCPU.LastStepCounter := 0; 443 FormCPU.Show; 407 444 if CurrentTarget is TTargetInterpretter then 408 TTargetInterpretter(CurrentTarget).Input := InterpreterForm.MemoInput.Lines.Text;445 TTargetInterpretter(CurrentTarget).Input := FormInput.MemoInput.Lines.Text; 409 446 if not CurrentTarget.Compiled then AProgramCompile.Execute; 410 447 CurrentTarget.Run; … … 418 455 if Assigned(DebugStep) then begin 419 456 MemoSource.SelStart := DebugStep.SourcePosition; 420 PageControl 1.TabIndex := 0;457 PageControlMain.TabIndex := 0; 421 458 end; 422 459 end; … … 429 466 if Assigned(DebugStep) then begin 430 467 MemoTarget.SelStart := DebugStep.TargetPosition; 431 PageControl 1.TabIndex := 1;468 PageControlMain.TabIndex := 1; 432 469 end; 433 470 end; … … 458 495 procedure TMainForm.AViewInterpretterExecute(Sender: TObject); 459 496 begin 460 InterpreterForm.Show;497 FormCPU.Show; 461 498 end; 462 499 … … 573 610 MemoSource.SelStart := DebugStep.SourcePosition; 574 611 MemoTarget.SelStart := DebugStep.TargetPosition; 575 if PageControl 1.TabIndex = 0 then MemoSource.SetFocus;576 if PageControl 1.TabIndex = 1 then MemoTarget.SetFocus;612 if PageControlMain.TabIndex = 0 then MemoSource.SetFocus; 613 if PageControlMain.TabIndex = 1 then MemoTarget.SetFocus; 577 614 end; 578 615 -
trunk/Forms/UFormMemory.lfm
r37 r38 1 object Form 3: TForm31 object FormMemory: TFormMemory 2 2 Left = 256 3 Height = 2 403 Height = 259 4 4 Top = 32 5 Width = 320 6 Caption = 'Form3' 5 Width = 391 6 Caption = 'FormMemory' 7 ClientHeight = 259 8 ClientWidth = 391 7 9 LCLVersion = '0.9.31' 10 object Label6: TLabel 11 Left = 8 12 Height = 18 13 Top = 8 14 Width = 57 15 Caption = 'Memory:' 16 ParentColor = False 17 end 18 object ListViewMemory: TListView 19 Left = 8 20 Height = 231 21 Top = 24 22 Width = 374 23 Anchors = [akTop, akLeft, akRight, akBottom] 24 Columns = < 25 item 26 Caption = 'Address' 27 Width = 80 28 end 29 item 30 Caption = 'Data' 31 Width = 330 32 end> 33 Font.Height = -11 34 Font.Name = 'Courier New' 35 OwnerData = True 36 ParentFont = False 37 ReadOnly = True 38 TabOrder = 0 39 ViewStyle = vsReport 40 OnData = ListViewMemoryData 41 end 8 42 end -
trunk/Forms/UFormMemory.lrt
r37 r38 1 TFORM3.CAPTION=Form3 1 TFORMMEMORY.CAPTION=FormMemory 2 TFORMMEMORY.LABEL6.CAPTION=Memory: 3 TFORMMEMORY.LISTVIEWMEMORY.COLUMNS[0].CAPTION=Address 4 TFORMMEMORY.LISTVIEWMEMORY.COLUMNS[1].CAPTION=Data -
trunk/Forms/UFormMemory.pas
r37 r38 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs; 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls; 10 11 const 12 RowSize = 16; 9 13 10 14 type 11 TForm3 = class(TForm) 15 16 { TFormMemory } 17 18 TFormMemory = class(TForm) 19 Label6: TLabel; 20 ListViewMemory: TListView; 21 procedure ListViewMemoryData(Sender: TObject; Item: TListItem); 12 22 private 13 23 { private declarations } 14 24 public 15 { public declarations }25 procedure Reload; 16 26 end; 17 27 18 28 var 19 Form 3: TForm3;29 FormMemory: TFormMemory; 20 30 21 31 implementation … … 23 33 {$R *.lfm} 24 34 35 uses 36 UFormMain, UTargetInterpretter; 37 38 { TFormMemory } 39 40 procedure TFormMemory.Reload; 41 begin 42 if MainForm.CurrentTarget is TTargetInterpretter then 43 with TTargetInterpretter(MainForm.CurrentTarget) do begin 44 ListViewMemory.Items.Count := Trunc(Length(Memory) / RowSize); 45 ListViewMemory.Refresh; 46 end; 47 end; 48 49 procedure TFormMemory.ListViewMemoryData(Sender: TObject; Item: TListItem); 50 var 51 Row: string; 52 I: Integer; 53 begin 54 if MainForm.CurrentTarget is TTargetInterpretter then 55 with TTargetInterpretter(MainForm.CurrentTarget) do 56 if (Item.Index >= 0) and (Item.Index < Trunc(Length(Memory) / RowSize)) then begin 57 Item.Caption := IntToHex(Item.Index * RowSize, 8); 58 Row := ''; 59 for I := 0 to RowSize - 1 do 60 Row := Row + ' ' + IntToHex(Memory[Item.Index * RowSize + I], 2); 61 Item.SubItems.Add(Row); 62 end; 63 end; 64 65 25 66 end. 26 67 -
trunk/Forms/UFormOutput.lfm
r37 r38 1 object Form 1: TForm11 object FormOutput: TFormOutput 2 2 Left = 256 3 3 Height = 240 4 4 Top = 32 5 5 Width = 320 6 Caption = 'Form1' 6 Caption = 'FormOutput' 7 ClientHeight = 240 8 ClientWidth = 320 7 9 LCLVersion = '0.9.31' 10 object Label2: TLabel 11 Left = 8 12 Height = 18 13 Top = 6 14 Width = 49 15 Caption = 'Output:' 16 ParentColor = False 17 end 18 object MemoOutput: TMemo 19 Left = 8 20 Height = 211 21 Top = 22 22 Width = 309 23 Anchors = [akTop, akLeft, akRight, akBottom] 24 Font.Height = -12 25 Font.Name = 'Courier New' 26 ParentFont = False 27 ScrollBars = ssAutoBoth 28 TabOrder = 0 29 end 8 30 end -
trunk/Forms/UFormOutput.lrt
r37 r38 1 TFORM1.CAPTION=Form1 1 TFORMOUTPUT.CAPTION=FormOutput 2 TFORMOUTPUT.LABEL2.CAPTION=Output: -
trunk/Forms/UFormOutput.pas
r37 r38 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs ;8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; 9 9 10 10 type 11 TForm1 = class(TForm) 11 12 { TFormOutput } 13 14 TFormOutput = class(TForm) 15 Label2: TLabel; 16 MemoOutput: TMemo; 12 17 private 13 18 { private declarations } 14 19 public 15 { public declarations }20 procedure Reload; 16 21 end; 17 22 18 23 var 19 Form 1: TForm1;24 FormOutput: TFormOutput; 20 25 21 26 implementation … … 23 28 {$R *.lfm} 24 29 30 uses 31 UFormMain, UTargetInterpretter; 32 33 { TFormOutput } 34 35 procedure TFormOutput.Reload; 36 begin 37 if MainForm.CurrentTarget is TTargetInterpretter then 38 with TTargetInterpretter(MainForm.CurrentTarget) do 39 MemoOutput.Lines.Text := Output; 40 end; 41 25 42 end. 26 43 -
trunk/Languages/LazFuckIDE.cs.po
r37 r38 39 39 msgstr "Cesta vykonánÃ" 40 40 41 #: tformcpu.caption 42 msgctxt "tformcpu.caption" 43 msgid "Interpretter" 44 msgstr "Interpreter" 45 46 #: tformcpu.label3.caption 47 msgctxt "tformcpu.label3.caption" 48 msgid "Program pointer:" 49 msgstr "ÄÃtaÄ programu:" 50 51 #: tformcpu.label4.caption 52 msgctxt "tformcpu.label4.caption" 53 msgid "Step counter:" 54 msgstr "ÄÃtaÄ kroků:" 55 56 #: tformcpu.label5.caption 57 msgctxt "tformcpu.label5.caption" 58 msgid "Memory pointer:" 59 msgstr "Ukazatel pamÄti:" 60 61 #: tformcpu.label7.caption 62 msgctxt "tformcpu.label7.caption" 63 msgid "Speed:" 64 msgstr "Rychlost:" 65 66 #: tformcpu.labelmemorypointer.caption 67 msgctxt "tformcpu.labelmemorypointer.caption" 68 msgid " " 69 msgstr " " 70 71 #: tformcpu.labelprogrampointer.caption 72 msgctxt "tformcpu.labelprogrampointer.caption" 73 msgid " " 74 msgstr " " 75 76 #: tformcpu.labelstepcounter.caption 77 msgctxt "tformcpu.labelstepcounter.caption" 78 msgid " " 79 msgstr " " 80 81 #: tformcpu.labelstepspeed.caption 82 msgctxt "tformcpu.labelstepspeed.caption" 83 msgid " " 84 msgstr " " 85 86 #: tforminput.caption 87 msgid "FormInput" 88 msgstr "" 89 90 #: tforminput.label1.caption 91 msgctxt "tforminput.label1.caption" 92 msgid "Input:" 93 msgstr "Vstup:" 94 95 #: tformmemory.caption 96 msgid "FormMemory" 97 msgstr "" 98 99 #: tformmemory.label6.caption 100 msgctxt "tformmemory.label6.caption" 101 msgid "Memory:" 102 msgstr "PamÄÅ¥" 103 104 #: tformmemory.listviewmemory.columns[0].caption 105 msgctxt "tformmemory.listviewmemory.columns[0].caption" 106 msgid "Address" 107 msgstr "Adresa" 108 109 #: tformmemory.listviewmemory.columns[1].caption 110 msgctxt "tformmemory.listviewmemory.columns[1].caption" 111 msgid "Data" 112 msgstr "Data" 113 114 #: tformmesssages.caption 115 msgid "FormMesssages" 116 msgstr "" 117 118 #: tformoutput.caption 119 msgid "FormOutput" 120 msgstr "" 121 122 #: tformoutput.label2.caption 123 msgctxt "tformoutput.label2.caption" 124 msgid "Output:" 125 msgstr "VÃœstup:" 126 41 127 #: tinterpreterform.caption 42 128 #| msgid "Runtime" … … 46 132 47 133 #: tinterpreterform.label1.caption 134 msgctxt "tinterpreterform.label1.caption" 48 135 msgid "Input:" 49 136 msgstr "Vstup:" 50 137 51 138 #: tinterpreterform.label2.caption 139 msgctxt "tinterpreterform.label2.caption" 52 140 msgid "Output:" 53 141 msgstr "VÃœstup:" 54 142 55 143 #: tinterpreterform.label3.caption 144 msgctxt "tinterpreterform.label3.caption" 56 145 msgid "Program pointer:" 57 146 msgstr "ÄÃtaÄ programu:" 58 147 59 148 #: tinterpreterform.label4.caption 149 msgctxt "tinterpreterform.label4.caption" 60 150 msgid "Step counter:" 61 151 msgstr "ÄÃtaÄ kroků:" 62 152 63 153 #: tinterpreterform.label5.caption 154 msgctxt "tinterpreterform.label5.caption" 64 155 msgid "Memory pointer:" 65 156 msgstr "Ukazatel pamÄti:" 66 157 67 158 #: tinterpreterform.label6.caption 159 msgctxt "tinterpreterform.label6.caption" 68 160 msgid "Memory:" 69 161 msgstr "PamÄÅ¥" 70 162 71 163 #: tinterpreterform.label7.caption 164 msgctxt "tinterpreterform.label7.caption" 72 165 msgid "Speed:" 73 166 msgstr "Rychlost:" … … 94 187 95 188 #: tinterpreterform.listviewmemory.columns[0].caption 189 msgctxt "tinterpreterform.listviewmemory.columns[0].caption" 96 190 msgid "Address" 97 191 msgstr "Adresa" 98 192 99 193 #: tinterpreterform.listviewmemory.columns[1].caption 194 msgctxt "tinterpreterform.listviewmemory.columns[1].caption" 100 195 msgid "Data" 101 196 msgstr "Data" … … 258 353 msgstr "CÃl" 259 354 260 #: tmainform.tabsheet1.caption 355 #: tmainform.tabsheetdebug.caption 356 msgctxt "tmainform.tabsheetdebug.caption" 357 msgid "Debug" 358 msgstr "" 359 360 #: tmainform.tabsheetmessages.caption 361 msgctxt "tmainform.tabsheetmessages.caption" 261 362 msgid "Messages" 262 msgstr ""263 264 #: tmainform.tabsheet2.caption265 msgid "Debug"266 363 msgstr "" 267 364 -
trunk/Languages/LazFuckIDE.po
r37 r38 31 31 msgstr "" 32 32 33 #: tformcpu.caption 34 msgctxt "TFORMCPU.CAPTION" 35 msgid "Interpretter" 36 msgstr "" 37 38 #: tformcpu.label3.caption 39 msgctxt "TFORMCPU.LABEL3.CAPTION" 40 msgid "Program pointer:" 41 msgstr "" 42 43 #: tformcpu.label4.caption 44 msgctxt "TFORMCPU.LABEL4.CAPTION" 45 msgid "Step counter:" 46 msgstr "" 47 48 #: tformcpu.label5.caption 49 msgctxt "TFORMCPU.LABEL5.CAPTION" 50 msgid "Memory pointer:" 51 msgstr "" 52 53 #: tformcpu.label7.caption 54 msgctxt "TFORMCPU.LABEL7.CAPTION" 55 msgid "Speed:" 56 msgstr "" 57 58 #: tformcpu.labelmemorypointer.caption 59 msgctxt "TFORMCPU.LABELMEMORYPOINTER.CAPTION" 60 msgid " " 61 msgstr "" 62 63 #: tformcpu.labelprogrampointer.caption 64 msgctxt "TFORMCPU.LABELPROGRAMPOINTER.CAPTION" 65 msgid " " 66 msgstr "" 67 68 #: tformcpu.labelstepcounter.caption 69 msgctxt "TFORMCPU.LABELSTEPCOUNTER.CAPTION" 70 msgid " " 71 msgstr "" 72 73 #: tformcpu.labelstepspeed.caption 74 msgctxt "TFORMCPU.LABELSTEPSPEED.CAPTION" 75 msgid " " 76 msgstr "" 77 78 #: tforminput.caption 79 msgid "FormInput" 80 msgstr "" 81 82 #: tforminput.label1.caption 83 msgctxt "TFORMINPUT.LABEL1.CAPTION" 84 msgid "Input:" 85 msgstr "" 86 87 #: tformmemory.caption 88 msgid "FormMemory" 89 msgstr "" 90 91 #: tformmemory.label6.caption 92 msgctxt "TFORMMEMORY.LABEL6.CAPTION" 93 msgid "Memory:" 94 msgstr "" 95 96 #: tformmemory.listviewmemory.columns[0].caption 97 msgctxt "TFORMMEMORY.LISTVIEWMEMORY.COLUMNS[0].CAPTION" 98 msgid "Address" 99 msgstr "" 100 101 #: tformmemory.listviewmemory.columns[1].caption 102 msgctxt "TFORMMEMORY.LISTVIEWMEMORY.COLUMNS[1].CAPTION" 103 msgid "Data" 104 msgstr "" 105 106 #: tformmesssages.caption 107 msgid "FormMesssages" 108 msgstr "" 109 110 #: tformoutput.caption 111 msgid "FormOutput" 112 msgstr "" 113 114 #: tformoutput.label2.caption 115 msgctxt "TFORMOUTPUT.LABEL2.CAPTION" 116 msgid "Output:" 117 msgstr "" 118 33 119 #: tinterpreterform.caption 34 120 msgctxt "tinterpreterform.caption" … … 37 123 38 124 #: tinterpreterform.label1.caption 125 msgctxt "tinterpreterform.label1.caption" 39 126 msgid "Input:" 40 127 msgstr "" 41 128 42 129 #: tinterpreterform.label2.caption 130 msgctxt "tinterpreterform.label2.caption" 43 131 msgid "Output:" 44 132 msgstr "" 45 133 46 134 #: tinterpreterform.label3.caption 135 msgctxt "tinterpreterform.label3.caption" 47 136 msgid "Program pointer:" 48 137 msgstr "" 49 138 50 139 #: tinterpreterform.label4.caption 140 msgctxt "tinterpreterform.label4.caption" 51 141 msgid "Step counter:" 52 142 msgstr "" 53 143 54 144 #: tinterpreterform.label5.caption 145 msgctxt "tinterpreterform.label5.caption" 55 146 msgid "Memory pointer:" 56 147 msgstr "" 57 148 58 149 #: tinterpreterform.label6.caption 150 msgctxt "tinterpreterform.label6.caption" 59 151 msgid "Memory:" 60 152 msgstr "" 61 153 62 154 #: tinterpreterform.label7.caption 155 msgctxt "tinterpreterform.label7.caption" 63 156 msgid "Speed:" 64 157 msgstr "" … … 85 178 86 179 #: tinterpreterform.listviewmemory.columns[0].caption 180 msgctxt "tinterpreterform.listviewmemory.columns[0].caption" 87 181 msgid "Address" 88 182 msgstr "" 89 183 90 184 #: tinterpreterform.listviewmemory.columns[1].caption 185 msgctxt "tinterpreterform.listviewmemory.columns[1].caption" 91 186 msgid "Data" 92 187 msgstr "" … … 249 344 msgstr "" 250 345 251 #: tmainform.tabsheet1.caption 346 #: tmainform.tabsheetdebug.caption 347 msgctxt "TMAINFORM.TABSHEETDEBUG.CAPTION" 348 msgid "Debug" 349 msgstr "" 350 351 #: tmainform.tabsheetmessages.caption 352 msgctxt "TMAINFORM.TABSHEETMESSAGES.CAPTION" 252 353 msgid "Messages" 253 msgstr ""254 255 #: tmainform.tabsheet2.caption256 msgid "Debug"257 354 msgstr "" 258 355 -
trunk/LazFuckIDE.lpi
r37 r38 90 90 </Item5> 91 91 </RequiredPackages> 92 <Units Count="1 4">92 <Units Count="15"> 93 93 <Unit0> 94 94 <Filename Value="LazFuckIDE.lpr"/> … … 120 120 <Filename Value="Forms\UFormCPU.pas"/> 121 121 <IsPartOfProject Value="True"/> 122 <ComponentName Value=" InterpreterForm"/>122 <ComponentName Value="FormCPU"/> 123 123 <HasResources Value="True"/> 124 124 <ResourceBaseClass Value="Form"/> … … 160 160 <Filename Value="Forms\UFormOutput.pas"/> 161 161 <IsPartOfProject Value="True"/> 162 <ComponentName Value="Form 1"/>162 <ComponentName Value="FormOutput"/> 163 163 <ResourceBaseClass Value="Form"/> 164 164 <UnitName Value="UFormOutput"/> … … 167 167 <Filename Value="Forms\UFormInput.pas"/> 168 168 <IsPartOfProject Value="True"/> 169 <ComponentName Value="Form 2"/>169 <ComponentName Value="FormInput"/> 170 170 <ResourceBaseClass Value="Form"/> 171 171 <UnitName Value="UFormInput"/> … … 174 174 <Filename Value="Forms\UFormMemory.pas"/> 175 175 <IsPartOfProject Value="True"/> 176 <ComponentName Value="Form 3"/>176 <ComponentName Value="FormMemory"/> 177 177 <ResourceBaseClass Value="Form"/> 178 178 <UnitName Value="UFormMemory"/> 179 179 </Unit13> 180 <Unit14> 181 <Filename Value="Forms\UFormMessages.pas"/> 182 <IsPartOfProject Value="True"/> 183 <ComponentName Value="FormMesssages"/> 184 <ResourceBaseClass Value="Form"/> 185 <UnitName Value="UFormMessages"/> 186 </Unit14> 180 187 </Units> 181 188 </ProjectOptions> -
trunk/LazFuckIDE.lpr
r37 r38 9 9 {$ENDIF} 10 10 Interfaces, // this includes the LCL widgetset 11 Forms, UApplicationInfo, UTarget, UTargetC, UTargetDelphi,11 Forms, UApplicationInfo, UTarget, UTargetC, UTargetDelphi, 12 12 UTargetInterpretter, UTargetPHP, UFormCPU, UFormMain, 13 13 UFormOptions, CoolTranslator, Common, 14 TemplateGenerics, UFormTargets, UFormOutput, UFormInput, UFormMemory; 14 TemplateGenerics, UFormTargets, UFormOutput, UFormInput, UFormMemory, 15 UFormMessages; 15 16 16 17 {$R *.res} … … 21 22 Application.Initialize; 22 23 Application.CreateForm(TMainForm, MainForm); 23 Application.CreateForm(T InterpreterForm, InterpreterForm);24 Application.CreateForm(TFormCPU, FormCPU); 24 25 Application.CreateForm(TOptionsForm, OptionsForm); 25 26 Application.CreateForm(TFormCompilers, FormCompilers); 26 Application.CreateForm(TForm1, Form1); 27 Application.CreateForm(TForm2, Form2); 28 Application.CreateForm(TForm3, Form3); 27 Application.CreateForm(TFormOutput, FormOutput); 28 Application.CreateForm(TFormInput, FormInput); 29 Application.CreateForm(TFormMemory, FormMemory); 30 Application.CreateForm(TFormMesssages, FormMesssages); 29 31 Application.Run; 30 32 end.
Note:
See TracChangeset
for help on using the changeset viewer.