diff options
author | MaZderMind <git@mazdermind.de> | 2015-06-20 17:54:59 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-06-20 17:54:59 +0200 |
commit | a9600d8c5e1383961ff44c6d846574909a5080c4 (patch) | |
tree | 3ef001a4aba71b26062e6e32ead2b4eead6bc456 /voctogui | |
parent | 879321be42087978856d3f71f0fffb331bfa355a (diff) |
Add some Icons to the UI
Diffstat (limited to 'voctogui')
-rw-r--r-- | voctogui/ui/blank-stream.svg | 75 | ||||
-rw-r--r-- | voctogui/ui/composite-fullscreen.svg | 63 | ||||
-rw-r--r-- | voctogui/ui/composite-picture-in-picture.svg | 70 | ||||
-rw-r--r-- | voctogui/ui/composite-side-by-side-equal.svg | 81 | ||||
-rw-r--r-- | voctogui/ui/composite-side-by-side-preview.svg | 77 | ||||
-rw-r--r-- | voctogui/ui/voctogui.ui | 57 |
6 files changed, 407 insertions, 16 deletions
diff --git a/voctogui/ui/blank-stream.svg b/voctogui/ui/blank-stream.svg new file mode 100644 index 0000000..8d1c570 --- /dev/null +++ b/voctogui/ui/blank-stream.svg @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32" + height="32" + id="svg3052" + version="1.1" + inkscape:version="0.48.5 r10040" + sodipodi:docname="blank-stream.svg"> + <defs + id="defs3054" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="22.4" + inkscape:cx="9.4155359" + inkscape:cy="15.895534" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1920" + inkscape:window-height="1014" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" /> + <metadata + id="metadata3057"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1020.3622)"> + <rect + style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#ff0000;stroke-width:0.50000000000000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062" + width="30" + height="16.875" + x="1" + y="1027.9247" /> + <path + style="fill:none;stroke:#ff0000;stroke-width:0.95493239;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="m 1.4349426,1028.3665 29.2343654,16.2057" + id="path4315" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cc" /> + <path + style="fill:none;stroke:#ff0000;stroke-width:0.95493239;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" + d="M 1.5202044,1044.3957 30.529344,1028.3178" + id="path4335" + inkscape:connector-curvature="0" + sodipodi:nodetypes="cc" /> + </g> +</svg> diff --git a/voctogui/ui/composite-fullscreen.svg b/voctogui/ui/composite-fullscreen.svg new file mode 100644 index 0000000..995cf93 --- /dev/null +++ b/voctogui/ui/composite-fullscreen.svg @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32" + height="32" + id="svg3052" + version="1.1" + inkscape:version="0.48.5 r10040" + sodipodi:docname="blank-stream.svg"> + <defs + id="defs3054" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="22.4" + inkscape:cx="17.339643" + inkscape:cy="15.895534" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1920" + inkscape:window-height="1014" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" /> + <metadata + id="metadata3057"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1020.3622)"> + <rect + style="color:#000000;fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062" + width="30" + height="16.875" + x="1" + y="1027.9247" /> + </g> +</svg> diff --git a/voctogui/ui/composite-picture-in-picture.svg b/voctogui/ui/composite-picture-in-picture.svg new file mode 100644 index 0000000..d271aaa --- /dev/null +++ b/voctogui/ui/composite-picture-in-picture.svg @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32" + height="32" + id="svg3052" + version="1.1" + inkscape:version="0.48.5 r10040" + sodipodi:docname="composite-fullscreen.svg"> + <defs + id="defs3054" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="22.4" + inkscape:cx="5.5788399" + inkscape:cy="10.804879" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1920" + inkscape:window-height="1014" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" /> + <metadata + id="metadata3057"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1020.3622)"> + <rect + style="color:#000000;fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062" + width="30" + height="16.875" + x="1" + y="1027.9247" /> + <rect + style="color:#000000;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.14390306;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062-6" + width="8.6341839" + height="4.8567281" + x="21.332664" + y="1038.9114" /> + </g> +</svg> diff --git a/voctogui/ui/composite-side-by-side-equal.svg b/voctogui/ui/composite-side-by-side-equal.svg new file mode 100644 index 0000000..ec19dd0 --- /dev/null +++ b/voctogui/ui/composite-side-by-side-equal.svg @@ -0,0 +1,81 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32" + height="32" + id="svg3052" + version="1.1" + inkscape:version="0.48.5 r10040" + sodipodi:docname="composite-side-by-side-preview.svg"> + <defs + id="defs3054" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="15.839192" + inkscape:cx="-1.5194006" + inkscape:cy="11.71477" + inkscape:document-units="px" + inkscape:current-layer="g3943" + showgrid="false" + inkscape:window-width="1920" + inkscape:window-height="1014" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" /> + <metadata + id="metadata3057"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1020.3622)"> + <rect + style="color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.10000000000000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062" + width="30" + height="16.875" + x="1" + y="1027.9247" /> + <g + id="g3943" + transform="matrix(0.9768158,0,0,0.9768158,0.70836066,24.02723)"> + <rect + y="1032.0743" + x="0.37704754" + height="8.57582" + width="15.245902" + id="rect3062-3" + style="color:#000000;fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.25409836;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + <rect + y="1032.0743" + x="15.686207" + height="8.57582" + width="15.245902" + id="rect3062-3-8" + style="color:#000000;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.25409836000000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> + </g> + </g> +</svg> diff --git a/voctogui/ui/composite-side-by-side-preview.svg b/voctogui/ui/composite-side-by-side-preview.svg new file mode 100644 index 0000000..1e9bd48 --- /dev/null +++ b/voctogui/ui/composite-side-by-side-preview.svg @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32" + height="32" + id="svg3052" + version="1.1" + inkscape:version="0.48.5 r10040" + sodipodi:docname="composite-picture-in-picture.svg"> + <defs + id="defs3054" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="22.4" + inkscape:cx="15.069683" + inkscape:cy="13.944982" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1920" + inkscape:window-height="1014" + inkscape:window-x="0" + inkscape:window-y="27" + inkscape:window-maximized="1" /> + <metadata + id="metadata3057"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-1020.3622)"> + <rect + style="color:#000000;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.10000000000000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062" + width="30" + height="16.875" + x="1" + y="1027.9247" /> + <rect + style="color:#000000;fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.14390306;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062-6" + width="8.6341839" + height="4.8567281" + x="22.311062" + y="1039.8778" /> + <rect + style="color:#000000;fill:#0000ff;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.34266803;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3062-3" + width="20.560081" + height="11.565046" + x="0.92133397" + y="1027.8459" /> + </g> +</svg> diff --git a/voctogui/ui/voctogui.ui b/voctogui/ui/voctogui.ui index ca7dd32..4fb75f5 100644 --- a/voctogui/ui/voctogui.ui +++ b/voctogui/ui/voctogui.ui @@ -2,6 +2,31 @@ <!-- Generated with glade 3.18.3 --> <interface> <requires lib="gtk+" version="3.12"/> + <object class="GtkImage" id="img-blank-stream"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">blank-stream.svg</property> + </object> + <object class="GtkImage" id="img-composite-fullscreen"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">composite-fullscreen.svg</property> + </object> + <object class="GtkImage" id="img-composite-picture-in-picture"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">composite-picture-in-picture.svg</property> + </object> + <object class="GtkImage" id="img-composite-side-by-side-equal"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">composite-side-by-side-equal.svg</property> + </object> + <object class="GtkImage" id="img-composite-side-by-side-preview"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="pixbuf">composite-side-by-side-preview.svg</property> + </object> <object class="GtkListStore" id="liststore_audio"> <columns> <!-- column-name name --> @@ -31,12 +56,15 @@ <property name="can_focus">False</property> <property name="opacity">0.98999999999999999</property> <property name="hexpand">True</property> + <property name="toolbar_style">both</property> <child> - <object class="GtkToolButton" id="composite-fullscreen"> + <object class="GtkToggleToolButton" id="composite-fullscreen"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Fullscreen</property> <property name="use_underline">True</property> + <property name="icon_widget">img-composite-fullscreen</property> + <accelerator key="F1" signal="clicked"/> </object> <packing> <property name="expand">False</property> @@ -44,11 +72,13 @@ </packing> </child> <child> - <object class="GtkToolButton" id="composite-picture-in-picture"> + <object class="GtkToggleToolButton" id="composite-picture-in-picture"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Picture in Picture</property> <property name="use_underline">True</property> + <property name="icon_widget">img-composite-picture-in-picture</property> + <accelerator key="F2" signal="clicked"/> </object> <packing> <property name="expand">False</property> @@ -56,11 +86,13 @@ </packing> </child> <child> - <object class="GtkToolButton" id="composite-side-by-side-equal"> + <object class="GtkToggleToolButton" id="composite-side-by-side-equal"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Side-by-side Equal</property> <property name="use_underline">True</property> + <property name="icon_widget">img-composite-side-by-side-equal</property> + <accelerator key="F3" signal="clicked"/> </object> <packing> <property name="expand">False</property> @@ -68,11 +100,13 @@ </packing> </child> <child> - <object class="GtkToolButton" id="composite-side-by-side-preview"> + <object class="GtkToggleToolButton" id="composite-side-by-side-preview"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">Side-by-side Preview</property> <property name="use_underline">True</property> + <property name="icon_widget">img-composite-side-by-side-preview</property> + <accelerator key="F4" signal="clicked"/> </object> <packing> <property name="expand">False</property> @@ -95,18 +129,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">Blank Stream</property> <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="homogeneous">True</property> - </packing> - </child> - <child> - <object class="GtkToolButton" id="enable_stream"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label" translatable="yes">Enable Stream</property> - <property name="use_underline">True</property> + <property name="icon_widget">img-blank-stream</property> </object> <packing> <property name="expand">False</property> @@ -129,6 +152,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">Fullscreen Preview</property> <property name="use_underline">True</property> + <accelerator key="f" signal="clicked" modifiers="GDK_CONTROL_MASK"/> </object> <packing> <property name="expand">False</property> @@ -141,6 +165,7 @@ <property name="can_focus">False</property> <property name="label" translatable="yes">Freeze Preview</property> <property name="use_underline">True</property> + <accelerator key="g" signal="clicked" modifiers="GDK_CONTROL_MASK"/> </object> <packing> <property name="expand">False</property> |