results.ui 21.6 KB
Newer Older
Todd Weaver's avatar
Todd Weaver committed
1
2
3
4
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
  <requires lib="gtk+" version="3.20"/>
5
  <object class="GtkAdjustment" id="slider-duration">
Todd Weaver's avatar
Todd Weaver committed
6
7
8
9
10
11
12
    <property name="upper">100</property>
    <property name="step-increment">1</property>
    <property name="page-increment">10</property>
  </object>
  <template class="ResultsBox" parent="GtkBox">
    <property name="visible">True</property>
    <property name="can-focus">False</property>
13
14
    <property name="halign">center</property>
    <property name="valign">start</property>
Todd Weaver's avatar
Todd Weaver committed
15
16
    <property name="orientation">vertical</property>
    <property name="baseline-position">top</property>
17
    <signal name="motion-notify-event" handler="mouse_move" swapped="no"/>
18
19
20
21
22
23
    <child>
      <object class="GtkOverlay" id="video_overlay">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="halign">center</property>
        <property name="valign">center</property>
Todd Weaver's avatar
Todd Weaver committed
24
        <child>
25
          <object class="GtkBox" id="player_box">
26
            <property name="visible">True</property>
27
28
            <property name="can-focus">True</property>
            <property name="receives-default">True</property>
29
30
            <property name="halign">center</property>
            <property name="valign">center</property>
31
32
33
34
35
36
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkImage" id="poster_image">
                <property name="width-request">332</property>
                <property name="height-request">186</property>
                <property name="visible">True</property>
37
                <property name="sensitive">False</property>
38
                <property name="can-focus">False</property>
39
                <property name="resource">/sm/puri/Stream/ui/video-placeholder-332x186.png</property>
40
41
42
43
44
45
46
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
47
48
49
50
51
52
          </object>
          <packing>
            <property name="index">-1</property>
          </packing>
        </child>
        <child type="overlay">
53
          <object class="GtkEventBox" id="event_box">
Todd Weaver's avatar
Todd Weaver committed
54
55
            <property name="visible">True</property>
            <property name="can-focus">False</property>
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
            <property name="hexpand">True</property>
            <property name="vexpand">True</property>
            <property name="above-child">True</property>
            <signal name="enter-notify-event" handler="mouse_enter" swapped="no"/>
            <signal name="motion-notify-event" handler="mouse_move" swapped="no"/>
            <child>
              <placeholder/>
            </child>
          </object>
          <packing>
            <property name="pass-through">True</property>
          </packing>
        </child>
        <child type="overlay">
          <object class="GtkBox" id="controls_box">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
73
            <property name="valign">end</property>
74
            <property name="vexpand">True</property>
75
            <property name="orientation">vertical</property>
Todd Weaver's avatar
Todd Weaver committed
76
77
78
79
80
            <child>
              <object class="GtkBox">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="valign">end</property>
81
82
                <property name="margin-start">12</property>
                <property name="margin-end">12</property>
Todd Weaver's avatar
Todd Weaver committed
83
                <child>
84
                  <object class="GtkBox" id="download">
Todd Weaver's avatar
Todd Weaver committed
85
86
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
87
                    <property name="spacing">8</property>
Todd Weaver's avatar
Todd Weaver committed
88
                    <child>
89
                      <object class="GtkButton" id="audio_dl">
Todd Weaver's avatar
Todd Weaver committed
90
                        <property name="visible">True</property>
91
92
93
94
95
96
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="tooltip-text" translatable="yes">Download Audio</property>
                        <property name="halign">center</property>
                        <property name="valign">center</property>
                        <signal name="clicked" handler="audio_dl_button" swapped="no"/>
Todd Weaver's avatar
Todd Weaver committed
97
                        <child>
98
                          <object class="GtkImage">
Todd Weaver's avatar
Todd Weaver committed
99
100
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
101
                            <property name="icon-name">emblem-music-symbolic</property>
Todd Weaver's avatar
Todd Weaver committed
102
103
                          </object>
                        </child>
104
105
106
                        <style>
                          <class name="rounded-button"/>
                        </style>
Todd Weaver's avatar
Todd Weaver committed
107
108
109
110
111
112
113
114
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">0</property>
                      </packing>
                    </child>
                    <child>
115
                      <object class="GtkButton" id="video_dl">
Todd Weaver's avatar
Todd Weaver committed
116
                        <property name="visible">True</property>
117
118
119
120
121
122
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="tooltip-text" translatable="yes">Download Video</property>
                        <property name="halign">center</property>
                        <property name="valign">center</property>
                        <signal name="clicked" handler="video_dl_button" swapped="no"/>
Todd Weaver's avatar
Todd Weaver committed
123
                        <child>
124
                          <object class="GtkImage">
