aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/PlatQt.h
AgeCommit message (Collapse)AuthorFilesLines
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.