Colour only the selected letters of text being edited; project format version 10 (12.14d1)
This commit is contained in:
1 parent
2fa8d9921d
commit
27a4fe8428
32 files changed
+1398
-82
No files matched your search
@@ -27,6 +27,8 @@ public:
|
||||
void previewEffectColor();
|
||||
// The open text draft previews the picker's working colour.
|
||||
void previewTextColor();
|
||||
// Paints the open text's selected letters, or all of it.
|
||||
void setDraftTextColor(const PaletteColor &color);
|
||||
// Swift writes the picker's hsb in place; here, the session.
|
||||
void setColorPickerHSB(const PickerHSB &hsb);
|
||||
void sampleIntoColorPicker(QPointF point);
|
||||
@@ -34,6 +36,7 @@ public:
|
||||
std::optional<PaletteColor> sampleCompositeColor(QPointF point) const;
|
||||
|
||||
private:
|
||||
void paintText(const PaletteColor &color);
|
||||
// Puts back the open text's colours from the picker's opening.
|
||||
void restoreDraftTextColors(const LayerTextStyle &original);
|
||||
void setGradientMapColor(const PaletteColor &color, bool highlights);
|
||||
void setVignetteColor(const PaletteColor &color);
|
||||
Reference in new issue
Block a user