Todd Weaver's avatar
Todd Weaver committed
125
126
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
127
                            <property name="icon-name">emblem-videos-symbolic</property>
Todd Weaver's avatar
Todd Weaver committed
128
129
                          </object>
                        </child>
130
131
132
                        <style>
                          <class name="rounded-button"/>
                        </style>
Todd Weaver's avatar
Todd Weaver committed
133
134
135
136
137
138
139
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                      </packing>
                    </child>
140
141
142
143
144
145
146
147
148
149
150
151
152
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
                    <property name="position">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkBox" id="playpause">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="halign">center</property>
                    <property name="hexpand">True</property>
Todd Weaver's avatar
Todd Weaver committed
153
                    <child>
154
                      <object class="GtkStack">
Todd Weaver's avatar
Todd Weaver committed
155
156
157
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <child>
158
                          <object class="GtkButton" id="play">
Todd Weaver's avatar
Todd Weaver committed
159
                            <property name="visible">True</property>
160
161
162
163
164
165
                            <property name="can-focus">True</property>
                            <property name="receives-default">True</property>
                            <property name="tooltip-text" translatable="yes">Play</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="play_button" swapped="no"/>
Todd Weaver's avatar
Todd Weaver committed
166
                            <child>
167
                              <object class="GtkImage">
Todd Weaver's avatar
Todd Weaver committed
168
                                <property name="visible">True</property>
169
170
171
                                <property name="can-focus">False</property>
                                <property name="icon-name">media-playback-start-symbolic</property>
                                <property name="icon_size">3</property>
Todd Weaver's avatar
Todd Weaver committed
172
173
                              </object>
                            </child>
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
                            <style>
                              <class name="rounded-button"/>
                              <class name="large"/>
                            </style>
                          </object>
                          <packing>
                            <property name="name">play</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkButton" id="pause">
                            <property name="visible">True</property>
                            <property name="can-focus">True</property>
                            <property name="receives-default">True</property>
                            <property name="tooltip-text" translatable="yes">Pause</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="pause_button" swapped="no"/>
Todd Weaver's avatar
Todd Weaver committed
192
                            <child>
193
                              <object class="GtkImage">
Todd Weaver's avatar
Todd Weaver committed
194
                                <property name="visible">True</property>
195
196
197
                                <property name="can-focus">False</property>
                                <property name="icon-name">media-playback-pause-symbolic</property>
                                <property name="icon_size">3</property>
Todd Weaver's avatar
Todd Weaver committed
198
199
                              </object>
                            </child>
200
201
202
203
                            <style>
                              <class name="rounded-button"/>
                              <class name="large"/>
                            </style>
Todd Weaver's avatar
Todd Weaver committed
204
205
                          </object>
                          <packing>
206
                            <property name="name">pause</property>
Todd Weaver's avatar
Todd Weaver committed
207
208
209
210
211
                            <property name="position">1</property>
                          </packing>
                        </child>
                      </object>
                      <packing>
212
                        <property name="expand">False</property>
Todd Weaver's avatar
Todd Weaver committed
213
                        <property name="fill">True</property>
214
                        <property name="position">1</property>
Todd Weaver's avatar
Todd Weaver committed
215
216
217
218
                      </packing>
                    </child>
                  </object>
                  <packing>
219
                    <property name="expand">True</property>
Todd Weaver's avatar
Todd Weaver committed
220
                    <property name="fill">True</property>
221
                    <property name="position">1</property>
Todd Weaver's avatar
Todd Weaver committed
222
223
224
                  </packing>
                </child>
                <child>
225
                  <object class="GtkBox" id="controls">
Todd Weaver's avatar
Todd Weaver committed
226
                    <property name="visible">True</property>
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
                    <property name="can-focus">False</property>
                    <property name="spacing">8</property>
                    <child>
                      <object class="GtkButton" id="speed">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="tooltip-text" translatable="yes">Adjust Speed</property>
                        <property name="halign">center</property>
                        <property name="valign">center</property>
                        <signal name="clicked" handler="speed_button" swapped="no"/>
                        <child>
                          <object class="GtkLabel">
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
                            <property name="label" translatable="yes">1x</property>
                            <property name="justify">center</property>
                            <attributes>
                              <attribute name="weight" value="bold"/>
                              <attribute name="scale" value="0.80000000000000004"/>
                            </attributes>
                          </object>
                        </child>
                        <style>
                          <class name="rounded-button"/>
                        </style>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">0</property>
                      </packing>
                    </child>
                    <child>
261
                      <object class="GtkStack">
262
                        <property name="visible">True</property>
263
                        <property name="can-focus">False</property>
264
                        <child>
265
                          <object class="GtkButton" id="fullscreen">
