X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fgraphics%2FSurface.java;h=82ac33090276574e960e2b6d6f4182959f8875b9;hp=6beebacc52e30d33ce173cbbb7ecbfab3762176a;hb=2df032bfe69482c5db9dde1733408f72e310138d;hpb=a74d72f54db190be0c0a7915c60132cf1d420158 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