Added icon for Image Resizer in PowerToys Settings (#1662)

* Added PictureStretch icon for Image Resizer

* Changed to old hash font setting

* Fixed missing icon

* Reverted changes on subset and settings files

* Added Image resizer svg icon
This commit is contained in:
Arjun Balgovind 2020-03-24 11:32:01 -07:00 committed by GitHub
parent 9e8facaa6f
commit badcccab76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View File

@ -70,6 +70,7 @@ public:
PowerToysSettings::Settings settings(hinstance, get_name());
settings.set_description(GET_RESOURCE_STRING(IDS_SETTINGS_DESCRIPTION));
settings.set_overview_link(L"https://github.com/microsoft/PowerToys/blob/master/src/modules/imageresizer/README.md");
settings.set_icon_key(L"pt-image-resizer");
settings.add_header_szLarge(L"imageresizer_settingsheader", GET_RESOURCE_STRING(IDS_SETTINGS_HEADER_DESCRIPTION), GET_RESOURCE_STRING(IDS_SETTINGS_HEADER));
return settings.serialize_to_buffer(buffer, buffer_size);
}

View File

@ -7,6 +7,7 @@ import {initializeIcons} from './icons/src';
import FancyZonesSVG from './svg/fancy_zones.svg';
import PowerRenameSVG from './svg/power_rename.svg';
import ShortcutGuideSVG from './svg/shortcut_guide.svg';
import ImageResizerSVG from './svg/image_resizer.svg';
export function setup_powertoys_icons(): void {
initializeIcons('icons/fonts/');
@ -17,6 +18,7 @@ export function setup_powertoys_icons(): void {
'pt-power-rename': ( <PowerRenameSVG /> ),
'pt-shortcut-guide': ( <ShortcutGuideSVG /> ),
'pt-power-preview': ( <Icon iconName="FabricReportLibrary" /> ),
'pt-image-resizer': ( <ImageResizerSVG />) ,
}
});
}

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="15" height="15">
<path d="M0 768h1408v1152H0V768zm128 1024h870l-582-581-288 288v293zm1152 0v-102l-224-223-101 101 223 224h102zM128 896v421l288-287 448 447 192-191 224 224V896H128zm832 256q-26 0-45-19t-19-45q0-26 19-45t45-19q26 0 45 19t19 45q0 26-19 45t-45 19zm960-512V347l-339 338-90-90 338-339h-293V128h512v512h-128zm-768-512h256v128h-256V128zm-128 128H768V128h256v128zm-384 0H384V128h256v128zm-384 0H0V128h256v128zM128 640H0V384h128v256zm1920 128v256h-128V768h128zm-128 384h128v256h-128v-256zm0 384h128v256h-128v-256zm-384 256h256v128h-256v-128z" />
</svg>

After

Width:  |  Height:  |  Size: 633 B

File diff suppressed because one or more lines are too long