Ticket #2006: 0001-icons-used-for-touchpad-device.patch

File 0001-icons-used-for-touchpad-device.patch, 4.5 KB (added by walter, 14 years ago)

final version of the patch

  • icons/scalable/device/Makefile.am

    From 3f91e02d0b9505a2bb7d65ce4ca78c7fd0aa2cc2 Mon Sep 17 00:00:00 2001
    From: Walter Bender <walter@sugarlabs.org>
    Date: Fri, 6 Aug 2010 15:03:44 -0400
    Subject: [PATCH] icons used for touchpad device
    
    ---
     icons/scalable/device/Makefile.am             |    4 +++-
     icons/scalable/device/touchpad-capacitive.svg |   18 ++++++++++++++++++
     icons/scalable/device/touchpad-resistive.svg  |   21 +++++++++++++++++++++
     3 files changed, 42 insertions(+), 1 deletions(-)
     create mode 100644 icons/scalable/device/touchpad-capacitive.svg
     create mode 100644 icons/scalable/device/touchpad-resistive.svg
    
    diff --git a/icons/scalable/device/Makefile.am b/icons/scalable/device/Makefile.am
    index 28818ab..2e4e198 100644
    a b icon_DATA = \ 
    8484        speaker-muted-000.svg           \
    8585        speaker-muted-033.svg           \
    8686        speaker-muted-066.svg           \
    87         speaker-muted-100.svg           
     87        speaker-muted-100.svg           \
     88        touchpad-capacitive.svg         \
     89        touchpad-resistive.svg
    8890
    8991EXTRA_DIST = $(icon_DATA)
    9092
  • new file icons/scalable/device/touchpad-capacitive.svg

    diff --git a/icons/scalable/device/touchpad-capacitive.svg b/icons/scalable/device/touchpad-capacitive.svg
    new file mode 100644
    index 0000000..e223b66
    - +  
     1<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
     2        <!ENTITY stroke_color "#010101">
     3        <!ENTITY fill_color "#ffffff">
     4]><svg enable-background="new 0 0 55 55" height="55px" id="Layer_1" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
     5<g
     6   transform="translate(0,-15.65)">
     7<path
     8   d="m 2.934,28.664 0,18.209 49.391,0 0,-18.209 -49.391,0 z M 36,45.833 l -17,0 0,-16.129 17,0 0,16.129 z"
     9   fill="&fill_color;"
     10   stroke="&stroke_color;"
     11   style="stroke-width:2" />
     12</g>
     13<path
     14   d="m 22.817123,49.135003 c 0,0 -3.23492,-8.766448 -3.243008,-9.837791 -0.0135,-1.797291 -2.398098,-2.342156 -2.398098,-2.342156 0,0 -0.621319,-2.249376 0,-2.770053 0.656117,-0.549837 2.934483,-0.629824 3.735004,0.330634 l 2.413094,2.895211 0,-12.75 c 0,0 0.888891,-1.589214 1.643962,-1.454545 0.745806,0.133019 1.356038,1.454545 1.356038,1.454545 l 0,10.5 0,-4.5 c 0,0 0.947828,-0.746067 1.5,-0.75 0.552172,-0.0039 1.5,0.75 1.5,0.75 l 0,4.5 0,-3.75 c 0,0 0.675747,-0.758712 1.5,-0.75 0.824253,0.0087 1.5,0.568182 1.5,0.568182 l 0,3.931818 0,-3 c 0,0 0.857274,-0.33549 1.5,-0.375 0.526597,-0.03237 1.448303,0.97351 1.5,1.575 0.220672,2.567514 0.969363,5.350927 0.823983,7.574377 -0.100086,1.53071 -0.67874,8.199778 -2.212713,8.199778 l -11.118262,0 z"
     15   fill="&fill_color;"
     16   stroke="&stroke_color;"
     17   style="stroke-width:1.5;" />
     18</svg>
  • new file icons/scalable/device/touchpad-resistive.svg

    diff --git a/icons/scalable/device/touchpad-resistive.svg b/icons/scalable/device/touchpad-resistive.svg
    new file mode 100644
    index 0000000..3eb8cb4
    - +  
     1<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
     2        <!ENTITY stroke_color "#010101">
     3        <!ENTITY fill_color "#ffffff">
     4]><svg enable-background="new 0 0 55 55" height="55px" id="Layer_1" version="1.1" viewBox="0 0 55 55" width="55px" x="0px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" y="0px">
     5<g
     6   transform="translate(0,-15.6)">
     7<path
     8   d="m 2.934,28.664 0,18.209 49.391,0 0,-18.209 -49.391,0 z"
     9   fill="&fill_color;"
     10   stroke="&stroke_color;"
     11   style="stroke-width:2" />
     12</g><path
     13   d="m 10.113335,17.999995 c 4.481574,10.248626 12.299223,4.823443 18.006668,1.48 3.636065,-2.130021 10.421669,1.48 10.421669,1.48"
     14   fill="none"
     15   stroke="&stroke_color;"
     16   style="stroke-width:2;stroke-linecap:round" /><path
     17   d="m 46.742465,8.1381941 -5.095999,6.7474989 -1.044001,1.3585 -1.7375,4.133 c -0.023,0.052 -0.009,0.1115 0.0345,0.1475 0.0445,0.036 0.1055,0.042 0.1535,0.01 l 3.913,-2.5185 c 0.0055,-0.004 0.0055,-0.0135 0.011,-0.0215 0.0325,-0.0245 0.071,-0.046 0.098,-0.081 0.0015,-10e-4 0.017,-0.0205 0.017,-0.0245 l 0.9155,-1.1355 2.7345,-3.527 4.005501,-5.1644989 c 0.011,-0.0115 0.0745,-0.1015 0.0745,-0.1015 0.048,-0.0805 0.074,-0.1725 0.074,-0.278 0,-0.0305 0,-0.059 -0.006,-0.088 -0.0435,-0.3815 -0.357501,-0.841 -0.819501,-1.2065 -0.4615,-0.364 -0.9845,-0.5615 -1.364,-0.517 -0.163,0.021 -0.3945,0.1875 -0.3945,0.1875 l -1.5695,2.0795 z"
     18   fill="&fill_color;"
     19   stroke="&stroke_color;"
     20   style="stroke-width:1.5" />
     21</svg>