Ignore:
Timestamp:
Sep 21, 2018, 2:09:10 PM (6 years ago)
Author:
chronos
Message:
  • Added: Support for color themes.
  • Added: Remember dimensions for more forms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r231 r243  
    1515
    1616  TFormNew = class(TForm)
     17    ActionList1: TActionList;
     18    APlayerAdd: TAction;
     19    APlayerModify: TAction;
     20    APlayerRemove: TAction;
     21    AServerAdd: TAction;
    1722    AServerModify: TAction;
    18     AServerAdd: TAction;
    1923    AServerRemove: TAction;
    20     APlayerAdd: TAction;
    21     APlayerRemove: TAction;
    22     APlayerModify: TAction;
    23     ActionList1: TActionList;
    2424    Button1: TButton;
    2525    Button2: TButton;
     
    3232    ButtonPlayerRemove: TButton;
    3333    CheckBoxBridges: TCheckBox;
     34    CheckBoxCity: TCheckBox;
     35    CheckBoxCyclicMap: TCheckBox;
    3436    CheckBoxFogOfWar: TCheckBox;
    35     CheckBoxCity: TCheckBox;
    3637    CheckBoxSymetricMap: TCheckBox;
    37     CheckBoxCyclicMap: TCheckBox;
    3838    CheckBoxVoid: TCheckBox;
    3939    ComboBoxGridType: TComboBox;
    4040    ComboBoxMapShape: TComboBox;
    4141    ComboBoxWinObjective: TComboBox;
     42    EditImageFile: TEdit;
    4243    EditServerAddress: TEdit;
    43     EditImageFile: TEdit;
    4444    Label1: TLabel;
    4545    Label10: TLabel;
     
    6767    PageControl1: TPageControl;
    6868    PageControl2: TPageControl;
     69    Panel1: TPanel;
     70    Panel2: TPanel;
     71    Panel3: TPanel;
     72    Panel4: TPanel;
    6973    PanelButtons: TPanel;
    7074    PanelChat: TPanel;
    7175    PopupMenuPlayers: TPopupMenu;
    7276    PopupMenuServers: TPopupMenu;
     77    RadioButtonModeLocal: TRadioButton;
     78    RadioButtonModeNetworkClient: TRadioButton;
    7379    RadioButtonModeNetworkServer: TRadioButton;
    74     RadioButtonModeNetworkClient: TRadioButton;
    75     RadioButtonModeLocal: TRadioButton;
    7680    RadioGroupGrowAmount: TRadioGroup;
    7781    RadioGroupGrowCells: TRadioGroup;
    78     SpinEditMaxPower: TSpinEdit;
    79     SpinEditServerPort: TSpinEdit;
    8082    SpinEditCityPercent: TSpinEdit;
    8183    SpinEditMapSizeX: TSpinEdit;
    8284    SpinEditMapSizeY: TSpinEdit;
     85    SpinEditMaxPower: TSpinEdit;
    8386    SpinEditNeutralUnits: TSpinEdit;
     87    SpinEditServerPort: TSpinEdit;
    8488    SpinEditSpecialCells: TSpinEdit;
    8589    SpinEditTurns: TSpinEdit;
    8690    SpinEditVoidPercent: TSpinEdit;
    8791    Splitter1: TSplitter;
     92    TabSheetCaptureCells: TTabSheet;
     93    TabSheetCaptureCities: TTabSheet;
     94    TabSheetDefeatEnemies: TTabSheet;
    8895    TabSheetPlayers: TTabSheet;
    8996    TabSheetMap: TTabSheet;
    9097    TabSheetRules: TTabSheet;
     98    TabSheetMode: TTabSheet;
    9199    TabSheetStayAliveTurns: TTabSheet;
    92     TabSheetCaptureCells: TTabSheet;
    93     TabSheetDefeatEnemies: TTabSheet;
    94     TabSheetCaptureCities: TTabSheet;
    95     TabSheetMode: TTabSheet;
    96100    TrackBarSizeX: TTrackBar;
    97101    TrackBarSizeY: TTrackBar;
     
    341345begin
    342346  Core.PersistentForm.Load(Self);
     347  Core.ThemeManager1.UseTheme(Self);
    343348  ReloadView;
    344349  //Height := Trunc(1.5 * Height);
Note: See TracChangeset for help on using the changeset viewer.