aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/PlatQt.h
AgeCommit message (Collapse)AuthorFilesLines
2024-11-26Bug [#2458]. Add include of cstdint to provide intptr_t and uintptr_t.Neil1-0/+1
2024-08-15Include <string> header as this is required with Visual C++ 2022 17.11.Neil1-0/+1
2024-05-07Update suppressions for cppcheck 2.14.Neil1-1/+1
Mark SurfaceImpl destructor as override to avoid cppcheck warning.
2021-12-12Made compatible with Qt 6.Fan Yang1-0/+1
Authored by Fan Yang and Justin Dailey.
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-3/+5
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-22Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedefNeil1-10/+10
will be published in externally visible header.
2021-05-09Add @file <filename> comments to follow convention.Neil1-1/+1
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X.
2021-03-25Remove old Surface methods that have been replaced.Neil1-29/+0
2021-03-25Translucent text.Neil1-6/+7
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil1-7/+10
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil1-2/+3
bidirectional options in an extensible way instead of adding a call for each element.
2021-03-25Add FillRectangleAligned to align rectangle to pixel grid on x-axis beforeNeil1-0/+1
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil1-0/+2
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil1-0/+1
2021-03-20Implement RectangleFrame.Neil1-0/+1
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil1-0/+11
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil1-0/+1
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil1-0/+1
2021-03-19UTF-8 text drawing and measurement.Neil1-0/+11
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil1-0/+1
completing a bitmap. Currently only has a real implementation on Direct2D. Avoiding implicit flushes inside Copy and FillRectangle produced a 23% speed improvement on files with about 1 indentation guide per line as the drawing pipeline was being flushed for each indentation guide.
2021-03-19Implement PopClip to allow local clipping.Neil1-0/+1
2021-03-19Add Surface::PixelDivisions which detects 'retina' displays that useNeil1-0/+1
multiple display pixels per logical pixel. Likely will only return >1 for Apple displays. Can be used for finer placement of elements.
2021-03-19Add Platform::Supports for SupportsFeature API.Neil1-0/+1
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil1-1/+1
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-0/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil1-12/+12
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-07-08Fix deprecated Qt call to use currently supported call.Neil1-0/+4
2020-04-07Use const as avoids warning.Neil1-1/+1
2020-01-05Fix some warnings.Neil1-1/+1
2018-06-02Extra header needed with g++ on Linux.Neil Hodgson1-0/+1
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-3/+1
features by platform code. Implement IScreenLineLayout for Win32 / DirectWrite as ScreenLineLayout.
2018-05-26Add necessary headers and move includes to be in same order.Neil1-0/+2
2018-05-23Add definitions for bidirectional support to Platform.h and provide emptyNeil1-0/+5
implementations for each platform.
2018-05-22Add GradientRectangle method to Surface to draw rectangles with vertical orNeil1-0/+6
horizontal gradients.
2018-05-18Add <vector> to files that include Platform.h as likely needed in future.Neil1-0/+1
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-5/+5
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-2/+1
Polygon and delete the standard copy and assignment methods.
2018-05-14Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-1/+1
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed.
2018-05-14Include <string_view> to allow future use in Platform interface and Unicode.Neil1-0/+2
2018-04-15Feature [feature-requests:#1215]. Stop warning about virtual call in destructor.Neil1-0/+2
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-4/+0
interfaces ILexer4 and IDocument.
2017-07-12Add include needed to build with Qt 5.7.1 on Fedora 26 Linux.Neil Hodgson1-0/+1
2017-06-12Removed unused functions and methods from Platform.h.Neil1-1/+0
Replaced Platform::Clamp with Sci::clamp but will later change this to std::clamp once on full C++17 compilers. Drop MouseButtonBounce workaround for very early GTK+/Linux.
2017-04-19Use "override" for GTK+ and Qt platform layers.Neil1-50/+50
2017-04-07Use same parameter names in declarations and definitions.Neil1-5/+5
2015-04-22Use fractional positioning calls and avoid rounding to ensure consistency.Neil1-0/+5
From Jason Haslam.
2012-05-17Qt platform layer added. Based on an implementation from Jason Haslamnyamatongwe1-0/+127
at Scientific Toolworks, Inc. with additions performed for Wingware.