337 lines
7.0 KiB
Plaintext
337 lines
7.0 KiB
Plaintext
object fmain: Tfmain
|
|
Left = 320
|
|
Top = 153
|
|
Caption = 'DirectShow Video Capture Demo - www.ImageEn.com'
|
|
ClientHeight = 618
|
|
ClientWidth = 688
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
OldCreateOrder = True
|
|
Position = poScreenCenter
|
|
OnActivate = FormActivate
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object ImageEnView1: TImageEnView
|
|
Left = 0
|
|
Top = 0
|
|
Width = 319
|
|
Height = 618
|
|
Background = clBtnFace
|
|
Ctl3D = False
|
|
ParentCtl3D = False
|
|
MouseInteract = [miMoveLayers, miResizeLayers]
|
|
OnDShowNewFrame = ImageEnView1DShowNewFrame
|
|
EnableInteractionHints = True
|
|
Align = alClient
|
|
TabOrder = 0
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 319
|
|
Top = 0
|
|
Width = 369
|
|
Height = 618
|
|
Align = alRight
|
|
BevelOuter = bvNone
|
|
TabOrder = 1
|
|
object GroupBox1: TGroupBox
|
|
Left = 7
|
|
Top = 8
|
|
Width = 354
|
|
Height = 377
|
|
Caption = ' Source '
|
|
TabOrder = 0
|
|
object Label1: TLabel
|
|
Left = 9
|
|
Top = 24
|
|
Width = 55
|
|
Height = 13
|
|
Caption = 'Video Input'
|
|
end
|
|
object SpeedButton1: TSpeedButton
|
|
Left = 104
|
|
Top = 267
|
|
Width = 129
|
|
Height = 25
|
|
AllowAllUp = True
|
|
GroupIndex = 1
|
|
Caption = 'Capture'
|
|
OnClick = SpeedButton1Click
|
|
end
|
|
object Label4: TLabel
|
|
Left = 104
|
|
Top = 299
|
|
Width = 4
|
|
Height = 13
|
|
Caption = '-'
|
|
end
|
|
object Label5: TLabel
|
|
Left = 8
|
|
Top = 56
|
|
Width = 94
|
|
Height = 13
|
|
Caption = 'Supported formats:'
|
|
end
|
|
object Label6: TLabel
|
|
Left = 8
|
|
Top = 128
|
|
Width = 28
|
|
Height = 13
|
|
Caption = 'Width'
|
|
end
|
|
object Label7: TLabel
|
|
Left = 8
|
|
Top = 149
|
|
Width = 31
|
|
Height = 13
|
|
Caption = 'Height'
|
|
end
|
|
object Label8: TLabel
|
|
Left = 8
|
|
Top = 207
|
|
Width = 62
|
|
Height = 13
|
|
Caption = 'Video Source'
|
|
end
|
|
object Label9: TLabel
|
|
Left = 8
|
|
Top = 239
|
|
Width = 68
|
|
Height = 13
|
|
Caption = 'Tuner channel'
|
|
end
|
|
object Label10: TLabel
|
|
Left = 152
|
|
Top = 239
|
|
Width = 4
|
|
Height = 13
|
|
Caption = '-'
|
|
end
|
|
object Label11: TLabel
|
|
Left = 8
|
|
Top = 173
|
|
Width = 56
|
|
Height = 13
|
|
Caption = 'PixelFormat'
|
|
end
|
|
object ComboBox1: TComboBox
|
|
Left = 80
|
|
Top = 21
|
|
Width = 240
|
|
Height = 21
|
|
Style = csDropDownList
|
|
TabOrder = 0
|
|
OnChange = ComboBox1Change
|
|
end
|
|
object Button1: TButton
|
|
Left = 16
|
|
Top = 319
|
|
Width = 129
|
|
Height = 25
|
|
Caption = 'Video Dialog'
|
|
TabOrder = 1
|
|
OnClick = Button1Click
|
|
end
|
|
object Button2: TButton
|
|
Left = 16
|
|
Top = 344
|
|
Width = 129
|
|
Height = 25
|
|
Caption = 'Format Dialog'
|
|
TabOrder = 2
|
|
OnClick = Button2Click
|
|
end
|
|
object ListBox1: TListBox
|
|
Left = 104
|
|
Top = 53
|
|
Width = 213
|
|
Height = 63
|
|
ItemHeight = 13
|
|
TabOrder = 3
|
|
OnClick = ListBox1Click
|
|
end
|
|
object Edit1: TEdit
|
|
Left = 73
|
|
Top = 124
|
|
Width = 121
|
|
Height = 21
|
|
TabOrder = 4
|
|
end
|
|
object Edit2: TEdit
|
|
Left = 74
|
|
Top = 148
|
|
Width = 121
|
|
Height = 21
|
|
TabOrder = 5
|
|
end
|
|
object ComboBox2: TComboBox
|
|
Left = 75
|
|
Top = 204
|
|
Width = 145
|
|
Height = 21
|
|
Style = csDropDownList
|
|
TabOrder = 6
|
|
OnChange = ComboBox2Change
|
|
end
|
|
object Edit3: TEdit
|
|
Left = 87
|
|
Top = 236
|
|
Width = 41
|
|
Height = 21
|
|
TabOrder = 7
|
|
Text = '0'
|
|
OnChange = Edit3Change
|
|
end
|
|
object UpDown1: TUpDown
|
|
Left = 128
|
|
Top = 236
|
|
Width = 16
|
|
Height = 21
|
|
Associate = Edit3
|
|
Max = 1000
|
|
TabOrder = 8
|
|
end
|
|
object Button3: TButton
|
|
Left = 145
|
|
Top = 320
|
|
Width = 129
|
|
Height = 25
|
|
Caption = 'Video Input Source Dlg'
|
|
TabOrder = 9
|
|
OnClick = Button3Click
|
|
end
|
|
object Button4: TButton
|
|
Left = 145
|
|
Top = 344
|
|
Width = 129
|
|
Height = 25
|
|
Caption = 'Tuner Dialog'
|
|
TabOrder = 10
|
|
OnClick = Button4Click
|
|
end
|
|
object Edit4: TEdit
|
|
Left = 323
|
|
Top = 21
|
|
Width = 22
|
|
Height = 21
|
|
TabOrder = 11
|
|
Text = '0'
|
|
end
|
|
object Edit5: TEdit
|
|
Left = 74
|
|
Top = 172
|
|
Width = 121
|
|
Height = 21
|
|
TabOrder = 12
|
|
end
|
|
end
|
|
object GroupBox2: TGroupBox
|
|
Left = 7
|
|
Top = 388
|
|
Width = 354
|
|
Height = 113
|
|
Caption = ' Display '
|
|
TabOrder = 1
|
|
object Label2: TLabel
|
|
Left = 8
|
|
Top = 22
|
|
Width = 26
|
|
Height = 13
|
|
Caption = 'Zoom'
|
|
end
|
|
object Label3: TLabel
|
|
Left = 40
|
|
Top = 72
|
|
Width = 42
|
|
Height = 13
|
|
Caption = 'Show-->'
|
|
end
|
|
object TrackBar1: TTrackBar
|
|
Left = 40
|
|
Top = 14
|
|
Width = 273
|
|
Height = 45
|
|
Max = 1000
|
|
Min = 1
|
|
Frequency = 10
|
|
Position = 1
|
|
TabOrder = 0
|
|
OnChange = TrackBar1Change
|
|
end
|
|
object CheckBox1: TCheckBox
|
|
Left = 96
|
|
Top = 56
|
|
Width = 97
|
|
Height = 17
|
|
Caption = 'Red'
|
|
Checked = True
|
|
State = cbChecked
|
|
TabOrder = 1
|
|
OnClick = CheckBox1Click
|
|
end
|
|
object CheckBox2: TCheckBox
|
|
Left = 96
|
|
Top = 72
|
|
Width = 97
|
|
Height = 17
|
|
Caption = 'Green'
|
|
Checked = True
|
|
State = cbChecked
|
|
TabOrder = 2
|
|
OnClick = CheckBox2Click
|
|
end
|
|
object CheckBox3: TCheckBox
|
|
Left = 96
|
|
Top = 88
|
|
Width = 97
|
|
Height = 17
|
|
Caption = 'Blue'
|
|
Checked = True
|
|
State = cbChecked
|
|
TabOrder = 3
|
|
OnClick = CheckBox3Click
|
|
end
|
|
end
|
|
object GroupBox3: TGroupBox
|
|
Left = 8
|
|
Top = 504
|
|
Width = 353
|
|
Height = 73
|
|
Caption = 'Layers...'
|
|
TabOrder = 2
|
|
object CheckBox4: TCheckBox
|
|
Left = 8
|
|
Top = 24
|
|
Width = 97
|
|
Height = 17
|
|
Caption = 'Magnify layer'
|
|
TabOrder = 0
|
|
OnClick = CheckBox4Click
|
|
end
|
|
object CheckBox5: TCheckBox
|
|
Left = 8
|
|
Top = 48
|
|
Width = 97
|
|
Height = 17
|
|
Caption = 'Show Grips'
|
|
Checked = True
|
|
State = cbChecked
|
|
TabOrder = 1
|
|
OnClick = CheckBox5Click
|
|
end
|
|
end
|
|
object Button5: TButton
|
|
Left = 272
|
|
Top = 584
|
|
Width = 88
|
|
Height = 25
|
|
Caption = 'Save Image'
|
|
TabOrder = 3
|
|
OnClick = Button5Click
|
|
end
|
|
end
|
|
end
|