It is currently April 16th, 2024, 10:10 am

[Suggestion] Aero cursor for resizing a skin

Report bugs with the Rainmeter application and suggest features.
User avatar
nek
Posts: 105
Joined: November 3rd, 2019, 12:00 am

[Suggestion] Aero cursor for resizing a skin

Post by nek »

Is there any chance of implementing aero cursors for resizing a skin?
We can use any cursor files by copying to @Resources\Cursors and specifying MouseActionCursorName=aero_ns.cur for now.
But it will be great if we can use aero resizing cursors without copying files.
> MouseActionCursorName - Rainmeter Docs

Demo skin | PluginWebView, Mouse.dll, HotKey.dll and EdgeWebView (477 MB or more)
Image

Current | Mouse.cpp, Mouse.h - Rainmeter repository on GitHub
cursorname.current.png
Resize | LoadCursorA function - Microsoft Docs
cursorname.resize.png

I have clean installed OS and verifyed whether aero_xxx.cur files are exist. C:\Windows\Cursor\
win.aerocursors.png

Code: Select all

Rainmeter 4.5.8.3587 (64-bit)
Language: English (1033)
Build time: 2021-12-30  6:17:00
Windows 10 Pro 2009 64-bit (build 19043) - Japanese (1041)
Path: Z:\Apps\Rainmeter\
SkinPath: Z:\Apps\Rainmeter\Skins\
SettingsPath: Z:\Apps\Rainmeter\
IniFile: Z:\Apps\Rainmeter\Rainmeter.ini
You do not have the required permissions to view the files attached to this post.
User avatar
Brian
Developer
Posts: 2678
Joined: November 24th, 2011, 1:42 am
Location: Utah

Re: [Suggestion] Aero cursor for resizing a skin

Post by Brian »

Thanks for the suggestion! I believe death.crafter asked for this a while back as well.

I added several cursor name options:
  • NO: Red slashed circle
  • SIZE_ALL: Cross cursor with arrows on each end
  • SIZE_NESW: Line with arrows pointing northeast and southwest
  • SIZE_NS: Line with arrows pointing north and south
  • SIZE_NWSE: Line with arrows pointing northwest and southeast
  • SIZE_WE: Line with arrows pointing west and east
  • UPARROW: Arrow pointing up
  • WAIT: Either the standard hourglass or circle "wait" cursor (similar to the BUSY cursor, without the "arrow")
-Brian
User avatar
nek
Posts: 105
Joined: November 3rd, 2019, 12:00 am

Re: [Suggestion] Aero cursor for resizing a skin

Post by nek »

I really appreciate your quick response and great work.

MouseActionCursorName and Windows 10 standard cursors
win10_standard_cursor.png
> MouseActionCursorName - Rainmeter Docs
You do not have the required permissions to view the files attached to this post.