diff options
author | Neil <nyamatongwe@gmail.com> | 2025-03-28 15:52:24 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2025-03-28 15:52:24 +1100 |
commit | 2b897e4c4a0cf9d67095b4d4d37d852f61d02667 (patch) | |
tree | 7d8d6ea6fef1f9f7b01507e503239d0b9acc2d5e /win32/PlatWin.h | |
parent | 44a2755858009d5c14732d82814f9b5558f99ef4 (diff) | |
download | scintilla-mirror-2b897e4c4a0cf9d67095b4d4d37d852f61d02667.tar.gz |
Standardize access to system colours through GetSysColor and avoid casts.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r-- | win32/PlatWin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index ec39b0870..1edad6044 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -44,6 +44,8 @@ constexpr SIZE SizeOfRect(RECT rc) noexcept { return { rc.right - rc.left, rc.bottom - rc.top }; } +ColourRGBA ColourFromSys(int nIndex) noexcept; + constexpr HWND HwndFromWindowID(WindowID wid) noexcept { return static_cast<HWND>(wid); } |