Surface no longer implements/extends PixelBuffer
authoradam <adam@megacz.com>
Sun, 9 Jan 2005 09:27:10 +0000 (09:27 +0000)
committeradam <adam@megacz.com>
Sun, 9 Jan 2005 09:27:10 +0000 (09:27 +0000)
darcs-hash:20050109092710-5007d-2f1137ef13164d4b17e37f7aaed1156b59805478.gz

src/org/ibex/graphics/Surface.java

index 6beebac..82ac330 100644 (file)
@@ -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