Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-14 | Add ColourRGBA::Grey constructing method to simplify use of grey-scale colours. | Neil | 1 | -1/+5 | |
Use symbolic constants for colour components, fixing 'magic number' warnings. | |||||
2023-12-01 | Remove gcc Wconversion warnings from header. | Neil | 1 | -2/+3 | |
2023-10-10 | Use global constants for opaque black and white and local constants for greys. | Neil | 1 | -0/+3 | |
Makes it easier to understand and reduces warnings. | |||||
2023-10-10 | Use maximumByte constant and share byte to float conversion calculation. | Neil | 1 | -14/+18 | |
2023-04-13 | Use & instead of cast to avoid warning in header. | Neil | 1 | -3/+4 | |
Use named constant for mask that chooses RGB part. | |||||
2023-01-16 | Use intervals for drawing. | Neil | 1 | -0/+11 | |
2023-01-09 | Use unsigned literal and temporary to stop conversion warnings for each ↵ | Neil | 1 | -4/+6 | |
includer. | |||||
2022-09-02 | Add PixelAlignCeil and call PixelAlign* to avoid repeated code. | Markus Nißl | 1 | -0/+1 | |
2021-09-15 | Move colour mixing implementations into implementation file. | Neil | 1 | -18/+2 | |
Avoids some warnings but drops constexpr. Use MixedWith in PlatWin for GDI instead of local implementation. Add unit tests for Geometry. | |||||
2021-08-24 | Remove line end white space. | Neil | 1 | -4/+4 | |
2021-06-09 | Reduce casts by defining methods for common conversions. | Neil | 1 | -0/+4 | |
2021-05-24 | Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h | Neil | 1 | -7/+1 | |
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-22 | Rename ColourAlpha to ColourRGBA to avoid clashes when a ColourAlpha typedef | Neil | 1 | -25/+25 | |
will be published in externally visible header. | |||||
2021-05-14 | Add method to mix colours in a proportion. | Neil | 1 | -0/+11 | |
2021-05-12 | Switch caret line background colour to SC_ELEMENT_CARET_LINE_BACK element and | Neil | 1 | -0/+4 | |
add SetCaretLineLayer. Older caret line APIs SCI_SETCARETLINEVISIBLE, SCI_SETCARETLINEBACK, SCI_SETCARETLINEBACKALPHA now discouraged. | |||||
2021-05-11 | Add tests for element APIs. Fix SCI_GETELEMENTCOLOUR to return value including | Neil | 1 | -0/+4 | |
alpha. Set selection and caret elements as allowing translucency. | |||||
2021-05-04 | Mark WidthF const noexcept and remove 'f' suffixes as XYPOSITION is now double. | Neil | 1 | -4/+4 | |
2021-05-03 | Rename Opaque to WithoutAlpha as it returns a colour with 0 alpha. New Opaque | Neil | 1 | -1/+5 | |
method returns a colour with maximum (0xff) alpha. | |||||
2021-04-25 | Feature [feature-requests:#1402]. Unify colour type with ColourAlpha. | Neil | 1 | -44/+26 | |
Change ColourDesired to ColourAlpha in styles. Remove ColourDesired. | |||||
2021-03-26 | Bug [#2224]. Switch XYPOSITION to double so it has more precision to fix | Neil | 1 | -3/+6 | |
problems with very long documents. Fixes uneven line heights on Cocoa after around 1.1 million lines. | |||||
2021-03-26 | Avoid warning for overflow. | Neil | 1 | -1/+1 | |
2021-03-25 | Add conversion from ColourDesired to Fill as that avoids explicit constructors. | Neil | 1 | -0/+3 | |
2021-03-25 | Shorten names as containers provide context. | Neil | 1 | -7/+7 | |
2021-03-19 | Add Geometry.cxx for geometric and colour operations too complex for headers. | Neil | 1 | -7/+94 | |
Add FillStroke to hold parameters for drawing shapes. | |||||
2021-03-19 | Switch enum to enum class. | Neil | 1 | -0/+6 | |
2021-03-17 | Extract geometry and colour definitions from Platform.h into src/Geometry.h. | Neil | 1 | -0/+209 | |