aboutsummaryrefslogtreecommitdiff
path: root/voctogui/ui
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-12-03 00:44:22 +0100
committerMaZderMind <git@mazdermind.de>2015-12-03 00:44:22 +0100
commit331f1dc3fc5ee57c4714a0f5d78160e8aec9cbff (patch)
tree924ca1f2e67a7c9971f355631f75590506afe76d /voctogui/ui
parentcfae754c4a5d20431a42ed8d3864eec51de3c490 (diff)
[voctogui] implement warning-overlay in gtk instead of rendering it into the video
Diffstat (limited to 'voctogui/ui')
-rw-r--r--voctogui/ui/voctogui.ui24
1 files changed, 20 insertions, 4 deletions
diff --git a/voctogui/ui/voctogui.ui b/voctogui/ui/voctogui.ui
index 3501c1b..5586081 100644
--- a/voctogui/ui/voctogui.ui
+++ b/voctogui/ui/voctogui.ui
@@ -218,16 +218,32 @@
</packing>
</child>
<child>
- <object class="GtkDrawingArea" id="video_main">
- <property name="width_request">800</property>
- <property name="height_request">450</property>
+ <object class="GtkOverlay" id="video_overlay">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="double_buffered">False</property>
<property name="margin_left">5</property>
<property name="margin_right">5</property>
<property name="margin_top">5</property>
<property name="margin_bottom">5</property>
+ <child>
+ <object class="GtkDrawingArea" id="video_main">
+ <property name="width_request">800</property>
+ <property name="height_request">450</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="double_buffered">False</property>
+ </object>
+ </child>
+ <child type="overlay">
+ <object class="GtkDrawingArea" id="video_overlay_drawingarea">
+ <property name="height_request">32</property>
+ <property name="app_paintable">True</property>
+ <property name="can_focus">False</property>
+ <property name="no_show_all">True</property>
+ <property name="valign">start</property>
+ <property name="vexpand">False</property>
+ </object>
+ </child>
</object>
<packing>
<property name="expand">True</property>