From 2df032bfe69482c5db9dde1733408f72e310138d Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 9 Jan 2005 09:27:10 +0000 Subject: [PATCH] Surface no longer implements/extends PixelBuffer darcs-hash:20050109092710-5007d-2f1137ef13164d4b17e37f7aaed1156b59805478.gz --- src/org/ibex/graphics/Surface.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/ibex/graphics/Surface.java b/src/org/ibex/graphics/Surface.java index 6beebac..82ac330 100644 --- a/src/org/ibex/graphics/Surface.java +++ b/src/org/ibex/graphics/Surface.java @@ -16,7 +16,7 @@ import org.ibex.core.*; // FIXME * Platform subclasses should include an inner class subclass of * Surface to return from the Platform._createSurface() method */ -public abstract class Surface extends PixelBuffer implements Callable { +public abstract class Surface implements Callable { // Static Data //////////////////////////////////////////////////////////////////////////////// @@ -67,6 +67,7 @@ public abstract class Surface extends PixelBuffer implements Callable { // Methods to be overridden by subclasses /////////////////////////////////////////////////////// + public abstract PixelBuffer getPixelBuffer(); ///< returns a PixelBuffer representing this Surface public abstract void toBack(); ///< should push surface to the back of the stacking order public abstract void toFront(); ///< should pull surface to the front of the stacking order public abstract void syncCursor(); ///< set the actual cursor to this.cursor if they do not match -- 1.7.10.4