diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-03-20 12:10:14 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-03-20 12:10:14 +1100 | 
| commit | 2813306346e4087679915c2b30f1be4949f0228a (patch) | |
| tree | b503f9539900c5623f50e8d6a88da14df7e9ed24 /qt/ScintillaEditBase/PlatQt.h | |
| parent | 2f0011955fe7d3ac0b80247abc88ee0461104eb6 (diff) | |
| download | scintilla-mirror-2813306346e4087679915c2b30f1be4949f0228a.tar.gz | |
Use SurfaceMode struct as a way to inform Surface of modes like code page and
bidirectional options in an extensible way instead of adding a call for each
element.
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.h')
| -rw-r--r-- | qt/ScintillaEditBase/PlatQt.h | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/qt/ScintillaEditBase/PlatQt.h b/qt/ScintillaEditBase/PlatQt.h index b579ee3f3..8f4d2c51d 100644 --- a/qt/ScintillaEditBase/PlatQt.h +++ b/qt/ScintillaEditBase/PlatQt.h @@ -78,8 +78,7 @@ private:  	bool deviceOwned;  	bool painterOwned;  	float x, y; -	bool unicodeMode; -	int codePage; +	SurfaceMode mode;  	const char *codecName;  	QTextCodec *codec; @@ -94,6 +93,8 @@ public:  	void InitPixMap(int width, int height,  		Surface *surface, WindowID wid) override; +	void SetMode(SurfaceMode mode) override; +  	void Release() noexcept override;  	int Supports(int feature) noexcept override;  	bool Initialised() override; | 
