diff options
Diffstat (limited to 'iphone/res')
-rw-r--r-- | iphone/res/ZBarSDK-Info.plist | 16 | ||||
-rw-r--r-- | iphone/res/ZBarSDK-bg.svg | 78 | ||||
-rw-r--r-- | iphone/res/buttondown.svg | 57 | ||||
-rw-r--r-- | iphone/res/buttonmask.svg | 26 | ||||
-rw-r--r-- | iphone/res/buttonup.svg | 57 | ||||
-rw-r--r-- | iphone/res/lightbulb.svg | 108 | ||||
-rw-r--r-- | iphone/res/shakyhand.svg | 108 | ||||
-rw-r--r-- | iphone/res/shakyphone.svg | 51 | ||||
-rw-r--r-- | iphone/res/stopwatch.svg | 88 | ||||
-rw-r--r-- | iphone/res/zbar-back.png | bin | 0 -> 319 bytes | |||
-rw-r--r-- | iphone/res/zbar-back.svg | 31 | ||||
-rw-r--r-- | iphone/res/zbar-help.html | 90 | ||||
-rw-r--r-- | iphone/res/zbar-helpicons.png | bin | 0 -> 18350 bytes | |||
-rw-r--r-- | iphone/res/zbar-samples.png | bin | 0 -> 1181 bytes |
14 files changed, 710 insertions, 0 deletions
diff --git a/iphone/res/ZBarSDK-Info.plist b/iphone/res/ZBarSDK-Info.plist new file mode 100644 index 0000000..0902ddb --- /dev/null +++ b/iphone/res/ZBarSDK-Info.plist @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>English</string> + <key>CFBundleName</key> + <string>ZBarSDK</string> + <key>CFBundleVersion</key> + <string>1.3.1</string> + <key>CFBundleSignature</key> + <string>????</string> + <key>NSHumanReadableCopyright</key> + <string>Copyright 2010 © Jeff Brown et al</string> +</dict> +</plist> diff --git a/iphone/res/ZBarSDK-bg.svg b/iphone/res/ZBarSDK-bg.svg new file mode 100644 index 0000000..59485e1 --- /dev/null +++ b/iphone/res/ZBarSDK-bg.svg @@ -0,0 +1,78 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2010 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved + + icon size = 64 + grid spacing = 32 + + $ java -Xmx2000m -jar batik-rasterizer.jar -w 4096 -h 4864 -d res/ZBarSDK-bg.8x.png res/ZBarSDK-bg.svg + $ convert -resize 12.5% res/ZBarSDK-bg.8x.png res/ZBarSDK-bg.png +--> + +<svg version="1.1" id="top" + width="512px" height="608px" + viewBox="-1,-1 16,19" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>ZBar iPhone SDK DMG Folder Background Image</title> + + <defs> + <style type="text/css"><![CDATA[ + path, line { fill: none; stroke-linejoin: round; stroke-linecap: round } + #bg { fill: url(#bg-grad) } + #grid { fill: none; stroke: white; stroke-opacity: .25 ; stroke-width: .05 } + #icons { marker: url(#icon) } + #icon *, .text { fill: none; stroke: red; stroke-width: .05 } + .section { fill: white; stroke: black; stroke-width: .1 } + #drag { stroke: none; fill: url(#drag-grad) } + text { text-anchor: middle; font-family: sans-serif; font-size: .78125 } + .small { font-size: 66% } + ]]></style> + <marker id="icon" overflow="visible"><rect x="-1" y="-1" width="2" height="2"/></marker> + <linearGradient id="bg-grad" x2="0%" y1="5%" y2="100%"> + <stop offset="0%" stop-color="#36a"/> + <stop offset="100%" stop-color="#112"/> + </linearGradient> + <linearGradient id="drag-grad" x1="100%" x2="0%"> + <stop offset="0%" stop-color="#4f8" stop-opacity="0.05"/> + <stop offset="72%" stop-color="#4f8" stop-opacity=".9"/> + <stop offset="100%" stop-color="#4f8" stop-opacity="1"/> + </linearGradient> + </defs> + + <rect id="bg" x="-1" y="-1" width="16" height="19"/> + + <rect class="section" x="1.5" y="-.25" width="11" height="4" rx=".5" ry=".5"/> + <rect class="section" x="1.5" y="4.75" width="11" height="4" rx=".5" ry=".5"/> + <rect class="section" x=".5" y="9.75" width="13" height="7.5" rx=".5" ry=".5"/> + + <text y="1.75"> + <tspan x="8.75" dy=".2344">Read this first</tspan> + </text> + <text y="6.75"> + <tspan x="8.75" dy="-.75">Then drag this</tspan> + <tspan x="8.75" dy="1">into your</tspan> + <tspan x="8.75" dy="1">Xcode project</tspan> + </text> + + <path id="drag" + d="M3.5,6.125 v1 h-2.75 v.3 l-1.1,-.8 l1.1,-.8 v.3z"/> + +<!-- + <g id="debug"> + <path id="grid" + d="M0,0h14 M0,2h14 M0,4h14 M0,6h14 M0,8h14 M0,10h14 M0,12h14 M0,14h14 M0,16h14 M0,18h14 + M0,0v17 M2,0v17 M4,0v17 M6,0v17 M8,0v17 M10,0v17 M12,0v17 M14,0v17"/> + <path id="icons" d="M3.5,1.5 M3.5,6.5 + M3,11.5 M7,11.5 M11,11.5 + M3,15 M7,15 M11,15"/> + <rect class="text" x="5.5" y=".25" width="6.5" height="3"/> + <rect class="text" x="5.5" y="5.25" width="6.5" height="3"/> + </g> +--> +</svg> diff --git a/iphone/res/buttondown.svg b/iphone/res/buttondown.svg new file mode 100644 index 0000000..799d5fc --- /dev/null +++ b/iphone/res/buttondown.svg @@ -0,0 +1,57 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2009 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="384px" height="384px" + viewBox="0,0 1,1" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>rounded button overlay</title> + + <defs> + <style type="text/css"><![CDATA[ + #bg { fill: #202020 } + #test { fill: #d22 } + #button { fill: black; stroke: none; filter: url(#emboss) } + ]]></style> + + <filter id="emboss" filterUnits="userSpaceOnUse" + x="-1" y="-1" width="3" height="3"> + <feFlood flood-color="black" + x=".05" y=".05" width=".9" height=".9"/> + <feGaussianBlur result="grad" stdDeviation=".1" + x="-1" y="-1" width="3" height="3"/> + + <feComponentTransfer> + <feFuncA type="linear" slope="-1" intercept="1"/> + </feComponentTransfer> + + <feSpecularLighting surfaceScale=".25" specularConstant=".75" + specularExponent="16" lighting-color="#ccc"> + <fePointLight x="6" y="-10" z="2"/> + </feSpecularLighting> + <feGaussianBlur result="spec" stdDeviation="0.015"/> + + <feColorMatrix in="grad" type="matrix" values=" +0 0 0 0 0 +0 0 0 0 0 +0 0 0 0 0 +0 0 0 .8 -.3 +"/> + <feComposite in2="spec" operator="over"/> + <feComposite in2="SourceAlpha" operator="in"/> + </filter> + </defs> +<!-- + <rect id="bg" x="-.5" y="-.5" width="2" height="2"/> + <rect id="test" width="1" height="1" rx=".2" ry=".2"/> +--> + <rect id="button" width="1" height="1" rx=".25" ry=".25"/> +</svg> diff --git a/iphone/res/buttonmask.svg b/iphone/res/buttonmask.svg new file mode 100644 index 0000000..55f0e29 --- /dev/null +++ b/iphone/res/buttonmask.svg @@ -0,0 +1,26 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2009 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="384px" height="384px" + viewBox="0,0 1,1" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>mask for button overlays</title> + + <defs> + <style type="text/css"><![CDATA[ + #bg { fill: white; stroke: none } + #mask { fill: black; stroke: none } + ]]></style> + </defs> + <!--<rect id="bg" x="-1" y="-1" width="3" height="3"/>--> + <rect id="mask" width="1" height="1" rx=".25" ry=".25"/> +</svg> diff --git a/iphone/res/buttonup.svg b/iphone/res/buttonup.svg new file mode 100644 index 0000000..861ca9a --- /dev/null +++ b/iphone/res/buttonup.svg @@ -0,0 +1,57 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2009 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="384px" height="384px" + viewBox="0,0 1,1" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>rounded button overlay</title> + + <defs> + <style type="text/css"><![CDATA[ + #bg { fill: #202020 } + #test { fill: #d22 } + #button { fill: black; stroke: none; filter: url(#emboss) } + ]]></style> + + <filter id="emboss" filterUnits="userSpaceOnUse" + x="-1" y="-1" width="3" height="3"> + <feFlood flood-color="black" + x=".05" y=".05" width=".9" height=".9"/> + <feGaussianBlur result="grad" stdDeviation=".1" + x="-1" y="-1" width="3" height="3"/> + + <feSpecularLighting surfaceScale=".25" specularConstant="1" + specularExponent="16" lighting-color="#ccc"> + <fePointLight x="6" y="-10" z="5"/> + </feSpecularLighting> + <feGaussianBlur result="spec" stdDeviation="0.015"/> + + <feColorMatrix in="grad" type="matrix" values=" +0 0 0 0 0 +0 0 0 0 0 +0 0 0 0 0 +0 0 0 -1.05 1 +"/> + <feComposite in2="spec" operator="over"/> + <feComposite in2="SourceAlpha" operator="in" result="result"/> + <feFlood flood-color="black"/> + <feComposite in2="SourceAlpha" operator="out"/> + <feComposite in2="result" operator="over"/> + </filter> + </defs> +<!-- + <rect id="bg" x="-.5" y="-.5" width="2" height="2"/> + + <rect id="test" width="1" height="1" rx=".2" ry=".2"/> +--> + <rect id="button" width="1" height="1" rx=".25" ry=".25"/> +</svg> diff --git a/iphone/res/lightbulb.svg b/iphone/res/lightbulb.svg new file mode 100644 index 0000000..1f8628c --- /dev/null +++ b/iphone/res/lightbulb.svg @@ -0,0 +1,108 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2009 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="512px" height="512px" + viewBox="0,0 1,1" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>lit light bulb icon</title> + + <defs> + <style type="text/css"><![CDATA[ + path, line { fill: none; stroke-linejoin: round; stroke-linecap: round } + #bg { fill: #202020 } + #bulb { fill: url(#bulb-on); stroke: #778; stroke-width: .06 } + #support { stroke: #888; stroke-width: .03; stroke-opacity: .4 } + #filament { stroke: #f80; stroke-width: .06; stroke-opacity: .5 } + #rays line { stroke: #fff; stroke-width: .1 } + #base { fill: #ccc; stroke: #777; stroke-width: .14 } + #screw { stroke: #777; stroke-width: .25 } + #nub { fill: #444; stroke: #444; stroke-width: .25 } + ]]></style> + + <radialGradient id="bulb-off" gradientUnits="userSpaceOnUse" cx="0" cy="0" r="1.2"> + <stop offset="0%" stop-color="#ccc"/> + <stop offset="33%" stop-color="#ccc"/> + <stop offset="100%" stop-color="#999"/> + </radialGradient> + + <radialGradient id="bulb-on" gradientUnits="userSpaceOnUse" cx="0" cy="0" r="1.2"> + <stop offset="0%" stop-color="#ffc"/> + <stop offset="33%" stop-color="#ffb"/> + <stop offset="100%" stop-color="#dda"/> + </radialGradient> + </defs> + + <!--<rect id="bg" width="1" height="1"/>--> + + <g transform="translate(.5,.28) scale(.27)"> + <path id="bulb" d=" +M-.42,1.85 +C-.42,1.4 -.42,1.22 -.866,.5 +A1,1 0 1 1 .866,.5 +C.42,1.22 .42,1.4 .42,1.85 +z +"/> + <path id="support" d=" +M-.42,.1 +C-.15,.9 -.15,1 -.15,1.86 +M.42,.1 +C.15,.9 .15,1 .15,1.86 +"/> + <path id="filament" d=" +M-.42,.1 +a.18,.15 0 1 1 .28,0 +a.18,.15 0 1 1 .28,0 +a.18,.15 0 1 1 .28,0 +"/> + + <g id="rays"> + <line x1="1.2" x2="1.8" transform="rotate(-30)"/> + <line x1="1.2" x2="1.8"/> + <line x1="1.2" x2="1.8" transform="rotate(30)"/> + <line x1="-1.2" x2="-1.8" transform="rotate(-30)"/> + <line x1="-1.2" x2="-1.8"/> + <line x1="-1.2" x2="-1.8" transform="rotate(30)"/> + </g> + </g> + + <g transform="translate(.5,.778) scale(.11)"> + <path id="base" d=" +M-1,-.05 +A2,.75 0 0 0 1,-.05 +V1.2 +L.55,1.6 +H-.55 +L-1,1.2 +z +"/> + <clipPath id="base-clip"><use xlink:href="#base"/></clipPath> + <path id="screw" clip-path="url(#base-clip)" d=" +M-1,.1 +a2.2,1 0 0 0 2,-.14 +M-1,.6 +a2.2,1 0 0 0 2,-.14 +M-1,1.1 +a2.2,1 0 0 0 2,-.14 +M-1,1.6 +a2.2,1 0 0 0 2,-.14 +"/> + </g> + + <path id="nub" transform="translate(.5,.954) scale(.06)" d=" +M-1,-.05 +A2,.333 0 0 0 1,-.05 +L.5,.5 +H-.5 +z +"/> + +</svg> diff --git a/iphone/res/shakyhand.svg b/iphone/res/shakyhand.svg new file mode 100644 index 0000000..2e3c594 --- /dev/null +++ b/iphone/res/shakyhand.svg @@ -0,0 +1,108 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2009-2010 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="512px" height="512px" + viewBox="0,0 1,1" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>unstable hand icon</title> + + <defs> + <style type="text/css"><![CDATA[ + path, line, circle { fill: none; stroke-linejoin: round; stroke-linecap: round } + #bg { fill: #202020 } + #hand-outline { stroke: #a76; stroke-width: .75; stroke-opacity: 1 } + #skin-base { fill: #db9 } + #skin circle { fill: url(#skin-grad);/* stroke: red; stroke-width: .01*/ } + #shakes { stroke: #d5f; stroke-width: .03125 } /* #f43 */ + ]]></style> + + <clipPath id="hand-clip"><use xlink:href="#hand-outline"/></clipPath> + <clipPath id="wrist-clip"><rect x="-20" y="3" width="40" height="42"/></clipPath> + + <radialGradient id="skin-grad" r=".5" cx=".5" cy=".5"> + <stop offset="0%" stop-color="#edc"/> + <stop offset="100%" stop-color="#edc" stop-opacity="0"/> + </radialGradient> + </defs> + + <!--<rect id="bg" width="1" height="1"/>--> + + <g id="hand" transform="translate(.5,-.025) scale(.0225)" + clip-path="url(#wrist-clip)"> + <g id="skin" clip-path="url(#hand-clip)"> + <rect id="skin-base" x="-20" y="0" width="40" height="50"/> + + <circle r="10" transform="translate(4,33) rotate(-50) scale(1,.75)"/> + <circle r="4" transform="translate(-7,32) rotate(-8) scale(1,2)"/> + <circle r="4" transform="translate(-1.5,23) rotate(-8) scale(2.4,.9)"/> + + <g transform="rotate(-27.44 0,40)"> + <circle r="1.5" transform="translate(0,11.5) scale(.85,1.5)"/> + <circle r="1.5" transform="translate(0,15.25) scale(.85,1.5)"/> + <circle r="1.5" transform="translate(-.2,19) scale(.85,1.5)"/> + </g> + <g transform="rotate(-13.83 0,40) translate(0,.5)"> + <circle r="2" transform="translate(0,6.25) scale(.85,1.75)"/> + <circle r="2" transform="translate(0,11.5) scale(.85,1.75)"/> + <circle r="2" transform="translate(0,16.75) scale(.85,1.75)"/> + </g> + <g> + <circle r="2" transform="translate(0,6.25) scale(.85,1.75)"/> + <circle r="2" transform="translate(0,11.5) scale(.85,1.75)"/> + <circle r="2" transform="translate(0,16.75) scale(.85,1.75)"/> + </g> + <g transform="rotate(13.83 0,40) translate(0,.5)"> + <circle r="2" transform="translate(0,6.25) scale(.85,1.75)"/> + <circle r="2" transform="translate(0,11.5) scale(.85,1.75)"/> + <circle r="2" transform="translate(0,16.75) scale(.85,1.75)"/> + </g> + <g transform="rotate(23.025 0,49.75)"> + <circle r="2.25" transform="translate(0,18) scale(.85,1.5)"/> + <circle r="2.25" transform="translate(0,24) scale(.85,1.5)"/> + </g> + </g> + + <path id="hand-outline" d=" +M-8,45 V39 +C-11,36 -11,32 -11,29 +C-11,22 -11,22 -14.7,14.7 +A1.4,1.4 0 0 1 -12.2,13.2 +L-7.75,21.8 +A.6,.6 0 0 0 -6.66,21.3 +L-10,8 +A2,2 0 0 1 -6,7 +L-3,19.2 +A.5,.5 0 0 0 -2,19 +L-2,5.5 +A2,2 0 0 1 2,5.5 +L2,19 +A.5,.5 0 0 0 3,19.2 +L6,7 +A2,2 0 0 1 10,8 +C7,20 7,19 7,25.5 +A.42,.42 0 0 0 7.75,25.75 +L10.6,18.8 +A2.25,2.25 0 0 1 14.8,20.6 +C11.7,28 11.7,27.7 11,30 +C10,34 7,39 3,40 +L3,45 +"/> + </g> + + <path id="shakes" transform="translate(.5,.5) rotate(22.5)" d=" +M.484,0 A.484,.484 0 0 0 .342,-.342 +M.39,0 A.39,.39 0 0 0 .276,-.276 +M-.484,0 A.484,.484 0 0 0 -.342,.342 +M-.39,0 A.39,.39 0 0 0 -.276,.276 +"/> + +</svg> diff --git a/iphone/res/shakyphone.svg b/iphone/res/shakyphone.svg new file mode 100644 index 0000000..96db019 --- /dev/null +++ b/iphone/res/shakyphone.svg @@ -0,0 +1,51 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2009-2010 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="512px" height="512px" + viewBox="0,0 1,1" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>iPhone shake gesture icon</title> + + <defs> + <style type="text/css"><![CDATA[ + path, line, circle, rect { fill: none; stroke-linejoin: round; stroke-linecap: round } + #bg { fill: black } + #outline { fill: black; stroke: #4ef; stroke-width: .1 } + #screen { fill: #045; stroke: none } + #home { fill: #045; stroke: #4ef; stroke-width: .05 } + #speaker { stroke: #4ef; stroke-width: .0625 } + ]]></style> + </defs> + + <!--<rect id="bg" width="1" height="1"/>--> + + <use transform="translate(.5,.5) scale(.2) rotate(-15)" + style="opacity: .25" + xlink:href="#phone"/> + + <use transform="translate(.5,.5) scale(.2) rotate(-5)" + style="opacity: .5" + xlink:href="#phone"/> + + <use transform="translate(.5,.5) scale(.2) rotate(5)" + style="opacity: .75" + xlink:href="#phone"/> + + <g transform="translate(.5,.5) scale(.2) rotate(15)"> + <g id="phone"> + <rect id="outline" x="-1.1875" y="-2.21875" width="2.375" height="4.4375" rx=".25" ry=".25"/> + <rect id="screen" x="-1" y="-1.5" width="2" height="3"/> + <circle id="home" cy="1.84375" r=".21875"/> + <line id="speaker" x1="-.25" x2=".25" y1="-1.84375" y2="-1.84375"/> + </g> + </g> +</svg> diff --git a/iphone/res/stopwatch.svg b/iphone/res/stopwatch.svg new file mode 100644 index 0000000..186f2e9 --- /dev/null +++ b/iphone/res/stopwatch.svg @@ -0,0 +1,88 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2009 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="512px" height="512px" + viewBox="0,0 1,1" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>stopwatch icon</title> + + <defs> + <style type="text/css"><![CDATA[ + path, line, circle, rect { fill: none; stroke-linejoin: round; stroke-linecap: round } + #bg { fill: #202020 } + #face { fill: url(#face-grad); stroke: none } + #button * { stroke: #fd0 } + #btn-top { stroke: url(#btn-grad); stroke-width: .45 } + #btn-stem { stroke-width: .5 } + #btn-base { fill: #fd0; stroke-width: .18 } + #ticks { stroke: #444; stroke-width: .06 } + #swoosh { fill: url(#swoosh-grad); stroke: none } + #hand { stroke: black; stroke-width: .1 } + ]]></style> + + <radialGradient id="face-grad" gradientUnits="userSpaceOnUse" cx="0" cy="0" r="1"> + <stop offset="0%" stop-color="#fff"/> + <stop offset="50%" stop-color="#eef"/> + <stop offset="85%" stop-color="#ccd"/> + <stop offset="85%" stop-color="#c93"/> + <stop offset="91.25%" stop-color="#fd0"/> + <stop offset="93.75%" stop-color="#fd0"/> + <stop offset="100%" stop-color="#c93"/> + </radialGradient> + + <radialGradient id="btn-grad" gradientUnits="userSpaceOnUse" + cx="0" cy="0" r="2" gradientTransform="scale(1,.2)"> + <stop offset="0%" stop-color="#fd0"/> + <stop offset="10%" stop-color="#fd0"/> + <stop offset="100%" stop-color="#c93"/> + </radialGradient> + + <linearGradient id="swoosh-grad" gradientUnits="userSpaceOnUse" + x1="1" x2="0" gradientTransform="translate(.22) rotate(-18)" + spreadMethod="pad"> + <stop offset="0%" stop-color="#45f"/> + <stop offset="100%" stop-color="#45f" stop-opacity="0"/> + </linearGradient> + </defs> + + <!--<rect id="bg" width="1" height="1"/>--> + + <g transform="translate(.5,.56) scale(.4375)"> + <g id="button" transform="translate(0,-1.28) scale(.24) translate(0,.225)"> + <path id="btn-stem" d="M0,.1v1"/> + <path id="btn-top" d="M-1,0h2"/> + <rect id="btn-base" x="-1" y=".8" width="2" height=".5"/> + </g> + + <circle id="face" r="1"/> + + <g id="ticks"> + <line y2="-.15" transform="translate(0,-.6)"/> + <line y2="-.15" transform="rotate(36) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(72) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(108) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(144) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(180) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(216) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(252) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(288) translate(0,-.6)"/> + <line y2="-.15" transform="rotate(324) translate(0,-.6)"/> + </g> + + <g transform="scale(.8)"> + <path id="swoosh" + d="M0,0 v-1 a1,1 0 0 1 .951,.691z"/> + <line id="hand" transform="scale(.975)" x2=".951" y2="-.309"/> + </g> + </g> + +</svg> diff --git a/iphone/res/zbar-back.png b/iphone/res/zbar-back.png Binary files differnew file mode 100644 index 0000000..6a0681d --- /dev/null +++ b/iphone/res/zbar-back.png diff --git a/iphone/res/zbar-back.svg b/iphone/res/zbar-back.svg new file mode 100644 index 0000000..64f1aba --- /dev/null +++ b/iphone/res/zbar-back.svg @@ -0,0 +1,31 @@ +<?xml version="1.0"?> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" + "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> + +<!-- + Copyright 2010 (c) Jeff Brown <spadix@users.sourceforge.net> + All Rights Reserved +--> + +<svg version="1.1" id="top" + width="29px" height="24px" + viewBox="-.175,-.175 1.45,1.2" preserveAspectRatio="xMidYMid" overflow="visible" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink"> + + <title>left pointing arrow toolbar icon</title> + + <defs> + <style type="text/css"><![CDATA[ + path, line { fill: none; stroke-linejoin: round; stroke-linecap: round } + #bg { fill: #78a } + #arrow { fill: white;; stroke: white; stroke-width: .1 } + ]]></style> + </defs> + + <!--<rect id="bg" x="-.5" y="-.5" width="2" height="2"/>--> + + <g> + <path id="arrow" d="M.1,.5 L.9,.1 .9,.9 z"/> + </g> +</svg> diff --git a/iphone/res/zbar-help.html b/iphone/res/zbar-help.html new file mode 100644 index 0000000..886cbb2 --- /dev/null +++ b/iphone/res/zbar-help.html @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<!-- +Copyright 2009-2010 (c) Jeff Brown <spadix@users.sourceforge.net> +All Rights Reserved +--> +<html> +<head> +<meta name="viewport" content="width=device-width, shrink-to-fit=YES"> +<title>Barcode Reader Help</title> +<style type="text/css"> +html, body { margin: 0; padding: 0; background: black; color: white; font-family: sans-serif; font-size: 16px } +h1 { margin: .5em 0; text-align: center; font-size: 28px } +h2 { font-size: 24px } +hr { margin: 1em 0; height: 0; border: none; border-top: solid 1px #666 } +.smaller { font-size: 85% } +p { margin: .5em } +a { color: #8af } +p.cen { text-align: center } +p.title { margin: 1em; clear: both; text-align: center } +div.col { width: 50% } +.clear { clear: both } +.iconlist { position: relative; clear: both; margin: 4px 0; padding: 1px 0 } +.icon { width: 64px; height: 64px; overflow: hidden; margin: 12px 16px; padding: 0; background: url("zbar-helpicons.png") no-repeat; font: bold 56px "Marker Felt"; text-align: center } +.sample { display: block; height: 96px; overflow: hidden; margin: 12px auto; padding: 0; background: url("zbar-samples.png") no-repeat; text-align: center} +.left { float: left } +.right { float: right } +.iconlist > p { margin: 10px } +.iconlist > h2 { margin: 10px } +</style> +</head> +<body> +<h1 id="title" style="color: #f88">Barcode Reader Help</h1> +<hr/> +<p class="title">Recognized barcodes should look like</p> +<div class="col left"> +<a class="sample" style="width: 118px; background-position: -96px" href="http://wikipedia.org/wiki/EAN-13"></a> +<p class="cen"><a href="http://wikipedia.org/wiki/EAN-13">EAN/UPC<br/>Product Codes</a></p> +</div> +<div class="col right"> +<a class="sample" style="width: 96px" href="http://wikipedia.org/wiki/QR_Code"></a> +<p class="cen"><a href="http://wikipedia.org/wiki/QR_Code">QR Codes</a></p> +</div> +<p class="clear cen smaller">Also recognized, but not shown: +<a href="http://wikipedia.org/wiki/Code_128">Code 128</a>, +<a href="http://wikipedia.org/wiki/DataBar">DataBar (RSS)</a>, +<a href="http://en.wikipedia.org/wiki/Code_93">Code 93</a>, +<a href="http://wikipedia.org/wiki/Code_39">Code 39</a> and +<a href="http://wikipedia.org/wiki/Codabar">Codabar</a> and +<a href="http://wikipedia.org/wiki/Interleaved_2_of_5">Interleaved 2 of 5</a></p> +<hr/> +<p class="clear title">Hints for successful scanning</p> +<div class="iconlist"> +<div class="icon left"></div> +<p>Ensure there is plenty of</p> +<h2 style="color: #ff4">Light</h2> +</div> +<div class="iconlist"> +<div class="icon left" style="background: none; color: #2d4">4"</div> +<h2 style="color: #4f6">Distance</h2> +<p>should be about 3 to 5 inches</p> +</div> +<div class="iconlist"> +<div class="icon left" style="background-position: 0 -64px"></div> +<h2 style="color: #3ee">Shake</h2> +<p>to force the camera to focus</p> +</div> +<div class="iconlist"> +<div class="icon left" style="background-position: 0 -128px"></div> +<h2 style="color: #59f">Wait</h2> +<p>for the autofocus to finish</p> +</div> +<div class="iconlist"> +<div class="icon left" style="background-position: 0 -192px"></div> +<h2 style="color: #d5f">Hold Still</h2> +<p>while the barcode is scanned</p> +</div> +<script type="text/javascript"> +function onZBarHelp(argv) { +var title; +switch(argv.reason) { +case "INFO": break; +case "FAIL": title = "No Barcode Detected"; break; +} +if(title) document.getElementById('title').textContent = title; +} +</script> +</body> +</html> diff --git a/iphone/res/zbar-helpicons.png b/iphone/res/zbar-helpicons.png Binary files differnew file mode 100644 index 0000000..2a07e7c --- /dev/null +++ b/iphone/res/zbar-helpicons.png diff --git a/iphone/res/zbar-samples.png b/iphone/res/zbar-samples.png Binary files differnew file mode 100644 index 0000000..7c805e2 --- /dev/null +++ b/iphone/res/zbar-samples.png |