Ignore:
Timestamp:
Dec 24, 2017, 3:54:08 PM (7 years ago)
Author:
chronos
Message:
  • Added: Open recent files menu action.
  • Added: Generate BNF and EBNF output separately.
  • Added: Allow to hide main toolbar.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/generator/Forms/UFormMain.lfm

    r130 r131  
    2929      Height = 28
    3030      Top = 5
    31       Width = 125
     31      Width = 171
    3232      Align = alNone
    3333      AutoSize = True
     
    4242      Transparent = True
    4343      object ToolButton2: TToolButton
    44         Left = 96
     44        Left = 142
    4545        Top = 0
    4646        Action = ABuildCompiler
     
    5555        Top = 0
    5656        Action = AProjectOpen
     57        DropdownMenu = PopupMenuOpenRecent
     58        Style = tbsButtonDrop
    5759      end
    5860      object ToolButton5: TToolButton
    59         Left = 59
     61        Left = 76
    6062        Top = 0
    6163        Action = AProjectSave
    6264      end
    6365      object ToolButton6: TToolButton
    64         Left = 88
     66        Left = 134
    6567        Height = 28
    6668        Top = 0
    6769        Style = tbsSeparator
     70      end
     71      object ToolButton1: TToolButton
     72        Left = 105
     73        Top = 0
     74        Action = AGrammerSettings
    6875      end
    6976    end
     
    124131        Action = AProjectOpen
    125132      end
     133      object MenuItemRecent: TMenuItem
     134        Caption = 'Open recent'
     135      end
    126136      object MenuItem10: TMenuItem
    127137        Action = AProjectSave
     
    151161    object MenuItem1: TMenuItem
    152162      Caption = 'View'
     163      object MenuItemToolbar: TMenuItem
     164        Action = AToolbarVisible
     165        AutoCheck = True
     166      end
    153167    end
    154168  end
     
    175189      OnExecute = AProjectOpenExecute
    176190    end
     191    object AProjectOpenRecent: TAction
     192      Caption = 'Open recent'
     193      OnExecute = AProjectOpenRecentExecute
     194    end
    177195    object AProjectSaveAs: TAction
    178196      Caption = 'Save as...'
     
    181199      OnExecute = AProjectSaveAsExecute
    182200    end
     201    object AProjectSave: TAction
     202      Caption = 'Save'
     203      ImageIndex = 5
     204      OnExecute = AProjectSaveExecute
     205    end
     206    object AProjectNew: TAction
     207      Caption = 'New'
     208      ImageIndex = 10
     209      OnExecute = AProjectNewExecute
     210    end
     211    object AProjectClose: TAction
     212      Caption = 'Close'
     213      OnExecute = AProjectCloseExecute
     214    end
     215    object AGrammerSettings: TAction
     216      Caption = 'Settings'
     217      ImageIndex = 3
     218      OnExecute = AGrammerSettingsExecute
     219    end
    183220    object ABuildCompiler: TAction
    184221      Caption = 'Build compiler'
     
    186223      OnExecute = ABuildCompilerExecute
    187224    end
    188     object AProjectSave: TAction
    189       Caption = 'Save'
    190       ImageIndex = 5
    191       OnExecute = AProjectSaveExecute
    192     end
    193     object AProjectNew: TAction
    194       Caption = 'New'
    195       ImageIndex = 10
    196       OnExecute = AProjectNewExecute
    197     end
    198     object AGrammerSettings: TAction
    199       Caption = 'Settings'
    200       OnExecute = AGrammerSettingsExecute
    201     end
    202     object AProjectClose: TAction
    203       Caption = 'Close'
    204       OnExecute = AProjectCloseExecute
     225    object AToolbarVisible: TAction
     226      AutoCheck = True
     227      Caption = 'Toolbar'
     228      OnExecute = AToolbarVisibleExecute
    205229    end
    206230  end
     
    217241    top = 414
    218242  end
     243  object LastOpenedList1: TLastOpenedList
     244    MaxCount = 10
     245    OnChange = LastOpenedList1Change
     246    left = 155
     247    top = 131
     248  end
     249  object PopupMenuOpenRecent: TPopupMenu
     250    left = 149
     251    top = 234
     252  end
    219253end
Note: See TracChangeset for help on using the changeset viewer.