Ignore:
Timestamp:
Oct 22, 2010, 4:16:35 PM (14 years ago)
Author:
george
Message:
  • Added: Partial support for multiple analyzers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Transpascal/Forms/UMainForm.pas

    r78 r81  
    3030    Button1: TButton;
    3131    CheckBoxLogParsing: TCheckBox;
     32    ComboBoxAnalyzerType: TComboBox;
    3233    ComboBoxTargetSelection: TComboBox;
    3334    CoolDockClient1: TCoolDockClient;
    3435    CoolDockMaster1: TCoolDockMaster;
     36    Label1: TLabel;
     37    Label2: TLabel;
    3538    MainMenu1: TMainMenu;
    3639    MenuItem1: TMenuItem;
     
    162165      ComboBoxTargetSelection.ItemIndex :=
    163166        ReadIntegerWithDefault('ProducerType', 0);
     167      ComboBoxAnalyzerType.ItemIndex :=
     168        ReadIntegerWithDefault('AnalyzerType', 0);
    164169      CheckBoxLogParsing.Checked := ReadBoolWithDefault('LogParsing', False);
    165170    finally
     
    177182      WriteBool('ReopenLastOpenedFile', ReopenLastOpenedFile);
    178183      WriteInteger('ProducerType', ComboBoxTargetSelection.ItemIndex);
     184      WriteInteger('AnalyzerType', ComboBoxAnalyzerType.ItemIndex);
    179185      WriteBool('LogParsing', CheckBoxLogParsing.Checked);
    180186    finally
     
    203209var
    204210  ProducerType: TProducerType;
     211  AnalyzerType: TAnalyzerType;
    205212begin
    206213  DebugLog.FileName := 'DebugLog.txt';
     
    215222  for ProducerType := Low(ProducerType) to High(ProducerType) do
    216223    ComboBoxTargetSelection.AddItem(ProducerTypeName[ProducerType], nil);
     224  ComboBoxAnalyzerType.Clear;
     225  for AnalyzerType := Low(AnalyzerType) to High(AnalyzerType) do
     226    ComboBoxAnalyzerType.AddItem(AnalyzerTypeName[AnalyzerType], nil);
    217227end;
    218228
Note: See TracChangeset for help on using the changeset viewer.