-
Notifications
You must be signed in to change notification settings - Fork 19
/
Frames.Player.fmx
266 lines (266 loc) · 8.89 KB
/
Frames.Player.fmx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
object frmPlayer: TfrmPlayer
Locked = True
Size.Width = 1065.000000000000000000
Size.Height = 559.000000000000000000
Size.PlatformDefault = False
object rectangleScreen: TRectangle
Align = Client
Fill.Color = claBlack
Sides = []
Size.Width = 1065.000000000000000000
Size.Height = 559.000000000000000000
Size.PlatformDefault = False
Stroke.Kind = None
OnClick = btnPlayClick
OnDblClick = btnFullScreenClick
object imageVideo: TImage
MultiResBitmap = <
item
end>
Align = Client
HitTest = False
Size.Width = 1065.000000000000000000
Size.Height = 559.000000000000000000
Size.PlatformDefault = False
object pnlState: TPanel
Align = Center
HitTest = False
Opacity = 0.000000000000000000
Size.Width = 100.000000000000000000
Size.Height = 100.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_panelState'
TabOrder = 0
end
object pnlPlayerToolKit: TPanel
Align = Bottom
Position.Y = 519.000000000000000000
Size.Width = 1065.000000000000000000
Size.Height = 40.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_panelplayertoolkit'
TabOrder = 1
object layoutVolumeBar: TLayout
Align = Right
Margins.Top = 16.000000000000000000
Margins.Right = 12.000000000000000000
Margins.Bottom = 16.000000000000000000
Position.X = 937.000000000000000000
Position.Y = 16.000000000000000000
Size.Width = 70.000000000000000000
Size.Height = 8.000000000000000000
Size.PlatformDefault = False
TabOrder = 3
object trckbrVolume: TTrackBar
Align = VertCenter
CanParentFocus = True
Cursor = crHandPoint
Orientation = Horizontal
Position.Y = -5.000000000000000000
Size.Width = 70.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_trackbar'
TabOrder = 0
Value = 100.000000000000000000
OnApplyStyleLookup = FillTrackBar
OnChange = trckbrVolumeChange
OnKeyUp = trckbrVolumeKeyUp
OnClick = trckbrVolumeClick
end
end
object layoutPlay: TLayout
Align = MostLeft
Margins.Left = 12.000000000000000000
Margins.Right = 12.000000000000000000
Position.X = 12.000000000000000000
Size.Width = 16.000000000000000000
Size.Height = 40.000000000000000000
Size.PlatformDefault = False
TabOrder = 4
object btnPlay: TButton
Align = Center
Cursor = crHandPoint
Size.Width = 16.000000000000000000
Size.Height = 16.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_buttonPlay'
TabOrder = 0
Text = 'btnPlay'
OnClick = btnPlayClick
end
end
object layoutState: TLayout
Align = Client
Margins.Top = 16.000000000000000000
Margins.Bottom = 16.000000000000000000
Size.Width = 729.000000000000000000
Size.Height = 8.000000000000000000
Size.PlatformDefault = False
TabOrder = 5
object pbLoadingState: TProgressBar
Align = VertCenter
HitTest = False
Orientation = Horizontal
Position.Y = 2.000000000000000000
Size.Width = 729.000000000000000000
Size.Height = 4.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_progressbar'
end
object trckbrPlayingState: TTrackBar
Align = VertCenter
CanParentFocus = True
ClipParent = True
Cursor = crHandPoint
Max = 1.000000000000000000
Orientation = Horizontal
Position.Y = -5.000000000000000000
Size.Width = 729.000000000000000000
Size.Height = 19.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_trackbar'
TabOrder = 0
OnApplyStyleLookup = trckbrPlayingStateApplyStyleLookup
OnChange = trackBarPlayingChange
OnMouseDown = trckbrPlayingStateMouseDown
OnMouseUp = trckbrPlayingStateMouseUp
OnResize = FillTrackBar
end
end
object layoutFullScreen: TLayout
Align = MostRight
Margins.Left = 12.000000000000000000
Margins.Right = 12.000000000000000000
Position.X = 1031.000000000000000000
Size.Width = 22.000000000000000000
Size.Height = 40.000000000000000000
Size.PlatformDefault = False
TabOrder = 6
object btnFullScreen: TButton
Align = Center
Cursor = crHandPoint
Margins.Left = 12.000000000000000000
Margins.Right = 12.000000000000000000
Size.Width = 22.000000000000000000
Size.Height = 16.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_buttonFullScreen'
TabOrder = 0
Text = 'btnPlay'
OnClick = btnFullScreenClick
end
end
object layoutVolume: TLayout
Align = Right
Margins.Left = 12.000000000000000000
Margins.Right = 5.000000000000000000
Position.X = 910.000000000000000000
Size.Width = 22.000000000000000000
Size.Height = 40.000000000000000000
Size.PlatformDefault = False
TabOrder = 7
object btnVolume: TButton
Align = Center
Cursor = crHandPoint
Size.Width = 22.000000000000000000
Size.Height = 16.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_buttonVolume'
TabOrder = 0
Text = 'btnPlay'
OnClick = btnVolumeClick
end
end
object layoutTime: TLayout
Align = Right
Margins.Left = 12.000000000000000000
Margins.Right = 12.000000000000000000
Position.X = 781.000000000000000000
Size.Width = 105.000000000000000000
Size.Height = 40.000000000000000000
Size.PlatformDefault = False
TabOrder = 8
object lblCurrentTime: TLabel
Align = Left
StyledSettings = [Family, Size, Style]
Size.Width = 50.000000000000000000
Size.Height = 40.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'labelPlayingTimeStyle1'
TextSettings.FontColor = xA6FFFFFF
TextSettings.WordWrap = False
Text = '00:00:00'
end
object lblFullTime: TLabel
Align = Left
StyledSettings = [Family, Size, Style]
Position.X = 50.000000000000000000
Size.Width = 52.000000000000000000
Size.Height = 40.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'labelPlayingTimeStyle1'
TextSettings.FontColor = x4DFFFFFF
TextSettings.WordWrap = False
Text = '/ 00:00:00'
end
end
end
object labelFileName: TLabel
Align = Top
Size.Width = 1065.000000000000000000
Size.Height = 80.000000000000000000
Size.PlatformDefault = False
StyleLookup = 'shareman_labelPlayerFileName'
TextSettings.WordWrap = False
end
end
inline frmOverlay: TfrmOverlay
Align = Client
HitTest = False
Size.Width = 1065.000000000000000000
Size.Height = 559.000000000000000000
Size.PlatformDefault = False
Visible = False
TabOrder = 0
end
end
object tmrToolKitVisibility: TTimer
Enabled = False
Interval = 100
OnTimer = tmrToolKitVisibilityTimer
Left = 768
Top = 416
end
object tmrCursor: TTimer
Enabled = False
Interval = 10
OnTimer = tmrCursorTimer
Left = 800
Top = 416
end
object lstFiles: TListBox
Align = Client
Size.Width = 1065.000000000000000000
Size.Height = 559.000000000000000000
Size.PlatformDefault = False
TabOrder = 3
Visible = False
OnDblClick = lstFilesDblClick
DisableFocusEffect = True
DefaultItemStyles.ItemStyle = ''
DefaultItemStyles.GroupHeaderStyle = ''
DefaultItemStyles.GroupFooterStyle = ''
Viewport.Width = 1061.000000000000000000
Viewport.Height = 555.000000000000000000
end
object actlstFullScreen: TActionList
Left = 72
Top = 208
object actFullScreen: TAction
Text = 'actFullScreen'
ShortCut = 27
OnExecute = actFullScreenExecute
end
end
end