diff options
author | Bryce Yancey <bryce@yanceyware.com> | 2020-09-12 07:43:57 +0300 |
---|---|---|
committer | Bryce Yancey <bryce@yanceyware.com> | 2020-09-12 07:52:42 +0300 |
commit | 988d33eba543d3a0ada24ba06370a5aa322b1a1d (patch) | |
tree | 369e237b4ecf45e152d79a014349654051b6f1b0 /UVtools.GUI/UVtools.GUI.csproj | |
parent | 5cfd62d36e6ad9193a044bfca2a0e2dd4ae71928 (diff) |
Customize cursor for Pixel Edit mode
*(Add)- Support for color cursors via CursorResourceLoader
The built-in Cursor class has a limitation that prevents it from
supporting color or greyscale cursors. Loading anything other than a 2-bit
cursor will result in an all-black cursor. Added a CursorResourceLoader
class to work around this issue.
*(Add) Utilized CursorResourceLoader to load a custom 'pencil' cursor for the
pixel edit mode.
*(Add) Option to the settings dialog to allow the preview layer
tooltips for select, ROI, and edit pixel mode to be hidden.
Diffstat (limited to 'UVtools.GUI/UVtools.GUI.csproj')
-rw-r--r-- | UVtools.GUI/UVtools.GUI.csproj | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/UVtools.GUI/UVtools.GUI.csproj b/UVtools.GUI/UVtools.GUI.csproj index 636d9ce..6b26009 100644 --- a/UVtools.GUI/UVtools.GUI.csproj +++ b/UVtools.GUI/UVtools.GUI.csproj @@ -283,6 +283,7 @@ </Compile> <Compile Include="Extensions\BitmapExtension.cs" /> <Compile Include="Extensions\ControlExtensions.cs" /> + <Compile Include="Extensions\CursorExtensions.cs" /> <Compile Include="Extensions\GUIExtensions.cs" /> <Compile Include="Forms\FrmBenchmark.cs"> <SubType>Form</SubType> @@ -499,6 +500,7 @@ <None Include="Images\minus_16x16.png" /> <None Include="Images\sync-16x16.png" /> <None Include="Images\object-group-16x16.png" /> + <None Include="Resources\aero_pen.cur" /> <Content Include="UVtools.ico" /> <None Include="UVtools.png" /> <None Include="Images\Exit-16x16.png" /> |