aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2003-03-09 04:08:13 +0000
committernyamatongwe <unknown>2003-03-09 04:08:13 +0000
commit0e5e6b976c968dce6e63eb68ecaabab35398ed24 (patch)
treeb11df1d33c65b821e0eabb3c84a5503cefae7534 /include/Platform.h
parentfc4ce601c44f0bc0ac7529d76597e482be9b97e4 (diff)
downloadscintilla-mirror-0e5e6b976c968dce6e63eb68ecaabab35398ed24.tar.gz
Added Pango text display support to GTK+ platform.
Added WindowID parameter to all Surface initialisation methods as Pango requires a window to determine the context used for text functions. AutoSurface changed because of above to take an Editor* argument so it can then discover the code page and window.
Diffstat (limited to 'include/Platform.h')
-rw-r--r--include/Platform.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/Platform.h b/include/Platform.h
index ee6e07c34..fa3c9ea10 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -293,9 +293,9 @@ public:
virtual ~Surface() {};
static Surface *Allocate();
- virtual void Init()=0;
- virtual void Init(SurfaceID sid)=0;
- virtual void InitPixMap(int width, int height, Surface *surface_)=0;
+ virtual void Init(WindowID wid)=0;
+ virtual void Init(SurfaceID sid, WindowID wid)=0;
+ virtual void InitPixMap(int width, int height, Surface *surface_, WindowID wid)=0;
virtual void Release()=0;
virtual bool Initialised()=0;