UI: Detailed Large File & Folder Icons
Changes to the icons used for document and folder when in thumbnail view in File Browser. A bit more detail, less chunky, more in tune with OS versions. Better match for the recent increased fidelity of the "type" icons that are shown in their centers. Pull Request: https://projects.blender.org/blender/blender/pulls/126760
This commit is contained in:
committed by
Harley Acheson
parent
69add5aa47
commit
d9971d6414
@@ -1 +1 @@
|
||||
<svg height="1250" viewBox="0 0 1600 1250" width="1600" xmlns="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"><sodipodi:namedview pagecolor="#303030" showgrid="true"><inkscape:grid id="grid5" units="px" spacingx="100" spacingy="100" color="#4772b3" opacity="0.2" visible="true" /></sodipodi:namedview><g fill="#fff"><g enable-background="new" stroke-width="4" transform="matrix(10.938272 0 0 10.948678 -10783.6565 2322.58)"><path d="m195.5 38c-1.94642 0-3.5 1.60898-3.5 3.5v20.5c.95388-.792604 2.00859-1.333333 3.33333-1.333333h121.33334c1.32476 0 2.37945.540729 3.33333 1.333333v-9.333333c0-1.9217-1.41163-4-3.33333-4h-76.66667c-.3983.00001-1.38322-.157923-1.66472-.439453-.2816-.2816-.33528-1.162347-.33528-1.560547v-5.333334c0-1.9217-1.41163-3.333333-3.33333-3.333333z" opacity=".8" transform="translate(803 -241)"/><path d="m998.33333-177.66667c-1.9217 0-3.33333 1.41164-3.33333 3.33334v63.83333c0 1.9217 1.5783 3.5 3.5 3.5h121c1.9217 0 3.5-1.5783 3.5-3.5v-63.83333c0-1.9217-1.4116-3.33334-3.3333-3.33334z"/></g></g></svg>
|
||||
<svg id="svg4185" height="1300" viewBox="0 0 1600 1300" width="1600" xmlns="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"><sodipodi:namedview pagecolor="#303030" showgrid="true"><inkscape:grid id="grid5" units="px" spacingx="100" spacingy="100" color="#4772b3" opacity="0.2" visible="true" /></sodipodi:namedview><g transform="matrix(3.40716 0 0 3.4049685 6.883458 -2342.962)"><path id="path3350" d="m46.165476 717.44637h93.219344c15.7258.001 18.61638 5.95025 22.81669 10.88994l14.74763 16.42645c1.19974 1.50075 2.35846 2.05667 4.90331 2.04456h237.11359c11.80105 0 19.25432 7.94778 19.25432 18.963l-.00003 264.87648c0 5.5144-4.70131 9.9062-10.21572 9.9068l-390.848314.043c-5.51443.0006-9.850844-4.4137-9.850844-9.9281v-294.25912c0-10.22939 7.58285-18.96301 18.860024-18.96301z" fill="#b2b2b2"/><path id="rect3347" d="m46.165476 776.17182h372.800564c11.80105 0 19.17809 7.94779 19.1815 18.96301l.0728 235.53337c.002 5.5144-4.73072 9.8744-10.24513 9.8748l-390.818934.028c-5.51443.0004-9.850844-4.388-9.850844-9.9024v-235.53377c0-10.22939 7.58285-18.96301 18.860024-18.96301z" fill="#fff"/><g id="g2" fill-opacity=".15"><path id="rect4358" d="m45.643295 1008.0261h374.05457v3.143315h-374.05457z"/><path id="rect4362" d="m45.46962 993.42914h374.05457v3.143315h-374.05457z"/><path id="rect4360" d="m45.538475 978.53735h374.05457v3.143315h-374.05457z"/></g></g></svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.4 KiB |
@@ -1 +1 @@
|
||||
<svg height="1600" viewBox="0 0 1250 1600" width="1250" xmlns="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"><sodipodi:namedview pagecolor="#303030" showgrid="true"><inkscape:grid id="grid5" units="px" spacingx="100" spacingy="100" color="#4772b3" opacity="0.2" visible="true" /></sodipodi:namedview><g enable-background="new" transform="matrix(10.937585 0 0 10.941054 -8524.3194 3283.814)"><path d="m831.51367-289.48633-41.0039 41 .0254-.0117c2.71982-2.37567 5.11846-3.6309 8.62951-3.83529h26.66668c1.09262-.00012 1.9998-.91463 2-2v-26.66668c-.31934-4.00167 2.14059-6.5773 3.68231-8.48633z" fill="#fff"/><path d="m130.49803 21.058926-42.471409-.058926c-5.522842-.0077-9.528596 4.477157-9.528595 10.000004v27.000002c0 2.209139-2.45753 4.333345-4.666669 4.333345h-27c-5.522847 0-10.333348 4.995641-10.333348 10.518488l.02841 74.142351c-.007 1.09637.910592 2.01376 2.007812 2.00586h91.957949c1.09615.007 2.00587-.9072 2.00587-2v-123.942101c-.003-1.092216-.90724-1.999083-2-1.999023z" fill="#fff" opacity=".8" transform="translate(752 -312)"/><g fill="none"><path d="m79.513672 22.513672-41.003906 41 .02539-.01172a12 12 0 0 1 8.464844-3.501952h27c1.09262-.00012 1.993941-.91463 1.994141-2l.005859-27a12 12 0 0 1 3.503906-8.462891z" transform="translate(752 -312)"/><path d="m831.51367-289.48633-41.0039 41 .0254-.0117a12 12 0 0 1 8.46483-3.50197h27c1.09262-.00012 1.99394-.91463 1.99414-2l.00586-27a12 12 0 0 1 3.50391-8.46289z"/><path d="m831.51367-289.48633-41.0039 41 .0254-.0117a12 12 0 0 1 8.46483-3.50197h27c1.09262-.00012 1.99394-.91463 1.99414-2l.00586-27a12 12 0 0 1 3.50391-8.46289z" opacity="0"/></g></g></svg>
|
||||
<svg id="svg6" height="1600" viewBox="0 0 1250 1600" width="1250" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"><sodipodi:namedview pagecolor="#303030" showgrid="true"><inkscape:grid id="grid5" units="px" spacingx="100" spacingy="100" color="#4772b3" opacity="0.2" visible="true" /></sodipodi:namedview><radialGradient id="radialGradient8857" cx="53.777058" cy="49.934776" gradientTransform="matrix(.50533351 .50984063 -.41565364 .41171796 50.120538 -5.918457)" gradientUnits="userSpaceOnUse" r="48.00967"><stop id="stop8856" offset="0" stop-color="#ccc"/><stop id="stop8857" offset="1" stop-color="#fff"/></radialGradient><path id="path2" d="m127.66683 21.249712-50.285507.0047-41.137777 41.127306-.0034 82.253712c.02481 3.62233.910124 4.57924 4.579558 4.57134h86.854446c3.65746-.003 4.58534-1.11568 4.58534-4.56773v-118.790305c-.0177-3.68026-1.02803-4.599023-4.59266-4.599023z" fill="url(#radialGradient8857)" opacity=".8" transform="matrix(10.937585 0 0 10.941054 -296.47228 -132.57805)"/><path id="path1" d="m829.38255-290.75824-41.14703 41.15101 36.58921-.009c3.4623-.016 4.56033-1.2008 4.56052-4.5597z" fill="#fff" transform="matrix(10.937585 0 0 10.941054 -8521.5362 3281.0308)"/></svg>
|
||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.3 KiB |
@@ -694,7 +694,7 @@ static void file_draw_preview(const FileList *files,
|
||||
}
|
||||
|
||||
icon_x = xco + (file->typeflag & FILE_TYPE_DIR ? ex * 0.31f : ex * 0.178f);
|
||||
icon_y = yco + (file->typeflag & FILE_TYPE_DIR ? ex * 0.11f : ex * 0.15f);
|
||||
icon_y = yco + (file->typeflag & FILE_TYPE_DIR ? ex * 0.19f : ex * 0.15f);
|
||||
UI_icon_draw_ex(icon_x,
|
||||
icon_y,
|
||||
is_loading ? ICON_TEMP : icon,
|
||||
|
||||
Reference in New Issue
Block a user