Added an icon for tiny video resolution
authorMohammed Sameer <msameer@foolab.org>
Mon, 16 Sep 2013 20:30:53 +0000 (23:30 +0300)
committerMohammed Sameer <msameer@foolab.org>
Mon, 16 Sep 2013 20:30:53 +0000 (23:30 +0300)
icons/cameraplus-icon-m-camera-video-tiny-resolution.png [new file with mode: 0644]
icons/icon-m-camera-video-tiny-resolution.svg [new file with mode: 0644]
icons/icons.txt
qml/CameraTheme.qml

diff --git a/icons/cameraplus-icon-m-camera-video-tiny-resolution.png b/icons/cameraplus-icon-m-camera-video-tiny-resolution.png
new file mode 100644 (file)
index 0000000..9d07e79
Binary files /dev/null and b/icons/cameraplus-icon-m-camera-video-tiny-resolution.png differ
diff --git a/icons/icon-m-camera-video-tiny-resolution.svg b/icons/icon-m-camera-video-tiny-resolution.svg
new file mode 100644 (file)
index 0000000..36f5703
--- /dev/null
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363)  -->
+
+<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"
+   version="1.1"
+   id="icon-m-camera-video-low-resolution-layer"
+   x="0px"
+   y="0px"
+   width="32px"
+   height="32px"
+   viewBox="0 0 32 32"
+   style="enable-background:new 0 0 32 32;"
+   xml:space="preserve"
+   inkscape:version="0.48.3.1 r9886"
+   sodipodi:docname="icon-m-camera-video-low-resolution.svg"><metadata
+   id="metadata16"><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><defs
+   id="defs14">
+       
+       
+       
+       
+</defs><sodipodi:namedview
+   pagecolor="#ffffff"
+   bordercolor="#666666"
+   borderopacity="1"
+   objecttolerance="10"
+   gridtolerance="10"
+   guidetolerance="10"
+   inkscape:pageopacity="0"
+   inkscape:pageshadow="2"
+   inkscape:window-width="1024"
+   inkscape:window-height="686"
+   id="namedview12"
+   showgrid="false"
+   inkscape:zoom="13.914551"
+   inkscape:cx="16"
+   inkscape:cy="16"
+   inkscape:window-x="0"
+   inkscape:window-y="30"
+   inkscape:window-maximized="1"
+   inkscape:current-layer="icon-m-camera-video-low-resolution-layer" />
+<rect
+   y="0"
+   x="0"
+   id="rect4"
+   height="32"
+   width="32"
+   style="fill:none" /><path
+   style="fill:#ffffff"
+   d="M 22.65625 13.5 L 22.65625 18.09375 L 22.15625 18.09375 C 21.921344 20.092718 20.249586 21.65625 18.1875 21.65625 C 18.145317 21.65625 18.10437 21.657539 18.0625 21.65625 L 18.0625 22.65625 L 13.5 22.65625 L 13.5 27.25 L 27.25 27.25 L 27.25 13.5 L 22.65625 13.5 z "
+   id="polygon6" /><path
+   inkscape:connector-curvature="0"
+   id="path8"
+   d="M 20.555,11.39 H 22.51 V 9.408 h 0.873 V 8.535 h -0.937 c -0.191,0 -0.348,-0.468 -0.348,-0.659 V 6.485 c 0,-0.191 0.156,-0.348 0.348,-0.348 h 0.937 V 4.75 H 4.75 v 1.371 0.017 h 0.945 c 0.191,0 0.348,0.156 0.348,0.348 V 7.86 c 0,0.19 -0.157,0.658 -0.348,0.658 H 4.75 v 0.017 0.862 0.011 h 4.076 v 6.987 H 4.75 v 0.011 1.154 0.016 h 0.945 c 0.191,0 0.348,0.157 0.348,0.348 V 19.3 c 0,0.19 -0.157,0.347 -0.348,0.347 H 4.75 v 0.017 1.1 h 6.633 v -0.202 h 4.585 V 16.4 l -5.391,0.006 V 16.395 H 10.572 V 9.408 h 0.005 V 9.397 h 9.894 m -7.43,8.511 c 0,-0.191 0.158,-0.348 0.349,-0.348 h 1.391 c 0.191,0 0.348,0.156 0.348,0.348 V 19.3 c 0,0.19 -0.156,0.347 -0.348,0.347 H 13.39 c -0.191,0 -0.349,-0.156 -0.349,-0.347 V 17.908 z M 17.577,6.485 c 0,-0.191 0.156,-0.348 0.349,-0.348 h 1.391 c 0.19,0 0.348,0.156 0.348,0.348 v 1.391 c 0,0.191 -0.157,0.659 -0.348,0.659 h -1.391 c -0.192,0 -0.349,-0.468 -0.349,-0.659 V 6.485 z m -4.536,0 c 0,-0.191 0.158,-0.348 0.349,-0.348 h 1.391 c 0.191,0 0.348,0.156 0.348,0.348 v 1.391 c 0,0.191 -0.156,0.659 -0.348,0.659 H 13.39 c -0.191,0 -0.349,-0.468 -0.349,-0.659 V 6.485 z M 8.492,7.86 V 6.485 c 0,-0.191 0.156,-0.348 0.347,-0.348 h 1.391 c 0.192,0 0.348,0.156 0.348,0.348 V 7.86 c 0,0.19 -0.156,0.658 -0.348,0.658 H 8.839 C 8.647,8.519 8.492,8.051 8.492,7.86 z m 2.086,11.44 c 0,0.19 -0.156,0.347 -0.348,0.347 H 8.839 c -0.191,0 -0.347,-0.156 -0.347,-0.347 v -1.376 c 0,-0.19 0.156,-0.348 0.347,-0.348 h 1.391 c 0.192,0 0.348,0.157 0.348,0.348 V 19.3 z"
+   style="fill:#ffffff" /><path
+   inkscape:connector-curvature="0"
+   id="path10"
+   d="m 23.739,8.037 c 0.046,0.015 0.091,0.031 0.136,0.046 V 8.037 h -0.136 z"
+   style="fill:none" />
+</svg>
\ No newline at end of file
index 42de8c9..ba0c42e 100644 (file)
@@ -39,6 +39,7 @@ icon-m-camera-video-record 64 64 icon-m-camera-video.svg
 icon-m-camera-video-fine-resolution 32 32 icon-m-camera-video-fine-resolution.svg
 icon-m-camera-video-high-resolution 32 32 icon-m-camera-video-high-resolution.svg
 icon-m-camera-video-low-resolution 32 32 icon-m-camera-video-low-resolution.svg
+icon-m-camera-video-tiny-resolution 32 32 icon-m-camera-video-tiny-resolution.svg
 icon-m-camera-manual-exposure 48 48 exposure.svg
 icon-m-camera-filter-black-white 48 48 filter-black-white.svg
 icon-m-camera-filter-negative 48 48 filter-negative.svg
index 5d36dc9..584cc52 100644 (file)
@@ -86,15 +86,7 @@ QtObject {
     property string resetIconId: "image://theme/cameraplus-icon-m-settings-reset"
 
     function videoIcon(ratio, res, device) {
-        if (res == "high") {
-            return "image://theme/cameraplus-icon-m-camera-video-high-resolution"
-        } else if (res == "medium") {
-            return "image://theme/cameraplus-icon-m-camera-video-fine-resolution"
-        } else if (res == "low") {
-            return "image://theme/cameraplus-icon-m-camera-video-low-resolution"
-        } else {
-            return ""
-        }
+        return "image://theme/cameraplus-icon-m-camera-video-"+ res + "-resolution"
     }
 
     function whiteBalanceIcon(val) {