From 05dac69d8700671ab7970d6c0ecba61102cbf63a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 9 Mar 2003 04:08:13 +0000 Subject: 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. --- include/Platform.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') 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; -- cgit v1.2.3