Ignore:
Timestamp:
Nov 26, 2012, 7:38:56 AM (12 years ago)
Author:
chronos
Message:
  • Added: Now PixelFormat for tests where TBitmap is used can be changed.
  • Fixed: Stopping of test of all methods.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GraphicTest/UMainForm.lfm

    r453 r454  
    11object MainForm: TMainForm
    2   Left = 165
     2  Left = 258
    33  Height = 444
    4   Top = 117
     4  Top = 176
    55  Width = 857
    66  Caption = 'Graphic test'
     
    2424    object TabSheet1: TTabSheet
    2525      Caption = 'Description'
    26       ClientHeight = 388
     26      ClientHeight = 399
    2727      ClientWidth = 390
    2828      object Memo1: TMemo
    2929        Left = 0
    30         Height = 388
     30        Height = 399
    3131        Top = 0
    3232        Width = 390
     
    534534    TabOrder = 1
    535535    object ListViewMethods: TListView
    536       Left = 9
    537       Height = 349
    538       Top = 8
    539       Width = 443
     536      Left = 4
     537      Height = 324
     538      Top = 4
     539      Width = 448
    540540      Anchors = [akTop, akLeft, akRight, akBottom]
    541541      Columns = <     
     
    579579      Left = 8
    580580      Height = 25
    581       Top = 364
     581      Top = 336
    582582      Width = 115
    583       Anchors = [akLeft, akBottom]
    584       Caption = 'Test one method'
    585       OnClick = ButtonSingleTestClick
     583      Action = ATestOneMethod
     584      Anchors = [akLeft, akBottom]
    586585      TabOrder = 1
    587586    end
     
    589588      Left = 136
    590589      Height = 25
    591       Top = 364
     590      Top = 336
    592591      Width = 112
    593       Anchors = [akLeft, akBottom]
    594       Caption = 'Test all methods'
    595       OnClick = ButtonBenchmarkClick
     592      Action = ATestAllMethods
     593      Anchors = [akLeft, akBottom]
    596594      TabOrder = 2
    597595    end
    598596    object FloatSpinEdit1: TFloatSpinEdit
    599597      Left = 88
    600       Height = 23
    601       Top = 394
     598      Height = 21
     599      Top = 368
    602600      Width = 58
    603601      Anchors = [akLeft, akBottom]
     
    611609      Left = 256
    612610      Height = 25
    613       Top = 364
     611      Top = 336
    614612      Width = 75
    615       Anchors = [akLeft, akBottom]
    616       Caption = 'Stop'
    617       OnClick = ButtonStopClick
     613      Action = ATestStop
     614      Anchors = [akLeft, akBottom]
    618615      TabOrder = 4
    619616    end
    620617    object Label1: TLabel
    621618      Left = 8
    622       Height = 15
    623       Top = 398
    624       Width = 78
     619      Height = 13
     620      Top = 372
     621      Width = 69
    625622      Anchors = [akLeft, akBottom]
    626623      Caption = 'Step duration:'
     
    629626    object Label2: TLabel
    630627      Left = 152
    631       Height = 15
    632       Top = 398
     628      Height = 13
     629      Top = 372
    633630      Width = 5
    634631      Anchors = [akLeft, akBottom]
     
    638635    object SpinEditWidth: TSpinEdit
    639636      Left = 204
    640       Height = 23
    641       Top = 394
     637      Height = 21
     638      Top = 368
    642639      Width = 58
    643640      Anchors = [akLeft, akBottom]
     
    649646    object SpinEditHeight: TSpinEdit
    650647      Left = 273
    651       Height = 23
    652       Top = 394
     648      Height = 21
     649      Top = 368
    653650      Width = 58
    654651      Anchors = [akLeft, akBottom]
     
    660657    object Label3: TLabel
    661658      Left = 169
    662       Height = 15
    663       Top = 399
    664       Width = 25
     659      Height = 13
     660      Top = 373
     661      Width = 23
    665662      Anchors = [akLeft, akBottom]
    666663      Caption = 'Size:'
     
    669666    object Label4: TLabel
    670667      Left = 265
    671       Height = 15
    672       Top = 398
     668      Height = 13
     669      Top = 372
    673670      Width = 6
    674671      Anchors = [akLeft, akBottom]
     
    678675    object CheckBoxDoubleBuffered: TCheckBox
    679676      Left = 336
    680       Height = 24
    681       Top = 357
    682       Width = 118
     677      Height = 17
     678      Top = 336
     679      Width = 98
    683680      Anchors = [akLeft, akBottom]
    684681      Caption = 'Double buffered'
     
    688685    object CheckBoxEraseBackground: TCheckBox
    689686      Left = 336
    690       Height = 24
    691       Top = 374
    692       Width = 124
     687      Height = 17
     688      Top = 353
     689      Width = 106
    693690      Anchors = [akLeft, akBottom]
    694691      Caption = 'Erase background'
     
    698695    object CheckBox1: TCheckBox
    699696      Left = 336
    700       Height = 24
    701       Top = 394
    702       Width = 69
     697      Height = 17
     698      Top = 369
     699      Width = 58
    703700      Anchors = [akLeft, akBottom]
    704701      Caption = 'Opaque'
    705702      OnChange = CheckBox1Change
    706703      TabOrder = 9
     704    end
     705    object Label5: TLabel
     706      Left = 8
     707      Height = 13
     708      Top = 399
     709      Width = 61
     710      Anchors = [akLeft, akBottom]
     711      Caption = 'Pixel format:'
     712      ParentColor = False
     713    end
     714    object ComboBox1: TComboBox
     715      Left = 89
     716      Height = 21
     717      Top = 394
     718      Width = 100
     719      Anchors = [akLeft, akBottom]
     720      ItemHeight = 13
     721      OnChange = ComboBox1Change
     722      Style = csDropDownList
     723      TabOrder = 10
    707724    end
    708725  end
     
    747764      OnExecute = AExportAsWikiTextExecute
    748765    end
    749     object Action1: TAction
    750       Caption = 'Action1'
     766    object ATestOneMethod: TAction
     767      Caption = 'Test one method'
     768      OnExecute = ATestOneMethodExecute
     769      ShortCut = 113
    751770    end
    752771    object FileExit1: TFileExit
     
    755774      Hint = 'Exit'
    756775      ShortCut = 32883
     776    end
     777    object ATestStop: TAction
     778      Caption = 'Stop'
     779      Hint = 'Stop'
     780      OnExecute = ATestStopExecute
     781      ShortCut = 114
     782    end
     783    object ATestAllMethods: TAction
     784      Caption = 'Test all methods'
     785      Hint = 'Test all methods'
     786      OnExecute = ATestAllMethodsExecute
     787      ShortCut = 114
     788    end
     789    object AShowDrawForm: TAction
     790      Caption = 'Draw form'
     791      OnExecute = AShowDrawFormExecute
    757792    end
    758793  end
     
    769804      end
    770805    end
     806    object MenuItemTest: TMenuItem
     807      Caption = 'Test'
     808      object MenuItem5: TMenuItem
     809        Action = ATestOneMethod
     810      end
     811      object MenuItem6: TMenuItem
     812        Action = ATestAllMethods
     813      end
     814      object MenuItem7: TMenuItem
     815        Action = ATestStop
     816      end
     817    end
     818    object MenuItem4: TMenuItem
     819      Caption = 'View'
     820      object MenuItem8: TMenuItem
     821        Action = AShowDrawForm
     822      end
     823    end
    771824  end
    772825  object SaveDialog1: TSaveDialog
Note: See TracChangeset for help on using the changeset viewer.