From: adam Date: Sun, 9 Jan 2005 09:27:10 +0000 (+0000) Subject: Surface no longer implements/extends PixelBuffer X-Git-Tag: 01-July-2005~30 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=2df032bfe69482c5db9dde1733408f72e310138d Surface no longer implements/extends PixelBuffer darcs-hash:20050109092710-5007d-2f1137ef13164d4b17e37f7aaed1156b59805478.gz --- 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