146 lines
3.0 KiB
Plaintext
146 lines
3.0 KiB
Plaintext
object fmain: Tfmain
|
|
Left = 165
|
|
Top = 309
|
|
Width = 1081
|
|
Height = 538
|
|
Caption = 'Media Foundation Cam Capture demo (www.imageen.com)'
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
OldCreateOrder = True
|
|
Position = poScreenCenter
|
|
OnCreate = FormCreate
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object ImageEnView1: TImageEnView
|
|
Left = 0
|
|
Top = 0
|
|
Width = 696
|
|
Height = 500
|
|
Background = clBtnFace
|
|
ParentCtl3D = False
|
|
MouseInteract = [miMoveLayers, miResizeLayers]
|
|
OnMediaFoundationNotify = ImageEnView1MediaFoundationNotify
|
|
EnableInteractionHints = True
|
|
Align = alClient
|
|
TabOrder = 0
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 696
|
|
Top = 0
|
|
Width = 369
|
|
Height = 500
|
|
Align = alRight
|
|
BevelOuter = bvNone
|
|
TabOrder = 1
|
|
object Label3: TLabel
|
|
Left = 16
|
|
Top = 440
|
|
Width = 16
|
|
Height = 13
|
|
Caption = '----'
|
|
end
|
|
object GroupBox1: TGroupBox
|
|
Left = 7
|
|
Top = 8
|
|
Width = 354
|
|
Height = 281
|
|
Caption = ' Source '
|
|
TabOrder = 0
|
|
object Label1: TLabel
|
|
Left = 9
|
|
Top = 20
|
|
Width = 59
|
|
Height = 13
|
|
Caption = 'Video Input:'
|
|
end
|
|
object SpeedButton1: TSpeedButton
|
|
Left = 8
|
|
Top = 187
|
|
Width = 337
|
|
Height = 38
|
|
AllowAllUp = True
|
|
GroupIndex = 1
|
|
Caption = 'Capture'
|
|
OnClick = SpeedButton1Click
|
|
end
|
|
object Label4: TLabel
|
|
Left = 16
|
|
Top = 243
|
|
Width = 16
|
|
Height = 13
|
|
Caption = '----'
|
|
end
|
|
object Label5: TLabel
|
|
Left = 8
|
|
Top = 82
|
|
Width = 96
|
|
Height = 13
|
|
Caption = 'Supported Formats:'
|
|
end
|
|
object ComboBox1: TComboBox
|
|
Left = 8
|
|
Top = 37
|
|
Width = 337
|
|
Height = 21
|
|
Style = csDropDownList
|
|
ItemHeight = 13
|
|
TabOrder = 0
|
|
OnChange = ComboBox1Change
|
|
end
|
|
object ListBox1: TListBox
|
|
Left = 8
|
|
Top = 100
|
|
Width = 337
|
|
Height = 63
|
|
ItemHeight = 13
|
|
TabOrder = 1
|
|
end
|
|
end
|
|
object GroupBox2: TGroupBox
|
|
Left = 7
|
|
Top = 295
|
|
Width = 354
|
|
Height = 67
|
|
Caption = ' Display '
|
|
TabOrder = 1
|
|
object Label2: TLabel
|
|
Left = 8
|
|
Top = 22
|
|
Width = 30
|
|
Height = 13
|
|
Caption = 'Zoom:'
|
|
end
|
|
object TrackBar1: TTrackBar
|
|
Left = 40
|
|
Top = 19
|
|
Width = 305
|
|
Height = 45
|
|
Max = 400
|
|
Min = 10
|
|
Frequency = 10
|
|
Position = 100
|
|
TabOrder = 0
|
|
OnChange = TrackBar1Change
|
|
end
|
|
end
|
|
object Button5: TButton
|
|
Left = 272
|
|
Top = 440
|
|
Width = 88
|
|
Height = 25
|
|
Caption = 'Save Image'
|
|
TabOrder = 2
|
|
OnClick = Button5Click
|
|
end
|
|
end
|
|
object Timer1: TTimer
|
|
OnTimer = Timer1Timer
|
|
Left = 744
|
|
Top = 440
|
|
end
|
|
end
|