diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-03-25 11:16:04 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-03-25 11:16:04 +1100 | 
| commit | 3d45c4bf974b6fdcce9712bbd3f0071a9618b89f (patch) | |
| tree | 0e648f92f248247953cc6e0e4bed30e83c443765 /qt/ScintillaEditBase/PlatQt.h | |
| parent | 921df6efca5b385790a2806f8b8844becb36e773 (diff) | |
| download | scintilla-mirror-3d45c4bf974b6fdcce9712bbd3f0071a9618b89f.tar.gz | |
Translucent text.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
| -rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index 1fc476129..c9424378e 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -102,6 +102,7 @@ public:  	int Supports(int feature) noexcept override;  	bool Initialised() override;  	void PenColour(ColourDesired fore) override; +	void PenColour(ColourAlpha fore);  	void PenColourWidth(ColourAlpha fore, XYPOSITION strokeWidth);  	int LogPixelsY() override;  	int PixelDivisions() override; @@ -139,21 +140,21 @@ public:  	std::unique_ptr<IScreenLineLayout> Layout(const IScreenLine *screenLine) override;  	void DrawTextNoClip(PRectangle rc, const Font *font, XYPOSITION ybase, -		std::string_view text, ColourDesired fore, ColourDesired back) override; +		std::string_view text, ColourAlpha fore, ColourAlpha back) override;  	void DrawTextClipped(PRectangle rc, const Font *font, XYPOSITION ybase, -		std::string_view text, ColourDesired fore, ColourDesired back) override; +		std::string_view text, ColourAlpha fore, ColourAlpha back) override;  	void DrawTextTransparent(PRectangle rc, const Font *font, XYPOSITION ybase, -		std::string_view text, ColourDesired fore) override; +		std::string_view text, ColourAlpha fore) override;  	void MeasureWidths(const Font *font, std::string_view text,  		XYPOSITION *positions) override;  	XYPOSITION WidthText(const Font *font, std::string_view text) override;  	void DrawTextNoClipUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, -		std::string_view text, ColourDesired fore, ColourDesired back) override; +		std::string_view text, ColourAlpha fore, ColourAlpha back) override;  	void DrawTextClippedUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, -		std::string_view text, ColourDesired fore, ColourDesired back) override; +		std::string_view text, ColourAlpha fore, ColourAlpha back) override;  	void DrawTextTransparentUTF8(PRectangle rc, const Font *font_, XYPOSITION ybase, -		std::string_view text, ColourDesired fore) override; +		std::string_view text, ColourAlpha fore) override;  	void MeasureWidthsUTF8(const Font *font_, std::string_view text,  		XYPOSITION *positions) override;  	XYPOSITION WidthTextUTF8(const Font *font_, std::string_view text) override;  | 
