aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.cxx
AgeCommit message (Expand)AuthorFilesLines
2020-06-15Use ReleaseUnknown to extend noexcept over finalisation.Zufu Liu1-22/+9
2020-06-13Add include that defines back_inserter.Greg Smith1-0/+1
2020-06-11Bug [#2185]. Fix printing to use correct text size.Neil1-1/+3
2020-06-06Implement gradients for GDI. GradientRectangle previously drew an average of theNeil1-5/+60
2020-06-06Add DIBSection class to simplify bitmap operations on GDI.Neil1-66/+121
2020-06-06Avoid type-pun union when converting from RGBA colour to DWORD as this may beNeil1-13/+9
2020-06-06Specify locally visible methods as noexcept.Neil1-20/+20
2020-06-06Prefer .data() over &[0] as more explicit.Neil1-10/+7
2020-06-06Add ReleaseUnknown to safely release IUnknown* and avoid warnings when done inNeil1-12/+4
2020-06-06Bug [#2063]. On Windows 8.1 where GetDpiForWindow is not available, useZufu Liu1-0/+23
2020-06-06Use call_once for initialising Direct2D so only done once even with threads.Neil1-59/+61
2020-06-06Defer most initialisation until Scintilla window is created.Neil1-3/+5
2020-05-28Bug [#2063]. Call AdjustWindowRectExForDpi when available to find correct size.Zufu Liu1-8/+16
2020-05-27Bug [#2063]. Make reverse arrow cursor scale with DPI.Zufu Liu1-9/+21
2020-05-27Bug [#2063]. Add SystemMetricsForDpi and use for ListBox and mouse drag and d...Zufu Liu1-10/+36
2020-05-20Fix some minor warnings.Neil1-15/+14
2020-05-19Bug [#2171]. Implement per-monitor DPI Awareness on Windows.Neil1-21/+38
2020-05-19Encapsulate GetProcAddress in a way that avoids undefined and conditionallyNeil1-26/+22
2020-04-05Feature [feature-requests:1345]. Use ListBox_ macros in preference to LB_Neil1-10/+10
2020-04-05Feature [feature-requests:1345] Use more typesafe code to clear window pointers,Neil1-4/+4
2020-03-26Fix spelling mistakes.Neil1-2/+2
2020-03-25Replace const with constexpr where possible.Neil1-10/+6
2020-03-17Remove CRITICAL_SECTION by creating reverse arrow cursor at initialization.Neil1-30/+17
2020-02-15Extract image conversion from RGBA to BGRA premultiplied into common function.Neil1-21/+6
2020-02-15Bug [#2138]. For pixmap, balance call to BeginDraw with EndDraw.Neil1-0/+2
2020-02-14Use dynamic_cast and assertion instead of static_cast to fail earlier if thereNeil1-13/+19
2020-02-09Use uniform initialization for resetting GDI handles to avoid NULL/0 warnings.Neil1-20/+20
2020-02-09Feature [feature-requests:#1340] Move and use Point functions to avoid casting.Zufu Liu1-4/+4
2020-01-31Avoid Clang warning with extra test.Neil1-5/+5
2020-01-31Use more typesafe functions to remove casts.Neil1-13/+5
2019-12-13Use safe mechanism for converting between function pointers and void*.Neil1-7/+6
2019-12-29Move suppression of Clang warning language-extension-token from makefile to onlyNeil1-0/+5
2019-12-12Bug [#2115]. Avoid Clang warnings with COM_DECLSPEC_NOTHROW from declaration.Neil1-8/+8
2019-12-03Bug [#2144]. Fixed drawing of translucent rounded rectangles with Direct2D.Neil1-1/+1
2019-11-21Make reference argument const as safe to do so.Neil1-4/+4
2019-05-29Bug [#2104]. Use 'l' long format length sub-specifier for HRESULT as it is long.Neil1-1/+1
2019-05-11Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".Neil1-7/+7
2019-05-08Use value-initialization and nullptr (for true pointers) to avoid 'using NULL'Neil1-10/+5
2019-04-28Use const and noexcept for private methods.Neil1-6/+6
2019-04-27Feature [feature-requests:#1279]. Removed invalid check when avoiding SelectFontNeil1-12/+7
2019-04-12Bug [#2093]. Improve efficiency with single byte character sets.Zufu Liu1-2/+2
2019-04-11Feature [feature-requests:#1277]. Support coloured text on Windows 8.1+.Zufu Liu1-3/+15
2019-03-25Use generic std::abs instead of abs and fabs.Neil1-5/+5
2019-03-25Use generic versions of ceil, floor, round, lround, trunc from <cmath>.Neil1-15/+15
2019-03-20Implement WStringFromUTF8 to simplify code that creates wstring objects forNeil1-4/+2
2019-03-18Add some operators to Point to simplify client code.Neil1-3/+1
2019-02-24Use noexcept and constexpr where possible and reasonable.Neil1-37/+31
2019-02-24Remove font caching on Win32.Neil1-107/+7
2019-01-13Replace the only use of a function from <cctype> with a Scintilla function.Neil1-1/+0
2019-01-06Bug [#2068]. Fix some clang-tidy warnings.Zufu Liu1-4/+4