mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-11-27 23:19:13 +08:00
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:
parent
9e8facaa6f
commit
badcccab76
@ -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);
|
||||
}
|
||||
|
@ -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 />) ,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
3
src/settings-web/src/svg/image_resizer.svg
Normal file
3
src/settings-web/src/svg/image_resizer.svg
Normal 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 |
2
src/settings/settings-html/dist/bundle.js
vendored
2
src/settings/settings-html/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user