Ignore:
Timestamp:
Jul 26, 2012, 2:07:15 PM (12 years ago)
Author:
chronos
Message:
  • Modified: Non visual related code moved to data module Core in UCore unit.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormTargets.pas

    r50 r51  
    3131
    3232uses
    33   UFormMain, UTarget, UFormTargetOptions;
     33  UCore, UTarget, UFormTargetOptions;
    3434
    3535{ TFormCompilers }
     
    4242procedure TFormCompilers.ListView1Data(Sender: TObject; Item: TListItem);
    4343begin
    44   if (Item.Index >= 0) and (Item.Index < MainForm.Targets.Count) then
    45   with TTarget(MainForm.Targets[Item.Index]) do begin
     44  if (Item.Index >= 0) and (Item.Index < Core.Targets.Count) then
     45  with TTarget(Core.Targets[Item.Index]) do begin
    4646    Item.Caption := Name;
    47     Item.Data := MainForm.Targets[Item.Index];
     47    Item.Data := Core.Targets[Item.Index];
    4848    Item.SubItems.Add(ExecutorPath);
    4949    Item.SubItems.Add(CompilerPath);
     
    6262procedure TFormCompilers.ReloadList;
    6363begin
    64   ListView1.Items.Count := MainForm.Targets.Count;
     64  ListView1.Items.Count := Core.Targets.Count;
    6565  ListView1.Refresh;
    6666end;
Note: See TracChangeset for help on using the changeset viewer.