- Timestamp:
- Aug 1, 2012, 12:16:08 PM (12 years ago)
- Location:
- trunk/IDE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UFormMain.pas
r71 r72 330 330 331 331 UpdateMenu; 332 Core.Compiler. API.Targets.LoadToStrings(ComboBoxTarget.Items);333 ComboBoxTarget.ItemIndex := Core.Compiler. API.Targets.IndexOf(Core.Compiler.Target);332 Core.Compiler.Targets.LoadToStrings(ComboBoxTarget.Items); 333 ComboBoxTarget.ItemIndex := Core.Compiler.Targets.IndexOf(Core.Compiler.Target); 334 334 FormSourceCode.UpdateInterface; 335 335 FormTargetCode.UpdateInterface; … … 435 435 begin 436 436 with TMenuItem(Sender) do begin 437 Core.Compiler.Target := TTarget(Core.Compiler. API.Targets[MenuIndex]);437 Core.Compiler.Target := TTarget(Core.Compiler.Targets[MenuIndex]); 438 438 UpdateInterface; 439 439 end; -
trunk/IDE/Forms/UFormTargets.pas
r71 r72 62 62 procedure TFormTargets.ListView1Data(Sender: TObject; Item: TListItem); 63 63 begin 64 if (Item.Index >= 0) and (Item.Index < Core.Compiler. API.Targets.Count) then65 with TTarget(Core.Compiler. API.Targets[Item.Index]) do begin64 if (Item.Index >= 0) and (Item.Index < Core.Compiler.Targets.Count) then 65 with TTarget(Core.Compiler.Targets[Item.Index]) do begin 66 66 Item.Caption := Name; 67 Item.Data := Core.Compiler. API.Targets[Item.Index];67 Item.Data := Core.Compiler.Targets[Item.Index]; 68 68 //Item.SubItems.Add(Producer.CompilerPath); 69 69 end; … … 72 72 procedure TFormTargets.ReloadList; 73 73 begin 74 ListView1.Items.Count := Core.Compiler. API.Targets.Count;74 ListView1.Items.Count := Core.Compiler.Targets.Count; 75 75 ListView1.Refresh; 76 76 end; -
trunk/IDE/UCore.pas
r71 r72 8 8 Classes, SysUtils, FileUtil, ULastOpenedList, UProject, UApplicationInfo, 9 9 UCompiler, URegistry, Registry, UDebugLog, UCoolTranslator, UTarget, 10 USourceCode , UModularSystem;10 USourceCodePascal, UModularSystem; 11 11 12 12 type
Note:
See TracChangeset
for help on using the changeset viewer.