266
                            <property name="visible">True</property>
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
                            <property name="can-focus">True</property>
                            <property name="receives-default">True</property>
                            <property name="tooltip-text" translatable="yes">Fullscreen</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="fullscreen_button" swapped="no"/>
                            <child>
                              <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="can-focus">False</property>
                                <property name="icon-name">view-fullscreen-symbolic</property>
                              </object>
                            </child>
                            <style>
                              <class name="rounded-button"/>
                            </style>
283
                          </object>
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
                          <packing>
                            <property name="name">fullscreen</property>
                          </packing>
                        </child>
                        <child>
                          <object class="GtkButton" id="unfullscreen">
                            <property name="visible">True</property>
                            <property name="can-focus">True</property>
                            <property name="receives-default">True</property>
                            <property name="tooltip-text" translatable="yes">Unfullscreen</property>
                            <property name="halign">center</property>
                            <property name="valign">center</property>
                            <signal name="clicked" handler="unfullscreen_button" swapped="no"/>
                            <child>
                              <object class="GtkImage">
                                <property name="visible">True</property>
                                <property name="can-focus">False</property>
                                <property name="icon-name">view-fullscreen-symbolic</property>
                              </object>
                            </child>
                            <style>
                              <class name="rounded-button"/>
                            </style>
                          </object>
                          <packing>
                            <property name="name">unfullscreen</property>
                            <property name="position">1</property>
                          </packing>
312
313
314
315
316
317
318
319
                        </child>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                      </packing>
                    </child>
Todd Weaver's avatar
Todd Weaver committed
320
321
322
323
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">True</property>
324
                    <property name="position">2</property>
Todd Weaver's avatar
Todd Weaver committed
325
326
327
328
                  </packing>
                </child>
              </object>
              <packing>
329
330
331
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
Todd Weaver's avatar
Todd Weaver committed
332
333
              </packing>
            </child>
334
            <child>
335
              <object class="GtkScale" id="slider">
Todd Weaver's avatar
Todd Weaver committed
336
                <property name="visible">True</property>
337
                <property name="sensitive">False</property>
338
339
340
                <property name="can-focus">True</property>
                <property name="margin-top">6</property>
                <property name="margin-bottom">6</property>
341
                <property name="adjustment">slider-duration</property>
342
343
344
                <property name="show-fill-level">True</property>
                <property name="round-digits">1</property>
                <property name="draw-value">False</property>
345
                <property name="has-origin">False</property>
346
                <signal name="scroll-event" handler="swallow_slider_scroll_event" swapped="no"/>
347
                <signal name="value-changed" handler="seek_slider" swapped="no"/>
348
349
350
351
352
353
354
355
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
          </object>
356
357
358
          <packing>
            <property name="index">1</property>
          </packing>
359
360
361
362
363
364
365
366
367
368
        </child>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="position">0</property>
      </packing>
    </child>
    <child>
      <object class="GtkBox" id="details">
Todd Weaver's avatar
Todd Weaver committed
369
370
        <property name="visible">True</property>
        <property name="can-focus">False</property>
371
372
373
        <property name="margin-start">6</property>
        <property name="margin-end">6</property>
        <property name="orientation">vertical</property>
Todd Weaver's avatar
Todd Weaver committed
374
        <child>
375
          <object class="GtkLabel" id="title">
Todd Weaver's avatar
Todd Weaver committed
376
377
            <property name="visible">True</property>
            <property name="can-focus">False</property>
378
379
            <property name="halign">start</property>
            <property name="hexpand">True</property>
380
            <property name="label" translatable="yes">...</property>
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
            <property name="ellipsize">end</property>
            <attributes>
              <attribute name="weight" value="bold"/>
              <attribute name="scale" value="1"/>
            </attributes>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkBox">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
397
            <child>
398
              <object class="GtkLabel" id="channel">
399
400
401
402
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="halign">start</property>
                <property name="hexpand">True</property>
403
                <property name="label" translatable="yes">...</property>
404
                <property name="ellipsize">end</property>
Todd Weaver's avatar
Todd Weaver committed
405
              </object>
406
407
408
409
410
411
412
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
413
              <object class="GtkLabel" id="duration">
414
415
                <property name="visible">True</property>
                <property name="can-focus">False</property>
416
                <property name="halign">end</property>
417
                <property name="label" translatable="yes">...</property>
418
                <property name="justify">right</property>
419
                <property name="ellipsize">end</property>
420
421
422
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
423
424
425
426
427
428
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
Todd Weaver's avatar
Todd Weaver committed
429
430
            </child>
          </object>
431
432
433
434
435
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
Todd Weaver's avatar
Todd Weaver committed
436
        </child>
437
438
439
440
441
442
443
444
445
446
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="fill">True</property>
        <property name="position">1</property>
      </packing>
    </child>
    <style>
      <class name="results"/>
    </style>
Todd Weaver's avatar
Todd Weaver committed
447
448
  </template>
</interface>