From 2b897e4c4a0cf9d67095b4d4d37d852f61d02667 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 28 Mar 2025 15:52:24 +1100 Subject: Standardize access to system colours through GetSysColor and avoid casts. --- win32/PlatWin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'win32/PlatWin.h') 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(wid); } -- cgit v1.2.3