aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditBase/PlatQt.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-03-22Implement more support values.Neil1-0/+2
2021-03-25Translucent text.Neil1-12/+19
2021-03-20Add AllocatePixMap method on Surface to create a pixmap surface.Neil1-0/+15
2021-03-20Use SurfaceMode struct as a way to inform Surface of modes like code page andNeil1-9/+13
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/+5
filling it to avoid partially drawn pixels on left and right edges.
2021-03-20Implement LineDraw and PolyLine.Neil1-0/+16
2021-03-20Implement Stadium on all platforms except for Win32 GDI.Neil1-0/+58
2021-03-20Implement RectangleFrame.Neil1-0/+8
2021-03-25Use FillStroke for parameters to Polygon, RectangleDraw, RoundedRectangle, andNeil1-0/+47
Ellipse.
2021-03-19Support strokeWidth and float cornerSize in AlphaRectangle. Use FillStrokeNeil1-0/+32
instead of separate colour and alpha arguments.
2021-03-25Implement translucent FillRectangle.Neil1-0/+5
2021-03-19UTF-8 text drawing and measurement.Neil1-0/+81
Move SurfaceGDI::WidthText to match declaration order.
2021-03-19Add an explicit FlushDrawing method to Surface that should be called afterNeil1-0/+4
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-1/+7
2021-03-19Add Surface::PixelDivisions which detects 'retina' displays that useNeil1-0/+6
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/+13
2021-03-18Make Surface::Release and callers (where possible) noexcept.Neil1-1/+1
2021-03-18Use unique_ptr for Surface::Allocate to show transfer of ownership.Neil1-2/+2
2021-03-18ListBox options API. ListOptions is currently empty but may contain list itemNeil1-0/+4
colours in the future.
2021-03-17Use unique_ptr for ListBox::Allocate to show transfer of ownership.Neil1-2/+2
2021-03-17Change Window::Cursor to an enum class.Neil1-8/+8
2021-03-17Remove Window::SetFont as never used.Neil1-6/+0
2021-03-17Change Font to an interface and stop using FontID. Fonts are shared andNeil1-68/+54
reference counted using std::shared_ptr. This optimizes memory and reduces potential for allocation bugs.
2021-03-17Make Window argument to Menu::Show const as that avoids warnings and the WindowNeil1-1/+1
is not altered by showing a menu.
2021-03-17Mark Window::Destroy, ListBox::Clear, and Menu::Destroy as noexcept sinceNeil1-4/+4
destroying state should not throw.
2021-03-17Remove DynamicLibrary as loading lexers with SCI_LOADLEXERLIBRARY was removedNeil1-44/+0
for Scintilla 5.
2021-03-16Convert Platform from a class to a namespace. Does not change callers.Neil1-4/+4
Make Assert, DebugPrintf, and similar noexcept so they can be used in noexcept methods and they don't throw.
2020-07-13Minor warning fixes. 0 -> nullptr and static_cast -> dynamic_cast.Neil1-3/+3
2020-07-13Use float for text size in case application calls SCI_STYLESETSIZEFRACTIONAL.Neil1-1/+1
2020-07-08Fix translucent rectangle drawing on Qt.Neil1-12/+28
2020-07-08Use correct signature to override QListWidget::selectionChanged and use this toNeil1-14/+21
call ListNotify on delegate. This avoids need to override mouseReleaseEvent. As currentRow() is not updated for selectionChanged, use selectedRows to find selection. Fixes a compiler warning.
2020-07-08Fix deprecated QDesktopWidget::availableGeometry call to use currently supportedNeil1-8/+21
QScreen::availableGeometry call when available.
2020-07-08Fix deprecated Qt call to use currently supported call.Neil1-1/+1
2020-04-07Use const as avoids warning.Neil1-1/+1
2020-01-05Fix some warnings.Neil1-2/+2
2019-12-13Use safe mechanism for converting between function pointers and void*.Neil1-8/+8
2019-11-04Avoid warnings where const reasonable.Neil1-4/+14
2018-07-10Delete standard methods to avoid warnings.Neil1-0/+5
2018-06-02Define IScreenLineLayout as the main interface for implementing bidirectionalNeil1-12/+2
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-1/+2
2018-05-23Add definitions for bidirectional support to Platform.h and provide emptyNeil1-0/+19
implementations for each platform.
2018-05-22Add GradientRectangle method to Surface to draw rectangles with vertical orNeil1-0/+20
horizontal gradients.
2018-05-14Modernize Platform.h (4) - update Surface to use string_view for text arguments.Neil1-23/+23
2018-05-14Modernize Platform.h (3) - update Surface to delete WidthChar, use size_t forNeil1-9/+3
Polygon and delete the standard copy and assignment methods.
2018-05-14Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-8/+8
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform.
2018-05-02Replace NULL and 0 with nullptr.Neil Hodgson1-41/+20
2018-05-02Define ListBoxImpl::GetWidget method to avoid casts.Neil Hodgson1-55/+37
2018-04-26Use <chrono> for platform-independent timing and remove ElapsedTime.Neil1-27/+0
Also use #if for painting measurement as there are 7 sections of code to enable.
2018-04-25Remove variables and casts that are not needed.Neil1-2/+2
2018-04-15Feature [feature-requests:#1215]. Stop warning about virtual call in destructor.Neil1-13/+18