212 lines
4.4 KiB
Plaintext
212 lines
4.4 KiB
Plaintext
object fmain: Tfmain
|
|
Left = 0
|
|
Top = 136
|
|
Caption = 'Media Foundation File Capture Demo - www.imageen.com'
|
|
ClientHeight = 499
|
|
ClientWidth = 895
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'Tahoma'
|
|
Font.Style = []
|
|
OldCreateOrder = True
|
|
Position = poScreenCenter
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object ImageEnView1: TImageEnView
|
|
Left = 0
|
|
Top = 0
|
|
Width = 526
|
|
Height = 499
|
|
Background = clBtnFace
|
|
MouseInteract = [miMoveLayers, miResizeLayers]
|
|
OnMediaFoundationNotify = ImageEnView1MediaFoundationNotify
|
|
EnableInteractionHints = True
|
|
Align = alClient
|
|
TabOrder = 0
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 526
|
|
Top = 0
|
|
Width = 369
|
|
Height = 499
|
|
Align = alRight
|
|
BevelOuter = bvNone
|
|
TabOrder = 1
|
|
object Label3: TLabel
|
|
Left = 16
|
|
Top = 457
|
|
Width = 16
|
|
Height = 13
|
|
Caption = '----'
|
|
end
|
|
object Label4: TLabel
|
|
Left = 16
|
|
Top = 433
|
|
Width = 16
|
|
Height = 13
|
|
Caption = '----'
|
|
end
|
|
object GroupBox1: TGroupBox
|
|
Left = 6
|
|
Top = 5
|
|
Width = 354
|
|
Height = 353
|
|
Caption = ' Source '
|
|
TabOrder = 0
|
|
object Label1: TLabel
|
|
Left = 9
|
|
Top = 20
|
|
Width = 49
|
|
Height = 13
|
|
Caption = 'Input File:'
|
|
end
|
|
object SpeedButton1: TSpeedButton
|
|
Left = 8
|
|
Top = 218
|
|
Width = 337
|
|
Height = 34
|
|
AllowAllUp = True
|
|
GroupIndex = 1
|
|
Caption = 'Capture'
|
|
Enabled = False
|
|
OnClick = SpeedButton1Click
|
|
end
|
|
object Label5: TLabel
|
|
Left = 8
|
|
Top = 132
|
|
Width = 94
|
|
Height = 13
|
|
Caption = 'Supported formats:'
|
|
end
|
|
object Label6: TLabel
|
|
Left = 8
|
|
Top = 66
|
|
Width = 43
|
|
Height = 13
|
|
Caption = 'Streams:'
|
|
end
|
|
object Label7: TLabel
|
|
Left = 16
|
|
Top = 304
|
|
Width = 41
|
|
Height = 13
|
|
Caption = 'Position:'
|
|
end
|
|
object Label8: TLabel
|
|
Left = 35
|
|
Top = 283
|
|
Width = 305
|
|
Height = 13
|
|
Caption = 'Note: May be out of sync. This is a grabber not a media-player!'
|
|
end
|
|
object ListBox1: TListBox
|
|
Left = 8
|
|
Top = 149
|
|
Width = 337
|
|
Height = 63
|
|
ItemHeight = 13
|
|
TabOrder = 0
|
|
end
|
|
object EditInputFile: TEdit
|
|
Left = 9
|
|
Top = 37
|
|
Width = 241
|
|
Height = 21
|
|
TabOrder = 1
|
|
end
|
|
object ButtonOpenDialog: TButton
|
|
Left = 254
|
|
Top = 36
|
|
Width = 24
|
|
Height = 21
|
|
Caption = '...'
|
|
TabOrder = 2
|
|
OnClick = ButtonOpenDialogClick
|
|
end
|
|
object ButtonOpen: TButton
|
|
Left = 284
|
|
Top = 34
|
|
Width = 61
|
|
Height = 25
|
|
Caption = 'Open'
|
|
TabOrder = 3
|
|
OnClick = ButtonOpenClick
|
|
end
|
|
object ListBoxStreams: TListBox
|
|
Left = 8
|
|
Top = 83
|
|
Width = 337
|
|
Height = 44
|
|
ItemHeight = 13
|
|
TabOrder = 4
|
|
OnClick = ListBoxStreamsClick
|
|
end
|
|
object ScrollBarPosition: TScrollBar
|
|
Left = 16
|
|
Top = 321
|
|
Width = 329
|
|
Height = 17
|
|
Max = 1000
|
|
PageSize = 0
|
|
TabOrder = 5
|
|
OnChange = ScrollBarPositionChange
|
|
end
|
|
object CheckBoxRenderAudio: TCheckBox
|
|
Left = 16
|
|
Top = 265
|
|
Width = 323
|
|
Height = 17
|
|
Caption = 'Render Audio'
|
|
TabOrder = 6
|
|
end
|
|
end
|
|
object GroupBox2: TGroupBox
|
|
Left = 7
|
|
Top = 364
|
|
Width = 354
|
|
Height = 61
|
|
Caption = ' Display '
|
|
TabOrder = 1
|
|
object Label2: TLabel
|
|
Left = 8
|
|
Top = 22
|
|
Width = 26
|
|
Height = 13
|
|
Caption = 'Zoom'
|
|
end
|
|
object TrackBar1: TTrackBar
|
|
Left = 40
|
|
Top = 14
|
|
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 = 24
|
|
Top = 16
|
|
end
|
|
object OpenDialog1: TOpenDialog
|
|
Left = 935
|
|
Top = 8
|
|
end
|
|
end
|