Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf2017-05-23 10:16:41 +0000
committerMatthias Sohn2017-06-13 16:54:51 +0000
commit8e7f487d2035b39c112bebd0e1668f02a1e2a01f (patch)
tree4aacb2bebd53a2c988986d0799879ae92e175a4d /icons/org.eclipse.egit.gitflow.ui
parent9b2db7496f2a3ae7a7bad85e13ab5a03b3b6b7b9 (diff)
downloadegit-8e7f487d2035b39c112bebd0e1668f02a1e2a01f.tar.gz
egit-8e7f487d2035b39c112bebd0e1668f02a1e2a01f.tar.xz
egit-8e7f487d2035b39c112bebd0e1668f02a1e2a01f.zip
Icon clean-up: use PNG, provide HiDPI versions, include SVG sources
SVG source are included in the repository under the ./icons top-level directory. * Copy SVG source files from eclipse.platform.images where applicable * Replace GIFs by PNGs * Provide HiDPI icons Adapt references where needed (plugin.xml and UIIcons.java). Copied SVGs include a comment where they come from. All EGit icons have been re-done in SVG. Differences in the generated pixel maps are minimal. Some basic components are under ./icons/components. The old GIF and PNG icons have all been replaced by newly generated PNGs and all have HiDPI ("@2x") versions. Wherever possible use components from existing platform icons already available; this not only simplifies icon creation but also makes it easier to conform to the color scheme used in platform. This has resulted in a few minor changes where the old gif icons did not match the new SVGs from platform. An example are icons containing a "file" object, for instance the reflog view icon: the old gif showed a dog-ear in the bottom-right corner of the "page", while current platform SVGs show a dog-ear top-right. The wizard banner images, being larger, show more pixel-level differences. That was to be expected since they were all re-done from scratch using the current platform wizard banner styles. Icon etool16/annotate.png should be changed. It's the icon for the "Show Revision Information" command, which was formerly named "Show Annotations". With the new name, an icon symbolizing a note doesn't make sense anymore. Due to bug 465456 we have to keep around all GIFs used as editor or view icons, otherwise users may experience FileNotFoundExceptions when starting on an old workspace because E4 stores icon URIs in workbench.xmi. This concerns: * eview16/rebase_interactive.gif * eview16/reflog.gif * eview16/repo_rep.gif * obj16/changelog_obj.gif * obj16/gitrepository.gif These GIF files have been re-created; they are identical to the new PNGs created from the SVG sources. Otherwise users might wonder why they sometimes get different icons for the same thing. Bug: 517169 Bug: 517171 Change-Id: I9bcf9ae8d8e0473e5cd9183488d37a3d268709b0 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'icons/org.eclipse.egit.gitflow.ui')
-rw-r--r--icons/org.eclipse.egit.gitflow.ui/icons/obj16/gitflow.svg137
-rw-r--r--icons/org.eclipse.egit.gitflow.ui/icons/ovr/git-flow.svg73
2 files changed, 210 insertions, 0 deletions
diff --git a/icons/org.eclipse.egit.gitflow.ui/icons/obj16/gitflow.svg b/icons/org.eclipse.egit.gitflow.ui/icons/obj16/gitflow.svg
new file mode 100644
index 000000000..7117b77a8
--- /dev/null
+++ b/icons/org.eclipse.egit.gitflow.ui/icons/obj16/gitflow.svg
@@ -0,0 +1,137 @@
+<?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:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="16"
+ height="16"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="gitflow.svg">
+ <defs
+ id="defs4">
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4883">
+ <stop
+ style="stop-color:#ebf9ff;stop-opacity:1"
+ offset="0"
+ id="stop4885" />
+ <stop
+ style="stop-color:#fcffff;stop-opacity:1"
+ offset="1"
+ id="stop4887" />
+ </linearGradient>
+ <linearGradient
+ y2="1047.3622"
+ x2="-15"
+ y1="1047.3622"
+ x1="-12"
+ gradientTransform="translate(22,12.999914)"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient5062"
+ xlink:href="#linearGradient4910-4"
+ inkscape:collect="always" />
+ <linearGradient
+ inkscape:collect="always"
+ id="linearGradient4910-4">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0"
+ offset="0"
+ id="stop4912-8" />
+ <stop
+ style="stop-color:#c3e9ff;stop-opacity:1"
+ offset="1"
+ id="stop4914-8" />
+ </linearGradient>
+ <linearGradient
+ y2="1045.3622"
+ x2="-11"
+ y1="1042.3622"
+ x1="-11"
+ gradientUnits="userSpaceOnUse"
+ id="linearGradient4975-2"
+ xlink:href="#linearGradient4994-4"
+ inkscape:collect="always"
+ gradientTransform="translate(22,12.999914)" />
+ <linearGradient
+ id="linearGradient4994-4"
+ inkscape:collect="always">
+ <stop
+ id="stop4996-5"
+ offset="0"
+ style="stop-color:#c3e9ff;stop-opacity:1" />
+ <stop
+ id="stop4998-5"
+ offset="1"
+ style="stop-color:#ffffff;stop-opacity:0;" />
+ </linearGradient>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4883"
+ id="linearGradient4889"
+ x1="28"
+ y1="1039.3622"
+ x2="28"
+ y2="1049.3622"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="translate(-16,15.999951)" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="24"
+ inkscape:cx="-13.101951"
+ inkscape:cy="1.709725"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:window-width="2097"
+ inkscape:window-height="1075"
+ inkscape:window-x="169"
+ inkscape:window-y="12"
+ inkscape:window-maximized="0"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:snap-global="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid3999" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <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"
+ style="display:inline"
+ transform="translate(0,-1036.3622)">
+ <path
+ style="fill:#00bdfe;fill-opacity:0.94509804;stroke:#0ba0e5;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 3.617175,1039.6944 c -0.214122,0 -0.413775,0.022 -0.5625,0.1094 -0.61,0.3577 -1.952625,1.5517 -2.26562503,2.625 -0.4872,1.6705 -0.54185,3.953 -0.46875,5.5625 0.85520003,-1.587 1.81447503,-3.6281 3.60937503,-3.7969 0.9956,-0.094 2.627275,0.799 3.171875,1.25 0.5446201,0.4509 2.834063,2.6896 3.453125,3.0313 0.484893,0.2677 1.795679,0.7864 2.390625,0.4375 0.609934,-0.3577 1.952548,-1.5517 2.265625,-2.625 0.487182,-1.6705 0.541917,-3.953 0.46875,-5.5625 -0.855158,1.587 -1.814544,3.6281 -3.609375,3.7969 -0.995606,0.094 -2.627255,-0.799 -3.171875,-1.25 -0.5446,-0.4509 -2.834125,-2.6896 -3.453125,-3.0313 -0.363675,-0.2008 -1.1857595,-0.5356 -1.828125,-0.5469 z"
+ id="path3123"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>
diff --git a/icons/org.eclipse.egit.gitflow.ui/icons/ovr/git-flow.svg b/icons/org.eclipse.egit.gitflow.ui/icons/ovr/git-flow.svg
new file mode 100644
index 000000000..572ceb92f
--- /dev/null
+++ b/icons/org.eclipse.egit.gitflow.ui/icons/ovr/git-flow.svg
@@ -0,0 +1,73 @@
+<?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="8"
+ height="8"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.2 r9819"
+ sodipodi:docname="git-flow.svg">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="24"
+ inkscape:cx="-20.206118"
+ inkscape:cy="1.709725"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:window-width="2097"
+ inkscape:window-height="1075"
+ inkscape:window-x="169"
+ inkscape:window-y="12"
+ inkscape:window-maximized="0"
+ showguides="true"
+ inkscape:guide-bbox="true"
+ inkscape:snap-global="true">
+ <inkscape:grid
+ type="xygrid"
+ id="grid3999"
+ empspacing="5"
+ visible="true"
+ enabled="true"
+ snapvisiblegridlinesonly="true" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <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"
+ style="display:inline"
+ transform="translate(0,-1044.3622)">
+ <path
+ style="fill:#00bdfe;fill-opacity:0.94509804;stroke:#0ba0e5;stroke-width:0.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m 1.8085873,1046.0282 c -0.107061,0 -0.2068875,0.011 -0.28125,0.055 -0.305,0.1788 -0.97631246,0.7758 -1.13281246,1.3125 -0.2436,0.8352 -0.270925,1.9765 -0.234375,2.7812 0.4276,-0.7935 0.90723746,-1.814 1.80468746,-1.8984 0.4978,-0.047 1.3136375,0.3995 1.5859375,0.625 0.2723101,0.2254 1.4170315,1.3448 1.7265625,1.5156 0.2424465,0.1339 0.8978395,0.3932 1.1953125,0.2188 0.304967,-0.1789 0.976274,-0.7759 1.132813,-1.3125 0.243591,-0.8353 0.270958,-1.9765 0.234375,-2.7813 -0.427579,0.7935 -0.907272,1.8141 -1.804688,1.8985 -0.497803,0.047 -1.3136275,-0.3995 -1.5859375,-0.625 -0.2723,-0.2255 -1.4170625,-1.3448 -1.7265625,-1.5157 -0.1818375,-0.1004 -0.5928797,-0.2678 -0.9140625,-0.2734 z"
+ id="path3123"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>

Back to the top