aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
AgeCommit message (Collapse)AuthorFilesLines
2020-02-09Backport: Feature [feature-requests:#1340] Move and use Point functions to ↵Zufu Liu1-2/+2
avoid casting. Backport of changeset 7976:4ba647207671.
2020-01-05Synchronizing LongTerm3 with default.mitchell1-5/+5
Ideally this covers anything missed during the backport process.
2019-03-18Backport: Add some operators to Point to simplify client code.Neil1-0/+12
Backport of changeset 7321:d488340e94c0.
2018-07-31Backport: Define PLAT_HAIKU and use to avoid a reported compilation problem ↵Neil1-0/+5
on 32-bit Haiku where ptrdiff_t and int are the same size but different types. Backport of changeset 7070:406da729a8b3.
2018-05-24Backport: Fix warnings. Add const, constexpr, and noexcept. Initialize. ↵Neil1-1/+1
Standard methods. Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases. Backport of changeset 6974:e99161ef7bdd.
2018-05-25Backport: Add GradientRectangle method to Surface to draw rectangles with ↵mitchell1-4/+70
vertical or horizontal gradients. Backport of changeset 6965:90c71d69e3b6.
2018-05-17Backport: Use nullptr instead of 0 in headers as this diminishes the number ↵Neil1-2/+2
of warnings. Backport of changeset 6957:06ab85d42c89.
2018-05-25Backport: Modernize Platform.h (3) - update Surface to delete WidthChar, use ↵mitchell1-7/+6
size_t for Polygon and delete the standard copy and assignment methods. Backport of changeset 6940:89fd29243232.
2018-05-14Backport: Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-56/+23
ColourDesired is an int instead of long for consistency over different platforms. Changes made to Point, PRectangle, and ColourDesired. RoundXYPosition removed. Backport of changeset 6939:7441dcb96e6a.
2018-05-14Backport: Modernize Platform.h (1) - noexcept, const, standard methods.Neil1-37/+33
Changes made to FontParameters, Font, Window, ListBoxEvent, ListBox, Menu, DynamicLibrary, and Platform. Backport of changeset 6938:a42c7cc3254b.
2018-05-06Backport: Use <chrono> for platform-independent timing and remove ↵mitchell1-8/+0
ElapsedTime. Also use #if for painting measurement as there are 7 sections of code to enable. Backport of changeset 6741:af5d9064c25c.
2018-04-21Backport: Remove CallBackAction which was replaced by IListBoxDelegate.Neil1-5/+0
Backport of changeset 6726:436141741e4f.
2018-04-20Backport: Avoid MSVC analyze warnings about statics by making Point ↵Neil1-1/+1
constructor constexpr. Backport of changeset 6714:bdd810136072.
2018-04-20Backport: Remove casts, drop default argument, use const.Neil1-3/+3
Backport of changeset 6708:6705d3f828c5.
2018-05-05Backport: Make some changes recommended by clang-tidy.mitchell1-2/+2
Backport of changeset 6687:4cbf987c7590.
2017-09-11Backport: The Scintilla namespace is always active for internal symbols and ↵Neil1-8/+0
for the lexer and document interfaces. Backport of changeset 6388:d62863ae40a3.
2017-06-12Backport: Removed unused functions and methods from Platform.h.Neil1-26/+1
Replaced Platform::Clamp with Sci::clamp. Drop MouseButtonBounce workaround for very early GTK+/Linux. Backported from changeset 6307:7030530a9a0f.
2017-06-11Backport: Implement SCN_AUTOCSELECTIONCHANGE notification.Neil1-1/+14
Backported from changeset 6306:7e28cdba6d61.
2017-04-07Prefer C++ static cast over C-style casts.Neil1-1/+1
2017-04-07Allowing assigning Windows and ensure cursorLast is initialized.Neil1-0/+8
2017-04-06Added const where possible.Neil1-1/+1
2016-11-07Move warning suppression from global header to Qt platform layer header soNeil1-4/+0
warnings are visible for platform-independent code.
2015-11-20Remove line end whitespace.Neil1-1/+1
2015-03-29Bug [#1682] Removed the ascent member of Font and all wxWidgets-specific code.Neil1-6/+0
2015-01-16When the mouse is on the line between margin and text changed to treat as withinNeil1-0/+5
text. Helps on PLAT_CURSES.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-10/+7
static methods as there were too many failures with mixed types and not-quite matching types.
2014-05-03Turn on MSVC 'possible loss of data' warnings and add explicit casts.Neil1-8/+8
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil1-0/+4
conversions and other conversions more consistent.
2014-05-03Convenience Point constructor from integers as common source of shapes.Neil1-0/+2
2014-05-03Fix comments that have not been correct since conversion to XYPOSITION.Neil1-2/+2
2014-05-03Move RoundXYPosition to global header to enable use in more modules.Neil1-1/+3
2014-04-29Stop disabling warnings where no longer needed.Neil1-1/+2
2014-03-16Avoid warnings from Clang analyzer.Neil1-1/+11
2013-09-16Remove dead code that was a remnant of Carbon support.nyamatongwe1-16/+0
2013-09-10Use C++ struct initialization {} so can drop -Wno-missing-braces setting for ↵Neil1-1/+0
gcc.
2013-09-10Drop warning setting -Wno-missing-braces since this has had no effect since ↵Neil1-1/+0
gcc 4.2.
2013-06-29Include PLAT_TK for implementation on Tk platform.Neil1-0/+6
2013-05-24Made methods const where they can be and are logically const as well.nyamatongwe1-10/+10
2013-04-03Renaming PLAT_NCURSES to PLAT_CURSES as may work on other implementations.nyamatongwe1-4/+4
2012-07-24Add ncurses platform. Rest of the implementation is an external project.nyamatongwe1-0/+5
From Mitchell Foral.
2012-06-13Moved Qt platform section as it was interfering with GTK+ sub-platforms.nyamatongwe1-4/+4
2012-05-17Avoid noisy warnings from GCC on Qt.nyamatongwe1-0/+6
2012-05-17Added PLAT_QT for Qt builds.nyamatongwe1-0/+5
2011-09-25Palette support removed.nyamatongwe1-98/+11
2011-08-10Implement 'technology' concept which will allow GDI and Direct2D/DirectWritenyamatongwe1-4/+34
to run at the same time for different windows and operations.
2011-08-07Add a new XYACCUMULATOR which is more precise than XYPOSITION fornyamatongwe1-3/+4
keeping track over long lines. Using typedefs rather than #defines so goes into namespace.
2011-08-07Implement APIs for fractional font sizes and a range of weights.nyamatongwe1-1/+1
2011-08-02Allow floating point text positioning.nyamatongwe1-24/+27
2011-07-12Report control key as SCMOD_META with GTK+ on OS X.nyamatongwe1-0/+6
Mostly from Mitchell Foral.
2011-06-25Initial implementation of RGBA images.nyamatongwe1-0/+2