mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-18 14:41:21 +08:00
[Settings] Crosshair icon (#15750)
* Added MouseCrosshair to Settings, layout tweaks * Adding image to docs folder * Update Product.wxs
This commit is contained in:
parent
1a25dacc73
commit
5880f3855b
BIN
doc/images/icons/Mouse Crosshair.png
Normal file
BIN
doc/images/icons/Mouse Crosshair.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -956,7 +956,7 @@
|
|||||||
</DirectoryRef>
|
</DirectoryRef>
|
||||||
<DirectoryRef Id="SettingsV2OOBEAssetsFluentIconsInstallFolder" FileSource="$(var.BinX64Dir)Settings\Assets\FluentIcons">
|
<DirectoryRef Id="SettingsV2OOBEAssetsFluentIconsInstallFolder" FileSource="$(var.BinX64Dir)Settings\Assets\FluentIcons">
|
||||||
<Component Id="SettingsV2OOBEAssetsFluentIcons" Guid="6A380D5A-DA63-45B5-B68F-06D57CDD1B9C" Win64="yes">
|
<Component Id="SettingsV2OOBEAssetsFluentIcons" Guid="6A380D5A-DA63-45B5-B68F-06D57CDD1B9C" Win64="yes">
|
||||||
<?foreach File in ColorPicker.png;FancyZones.png;AlwaysOnTop.png;Awake.png;FileExplorerPreview.png;FindMyMouse.png;ImageResizer.png;KeyboardManager.png;MouseHighlighter.png;MouseUtils.png;PowerRename.png;PowerToys.png;PowerToysRun.png;Settings.png;ShortcutGuide.png;VideoConferenceMute.png ?>
|
<?foreach File in ColorPicker.png;FancyZones.png;AlwaysOnTop.png;Awake.png;FileExplorerPreview.png;FindMyMouse.png;ImageResizer.png;KeyboardManager.png;MouseHighlighter.png;MouseCrosshair.png;MouseUtils.png;PowerRename.png;PowerToys.png;PowerToysRun.png;Settings.png;ShortcutGuide.png;VideoConferenceMute.png ?>
|
||||||
<File Id="SettingsV2OOBEAssetsFluentIcons_$(var.File)" Source="$(var.BinX64Dir)Settings\Assets\FluentIcons\FluentIcons$(var.File)" />
|
<File Id="SettingsV2OOBEAssetsFluentIcons_$(var.File)" Source="$(var.BinX64Dir)Settings\Assets\FluentIcons\FluentIcons$(var.File)" />
|
||||||
<?endforeach?>
|
<?endforeach?>
|
||||||
</Component>
|
</Component>
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -247,6 +247,7 @@
|
|||||||
<Content Include="Assets\FluentIcons\FluentIconsFindMyMouse.png" />
|
<Content Include="Assets\FluentIcons\FluentIconsFindMyMouse.png" />
|
||||||
<Content Include="Assets\FluentIcons\FluentIconsImageResizer.png" />
|
<Content Include="Assets\FluentIcons\FluentIconsImageResizer.png" />
|
||||||
<Content Include="Assets\FluentIcons\FluentIconsKeyboardManager.png" />
|
<Content Include="Assets\FluentIcons\FluentIconsKeyboardManager.png" />
|
||||||
|
<Content Include="Assets\FluentIcons\FluentIconsMouseCrosshair.png" />
|
||||||
<Content Include="Assets\FluentIcons\FluentIconsMouseHighlighter.png" />
|
<Content Include="Assets\FluentIcons\FluentIconsMouseHighlighter.png" />
|
||||||
<Content Include="Assets\FluentIcons\FluentIconsMouseHighlighter.png" />
|
<Content Include="Assets\FluentIcons\FluentIconsMouseHighlighter.png" />
|
||||||
<Content Include="Assets\FluentIcons\FluentIconsMouseUtils.png" />
|
<Content Include="Assets\FluentIcons\FluentIconsMouseUtils.png" />
|
||||||
|
@ -177,12 +177,10 @@
|
|||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="MouseUtils_MousePointerCrosshair">
|
<controls:SettingsGroup x:Uid="MouseUtils_MousePointerCrosshair">
|
||||||
<controls:Setting x:Uid="MouseUtils_Enable_MousePointerCrosshair" Icon="">
|
<controls:Setting x:Uid="MouseUtils_Enable_MousePointerCrosshair">
|
||||||
<!-- TODO: Uncomment once an icon is added.
|
|
||||||
<controls:Setting.Icon>
|
<controls:Setting.Icon>
|
||||||
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsMousePointerCrosshair.png" ShowAsMonochrome="False" />
|
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsMouseCrosshair.png" ShowAsMonochrome="False" />
|
||||||
</controls:Setting.Icon>
|
</controls:Setting.Icon>
|
||||||
-->
|
|
||||||
<controls:Setting.ActionContent>
|
<controls:Setting.ActionContent>
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.IsMousePointerCrosshairEnabled, Mode=TwoWay}" x:Uid="ToggleSwitch"/>
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsMousePointerCrosshairEnabled, Mode=TwoWay}" x:Uid="ToggleSwitch"/>
|
||||||
</controls:Setting.ActionContent>
|
</controls:Setting.ActionContent>
|
||||||
|
Loading…
Reference in New Issue
Block a user