aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-10-10Use global constants for opaque black and white and local constants for greys.Neil1-1/+1
Makes it easier to understand and reduces warnings.
2023-03-27Declare noexcept as called from noexcept.Neil1-1/+1
2023-01-09Hoist common calculation into function.Neil1-3/+11
Use logical and to stop conversion warning.
2023-01-09Move methods from header to implementation to avoid conversion warnings forNeil1-0/+8
each includer.
2021-11-03Added <climits> for UCHAR_MAX.Neil1-0/+1
2021-10-30Minor changes to avoid warnings from linters.Neil1-9/+9
2021-10-29Remove standard operations for XPM module to follow rule-of-zero.Neil1-10/+0
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-0/+3
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-8/+8
will be published in externally visible header.
2021-04-20Feature [feature-requests:#1402]. Unify colour type with ColourAlpha.Neil1-23/+14
Change ColourDesired to ColourAlpha in XPM and RGBAImage.
2021-03-18Use unique_ptr to add to RGBAImageSet.Neil1-7/+2
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-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-03-24Use noexcept where possible.Neil1-8/+8
2020-02-15Extract image conversion from RGBA to BGRA premultiplied into common function.Neil1-0/+15
2019-05-11Feature [feature-requests:#1283]. Standardise spelling - "color" -> "colour".Neil1-3/+3
2018-05-24Fix warnings. Add const, constexpr, and noexcept. Initialize. Standard methods.Neil1-3/+3
Replace 0 and NULL with nullptr for COM, DirectWrite and least ambiguous cases.
2018-05-14Modernize Platform.h (2) - noexcept, const, constexpr.Neil1-3/+26
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/+1
2018-04-22Remove casts between char and unsigned char where possible.Neil1-1/+1
2018-04-20Remove casts, drop default argument, use const.Neil1-7/+7
2018-04-19Use ColourDesired constructor explicitly to make more obvious.Neil1-4/+4
Constructor not marked explicit as may be used in external platform layers.
2018-03-01Mark variables as const where simple.Neil1-1/+1
2018-01-28Use std::end when filling arrays as reduces chance of mistake.Neil1-1/+3
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-2/+0
interfaces ILexer4 and IDocument.
2017-04-22Using unique_ptr to simplify ownership of images, case folder, and list box.Neil1-11/+6
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-09Further use of range-for.Neil1-6/+6
2017-04-06Added const where possible.Neil1-5/+5
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-2/+2
where it may be needed in the future.
2017-01-04Mark some const methods as const.Neil1-1/+1
2016-08-12Remove tests that are not needed.Neil1-2/+2
2015-07-04Make std::exception visible to all core code to remove chance that a differentNeil1-0/+1
tool set will not indirectly include <stdexcept>.
2014-05-03Replacing the int-based constructors for Point and PRectangle with FromIntsNeil1-1/+1
static methods as there were too many failures with mixed types and not-quite matching types.
2014-05-03Using casts and an alternate PRectangle constructor to make XYPOSITION <-> intNeil1-3/+3
conversions and other conversions more consistent.
2014-03-23Remove method no longer needed.Neil1-6/+0
2013-12-15Format normalization - whitespace and braces made consistent.Neil1-2/+2
Parameter names added to method declarations.
2013-07-21Normalising order of language headers.Neil1-1/+1
2013-05-02Simplifying XPM code and avoiding bare allocations.nyamatongwe1-66/+30
2013-05-02Removing XPMSet class as no longer used.nyamatongwe1-83/+0
2012-07-21Scale factor implemented for RGBAImages to allow for high definition markers ↵nyamatongwe1-2/+3
on retina displays.
2012-07-17Avoid loss of precision warnings from Borland.nyamatongwe1-4/+4
2012-02-14Removed dead code as it was producing warnings.nyamatongwe1-8/+0
2011-11-14Removed warning suppression that had been included for Visual C++ 6.0.nyamatongwe1-4/+0
2011-09-25Palette support removed.nyamatongwe1-26/+6
2011-07-21Added dotted box indicator.nyamatongwe1-7/+15
2011-06-25Initial implementation of RGBA images.nyamatongwe1-5/+130
2010-05-11Made method const.nyamatongwe1-1/+1
2010-02-17Formatting whitespace.nyamatongwe1-3/+3