aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2024-04-18 09:32:10 +1000
committerZufu Liu <unknown>2024-04-18 09:32:10 +1000
commit5c10bcc7ef9ca881b7d6d851992702bae53ff968 (patch)
treee0f0824e73f51c7c6bf912c5f8ce73bf66b5672a /win32/PlatWin.h
parentc802a109fd6d4f40434a600216d6ae622f0633c6 (diff)
downloadscintilla-mirror-5c10bcc7ef9ca881b7d6d851992702bae53ff968.tar.gz
Bug [#2321]. Scale reverse arrow cursor for margins to match other cursors.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index f010923f2..70721d4a7 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -50,7 +50,8 @@ float GetDeviceScaleFactorWhenGdiScalingActive(HWND hWnd) noexcept;
int SystemMetricsForDpi(int nIndex, UINT dpi) noexcept;
-HCURSOR LoadReverseArrowCursor(UINT dpi) noexcept;
+constexpr int defaultCursorBaseSize = 32;
+HCURSOR LoadReverseArrowCursor(UINT dpi, int cursorBaseSize) noexcept;
class MouseWheelDelta {
int wheelDelta = 0;