Ticket #4032: fix_up_old_selection_handles_to_55x55_units.patch

File fix_up_old_selection_handles_to_55x55_units.patch, 9.5 KB (added by garycmartin, 11 years ago)
  • gtk3/theme/assets/cursor-handle-bottom.svg

    From a93bd6f9ceb6659b94ab12ce9cd90690211c69b3 Mon Sep 17 00:00:00 2001
    From: Gary Martin <gary@garycmartin.com>
    Date: Mon, 15 Oct 2012 01:23:47 +0100
    Subject: [PATCH] Correct 55x55 unit sized svh touch handles and inserrion
     point assets, and updated .css for 55x55 size.
    
    ---
     gtk3/theme/assets/cursor-handle-bottom.svg |   74 ++++------------------------
     gtk3/theme/assets/cursor-handle-insert.svg |   74 ++++------------------------
     gtk3/theme/assets/cursor-handle-top.svg    |   74 ++++------------------------
     gtk3/theme/gtk-widgets.css.em              |    4 +-
     4 files changed, 29 insertions(+), 197 deletions(-)
    
    diff --git a/gtk3/theme/assets/cursor-handle-bottom.svg b/gtk3/theme/assets/cursor-handle-bottom.svg
    index cfb3a8c..645edc9 100644
    a b  
    1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
    3 
    4 <svg
    5    xmlns:dc="http://purl.org/dc/elements/1.1/"
    6    xmlns:cc="http://creativecommons.org/ns#"
    7    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    8    xmlns:svg="http://www.w3.org/2000/svg"
    9    xmlns="http://www.w3.org/2000/svg"
    10    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    11    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    12    width="84"
    13    height="84"
    14    id="svg3901"
    15    version="1.1"
    16    inkscape:version="0.48.2 r9819"
    17    sodipodi:docname="anchor-right.svg">
    18   <defs
    19      id="defs3903" />
    20   <sodipodi:namedview
    21      id="base"
    22      pagecolor="#ffffff"
    23      bordercolor="#666666"
    24      borderopacity="1.0"
    25      inkscape:pageopacity="0.0"
    26      inkscape:pageshadow="2"
    27      inkscape:zoom="1.852344"
    28      inkscape:cx="-7.2442472"
    29      inkscape:cy="56.432303"
    30      inkscape:document-units="px"
    31      inkscape:current-layer="layer1"
    32      showgrid="false"
    33      fit-margin-top="0"
    34      fit-margin-left="0"
    35      fit-margin-right="0"
    36      fit-margin-bottom="0"
    37      inkscape:window-width="1024"
    38      inkscape:window-height="541"
    39      inkscape:window-x="0"
    40      inkscape:window-y="27"
    41      inkscape:window-maximized="1"
    42      inkscape:snap-global="false" />
    43   <metadata
    44      id="metadata3906">
    45     <rdf:RDF>
    46       <cc:Work
    47          rdf:about="">
    48         <dc:format>image/svg+xml</dc:format>
    49         <dc:type
    50            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    51         <dc:title />
    52       </cc:Work>
    53     </rdf:RDF>
    54   </metadata>
    55   <g
    56      inkscape:label="Capa 1"
    57      inkscape:groupmode="layer"
    58      id="layer1"
    59      transform="translate(-138.0625,17.6875)">
    60     <path
    61        style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:6.99885273;stroke-miterlimit:4;stroke-opacity:1"
    62        d="m 218.56307,27.757169 -35.00114,-36.6173334 0,71.6659194 35.00114,0 z"
    63        id="rect3098"
    64        inkscape:connector-curvature="0"
    65        sodipodi:nodetypes="ccccc" />
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
     3<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="55" height="55" viewBox="0, 0, 55, 55">
     4  <g id="Layer 1">
     5    <g>
     6      <path d="M48,22 L27,1 L27,46 L48,46 z" fill="#000000"/>
     7      <path d="M44,24 L31,11 L31,42 L44,42 z" fill="#FFFFFF"/>
     8    </g>
    669  </g>
     10  <defs/>
    6711</svg>
  • gtk3/theme/assets/cursor-handle-insert.svg

    diff --git a/gtk3/theme/assets/cursor-handle-insert.svg b/gtk3/theme/assets/cursor-handle-insert.svg
    index adc5b7a..350fc61 100644
    a b  
    1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
    3 
    4 <svg
    5    xmlns:dc="http://purl.org/dc/elements/1.1/"
    6    xmlns:cc="http://creativecommons.org/ns#"
    7    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    8    xmlns:svg="http://www.w3.org/2000/svg"
    9    xmlns="http://www.w3.org/2000/svg"
    10    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    11    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    12    width="84"
    13    height="84"
    14    id="svg3901"
    15    version="1.1"
    16    inkscape:version="0.48.2 r9819"
    17    sodipodi:docname="anchor-right.svg">
    18   <defs
    19      id="defs3903" />
    20   <sodipodi:namedview
    21      id="base"
    22      pagecolor="#ffffff"
    23      bordercolor="#666666"
    24      borderopacity="1.0"
    25      inkscape:pageopacity="0.0"
    26      inkscape:pageshadow="2"
    27      inkscape:zoom="1.7137969"
    28      inkscape:cx="41.352538"
    29      inkscape:cy="73.139542"
    30      inkscape:document-units="px"
    31      inkscape:current-layer="layer1"
    32      showgrid="false"
    33      fit-margin-top="0"
    34      fit-margin-left="0"
    35      fit-margin-right="0"
    36      fit-margin-bottom="0"
    37      inkscape:window-width="1024"
    38      inkscape:window-height="541"
    39      inkscape:window-x="0"
    40      inkscape:window-y="27"
    41      inkscape:window-maximized="1"
    42      inkscape:snap-global="false" />
    43   <metadata
    44      id="metadata3906">
    45     <rdf:RDF>
    46       <cc:Work
    47          rdf:about="">
    48         <dc:format>image/svg+xml</dc:format>
    49         <dc:type
    50            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    51         <dc:title></dc:title>
    52       </cc:Work>
    53     </rdf:RDF>
    54   </metadata>
    55   <g
    56      inkscape:label="Capa 1"
    57      inkscape:groupmode="layer"
    58      id="layer1"
    59      transform="translate(-138.0625,17.6875)">
    60     <path
    61        style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:6.99885273;stroke-miterlimit:4;stroke-opacity:1"
    62        d="M 197.56307,27.757169 180.0625,-9.2410269 162.56193,27.7575 l 0,35.048255 35.00114,0 z"
    63        id="rect3098"
    64        inkscape:connector-curvature="0"
    65        sodipodi:nodetypes="cccccc" />
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
     3<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="55" height="55" viewBox="0, 0, 55, 55">
     4  <g id="Layer 1">
     5    <g>
     6      <path d="M12,16 L27,1 L42,16 L42,46 L12,46 z" fill="#000000"/>
     7      <path d="M16,18 L27,7 L38,18 L38,42 L16,42 z" fill="#FFFFFF"/>
     8    </g>
    669  </g>
     10  <defs/>
    6711</svg>
  • gtk3/theme/assets/cursor-handle-top.svg

    diff --git a/gtk3/theme/assets/cursor-handle-top.svg b/gtk3/theme/assets/cursor-handle-top.svg
    index b001306..19bfbf3 100644
    a b  
    1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    2 <!-- Created with Inkscape (http://www.inkscape.org/) -->
    3 
    4 <svg
    5    xmlns:dc="http://purl.org/dc/elements/1.1/"
    6    xmlns:cc="http://creativecommons.org/ns#"
    7    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    8    xmlns:svg="http://www.w3.org/2000/svg"
    9    xmlns="http://www.w3.org/2000/svg"
    10    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    11    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    12    width="84"
    13    height="84"
    14    id="svg3901"
    15    version="1.1"
    16    inkscape:version="0.48.2 r9819"
    17    sodipodi:docname="anchor-left.svg">
    18   <defs
    19      id="defs3903" />
    20   <sodipodi:namedview
    21      id="base"
    22      pagecolor="#ffffff"
    23      bordercolor="#666666"
    24      borderopacity="1.0"
    25      inkscape:pageopacity="0.0"
    26      inkscape:pageshadow="2"
    27      inkscape:zoom="1.535521"
    28      inkscape:cx="29.689783"
    29      inkscape:cy="2.7251492"
    30      inkscape:document-units="px"
    31      inkscape:current-layer="layer1"
    32      showgrid="false"
    33      fit-margin-top="0"
    34      fit-margin-left="0"
    35      fit-margin-right="0"
    36      fit-margin-bottom="0"
    37      inkscape:window-width="1024"
    38      inkscape:window-height="541"
    39      inkscape:window-x="0"
    40      inkscape:window-y="27"
    41      inkscape:window-maximized="1"
    42      inkscape:snap-global="false" />
    43   <metadata
    44      id="metadata3906">
    45     <rdf:RDF>
    46       <cc:Work
    47          rdf:about="">
    48         <dc:format>image/svg+xml</dc:format>
    49         <dc:type
    50            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
    51         <dc:title />
    52       </cc:Work>
    53     </rdf:RDF>
    54   </metadata>
    55   <g
    56      inkscape:label="Capa 1"
    57      inkscape:groupmode="layer"
    58      id="layer1"
    59      transform="translate(-138.0625,17.6875)">
    60     <path
    61        style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:6.99885273;stroke-miterlimit:4;stroke-opacity:1"
    62        d="m 141.56193,20.860513 35.00114,36.617333 0,-71.66592 -35.00114,0 z"
    63        id="rect3098"
    64        inkscape:connector-curvature="0"
    65        sodipodi:nodetypes="ccccc" />
     1<?xml version="1.0" encoding="UTF-8"?>
     2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
     3<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="55" height="55" viewBox="0, 0, 55, 55">
     4  <g id="Layer 1">
     5    <g>
     6      <path d="M6,33 L27,54 L27,9 L6,9 z" fill="#000000"/>
     7      <path d="M10,31 L23,44 L23,13 L10,13 z" fill="#FFFFFF"/>
     8    </g>
    669  </g>
     10  <defs/>
    6711</svg>
  • gtk3/theme/gtk-widgets.css.em

    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index 7eb159e..fe02d5e 100644
    a b icon_large = icon_base * 5 
    111111    -GtkCheckButton-indicator-size: $radio_size;
    112112    -GtkCheckButton-indicator-spacing: 3;
    113113
    114     -GtkWidget-text-handle-width: 84px;
    115     -GtkWidget-text-handle-height: 84px;
     114    -GtkWidget-text-handle-width: 55px;
     115    -GtkWidget-text-handle-height: 55px;
    116116}
    117117
    118118/* Backgrounds and windows */