diff options
| author | Neil <nyamatongwe@gmail.com> | 2025-02-19 09:58:50 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2025-02-19 09:58:50 +1100 |
| commit | 52837cfc42dcc7952de38b490dc0ebbb56ca00bf (patch) | |
| tree | 1c0bd3e03547a03ed9b770dbff97ccd2c747b8d7 /src | |
| parent | b2e43f3ef123accadd4996b64a37f629e3bd2fbb (diff) | |
| download | scintilla-mirror-52837cfc42dcc7952de38b490dc0ebbb56ca00bf.tar.gz | |
Use ComPtr for render targets of SurfaceD2D.
Add comments about different types of Surface.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Platform.h b/src/Platform.h index 585ddd14c..77464945e 100644 --- a/src/Platform.h +++ b/src/Platform.h @@ -194,8 +194,8 @@ public: virtual ~Surface() noexcept = default; static std::unique_ptr<Surface> Allocate(Scintilla::Technology technology); - virtual void Init(WindowID wid)=0; - virtual void Init(SurfaceID sid, WindowID wid)=0; + virtual void Init(WindowID wid)=0; // For measuring text + virtual void Init(SurfaceID sid, WindowID wid)=0; // For drawing virtual std::unique_ptr<Surface> AllocatePixMap(int width, int height)=0; virtual void SetMode(SurfaceMode mode)=0; |
