Ignore:
Timestamp:
Feb 19, 2012, 10:29:55 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Used manual docked forms for better code separation.
  • Modified: Used tabbed layout with PageControl and TabSheets for better usability.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.lfm

    r37 r38  
    11object MainForm: TMainForm
    2   Left = 236
     2  Left = 208
    33  Height = 609
    4   Top = 74
     4  Top = 134
    55  Width = 790
    66  Caption = 'LazFuck'
     
    1414  LCLVersion = '0.9.31'
    1515  WindowState = wsMaximized
    16   object StatusBar1: TStatusBar
     16  object StatusBarMain: TStatusBar
    1717    Left = 0
    1818    Height = 21
     
    3131    SimplePanel = False
    3232  end
    33   object ToolBar1: TToolBar
     33  object ToolBarMain: TToolBar
    3434    Left = 0
    3535    Height = 26
     
    117117    end
    118118  end
    119   object PageControl2: TPageControl
    120     Left = 590
     119  object PageControlRight: TPageControl
     120    Left = 397
    121121    Height = 537
    122122    Top = 26
    123     Width = 200
    124     ActivePage = TabSheet2
     123    Width = 393
     124    ActivePage = TabSheetDebug
    125125    Align = alRight
    126126    TabIndex = 0
    127127    TabOrder = 2
    128128    TabPosition = tpRight
    129     object TabSheet2: TTabSheet
     129    object TabSheetDebug: TTabSheet
    130130      Caption = 'Debug'
     131      ClientHeight = 535
     132      ClientWidth = 341
     133      object PanelInput: TPanel
     134        Left = 0
     135        Height = 133
     136        Top = 0
     137        Width = 341
     138        Align = alTop
     139        BevelOuter = bvNone
     140        TabOrder = 0
     141      end
     142      object Splitter3: TSplitter
     143        Cursor = crVSplit
     144        Left = 0
     145        Height = 5
     146        Top = 133
     147        Width = 341
     148        Align = alTop
     149        ResizeAnchor = akTop
     150      end
     151      object PanelOutput: TPanel
     152        Left = 0
     153        Height = 123
     154        Top = 138
     155        Width = 341
     156        Align = alTop
     157        BevelOuter = bvNone
     158        TabOrder = 2
     159      end
     160      object Splitter4: TSplitter
     161        Cursor = crVSplit
     162        Left = 0
     163        Height = 5
     164        Top = 261
     165        Width = 341
     166        Align = alTop
     167        ResizeAnchor = akTop
     168      end
     169      object PanelCPU: TPanel
     170        Left = 0
     171        Height = 139
     172        Top = 266
     173        Width = 341
     174        Align = alTop
     175        BevelOuter = bvNone
     176        TabOrder = 4
     177      end
     178      object Splitter5: TSplitter
     179        Cursor = crVSplit
     180        Left = 0
     181        Height = 5
     182        Top = 405
     183        Width = 341
     184        Align = alTop
     185        ResizeAnchor = akTop
     186      end
     187      object PanelMemory: TPanel
     188        Left = 0
     189        Height = 125
     190        Top = 410
     191        Width = 341
     192        Align = alClient
     193        BevelOuter = bvNone
     194        TabOrder = 6
     195      end
    131196    end
    132197  end
    133198  object Splitter1: TSplitter
    134     Left = 585
     199    Left = 392
    135200    Height = 537
    136201    Top = 26
     
    139204    ResizeAnchor = akRight
    140205  end
    141   object Panel1: TPanel
     206  object PanelLeft: TPanel
    142207    Left = 0
    143208    Height = 537
    144209    Top = 26
    145     Width = 585
     210    Width = 392
    146211    Align = alClient
    147212    BevelOuter = bvNone
    148213    ClientHeight = 537
    149     ClientWidth = 585
     214    ClientWidth = 392
    150215    TabOrder = 4
    151     object PageControl1: TPageControl
     216    object PageControlMain: TPageControl
    152217      Left = 0
    153218      Height = 414
    154219      Top = 0
    155       Width = 585
     220      Width = 392
    156221      ActivePage = TabSheetSource
    157222      Align = alClient
     
    162227        Caption = 'Source code'
    163228        ClientHeight = 387
    164         ClientWidth = 583
     229        ClientWidth = 390
    165230        object MemoSource: TMemo
    166231          Left = 0
    167232          Height = 387
    168233          Top = 0
    169           Width = 583
     234          Width = 390
    170235          Align = alClient
    171236          Font.Height = -12
     
    185250        Caption = 'Target code'
    186251        ClientHeight = 387
    187         ClientWidth = 583
     252        ClientWidth = 390
    188253        object MemoTarget: TMemo
    189254          Left = 0
     
    199264      end
    200265    end
    201     object PageControl3: TPageControl
     266    object PageControlBottom: TPageControl
    202267      Left = 0
    203268      Height = 118
    204269      Top = 419
    205       Width = 585
    206       ActivePage = TabSheet1
     270      Width = 392
     271      ActivePage = TabSheetMessages
    207272      Align = alBottom
    208273      TabIndex = 0
    209274      TabOrder = 1
    210275      TabPosition = tpBottom
    211       object TabSheet1: TTabSheet
     276      object TabSheetMessages: TTabSheet
    212277        Caption = 'Messages'
    213         ClientHeight = 91
    214         ClientWidth = 583
    215         object MemoMessages: TMemo
    216           Left = 0
    217           Height = 91
    218           Top = 0
    219           Width = 583
    220           Align = alClient
    221           TabOrder = 0
    222         end
    223278      end
    224279    end
     
    228283      Height = 5
    229284      Top = 414
    230       Width = 585
     285      Width = 392
    231286      Align = alBottom
    232287      ResizeAnchor = akBottom
     
    235290  object MainMenu1: TMainMenu
    236291    Images = ImageList1
    237     left = 356
    238     top = 152
     292    left = 216
     293    top = 128
    239294    object MenuItem1: TMenuItem
    240295      Caption = 'Project'
     
    9481003  object ActionList1: TActionList
    9491004    Images = ImageList1
    950     left = 448
    951     top = 96
     1005    left = 216
     1006    top = 240
    9521007    object AProjectOpen: TAction
    9531008      Category = 'Project'
     
    11071162  end
    11081163  object ImageList1: TImageList
    1109     left = 356
    1110     top = 96
     1164    left = 216
     1165    top = 72
    11111166    Bitmap = {
    11121167      4C69120000001000000010000000000000000000000000000000000000000000
     
    16921747    DefaultExt = '.b'
    16931748    Filter = 'BrainFuck (*.b)|*.b|Any file (*.*)|*.*'
    1694     left = 192
    1695     top = 157
     1749    left = 56
     1750    top = 184
    16961751  end
    16971752  object SaveDialog1: TSaveDialog
    16981753    DefaultExt = '.b'
    16991754    Filter = 'BrainFuck (*.b)|*.b|Any file (*.*)|*.*'
    1700     left = 192
    1701     top = 208
     1755    left = 56
     1756    top = 240
    17021757  end
    17031758  object CoolTranslator1: TCoolTranslator
    17041759    POFilesFolder = 'Languages'
    1705     left = 362
    1706     top = 216
     1760    left = 216
     1761    top = 184
    17071762  end
    17081763  object PopupMenuSource: TPopupMenu
    17091764    Images = ImageList1
    1710     left = 192
    1711     top = 104
     1765    left = 56
     1766    top = 128
    17121767    object MenuItem23: TMenuItem
    17131768      Action = ABreakpointToggle
     
    17991854  end
    18001855  object PopupMenuTarget: TPopupMenu
    1801     left = 92
    1802     top = 136
     1856    left = 56
     1857    top = 72
    18031858    object MenuItem20: TMenuItem
    18041859      Action = AShowSourcePosition
    18051860    end
    18061861  end
     1862  object TimerRefresh: TTimer
     1863    OnTimer = TimerRefreshTimer
     1864    left = 56
     1865    top = 296
     1866  end
    18071867end
Note: See TracChangeset for help on using the changeset viewer.