From: megacz Date: Fri, 30 Jan 2004 06:51:32 +0000 (+0000) Subject: 2003/02/12 06:57:20 X-Git-Tag: RC3~1474 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=160bc1839faaa7c6e311c88daf8c24433788544b 2003/02/12 06:57:20 darcs-hash:20040130065132-2ba56-fc6aa91f532bfb13fbd03f33d49dbca543666db0.gz --- diff --git a/CHANGES b/CHANGES index ed49e4e..e8f1bc4 100644 --- a/CHANGES +++ b/CHANGES @@ -484,6 +484,8 @@ 11-Feb megacz Main.java: System.out->System.err +11-Feb megacz DoubleBuffer.java: added 'abstract' keyword + diff --git a/src/org/xwt/DoubleBuffer.java b/src/org/xwt/DoubleBuffer.java index 816434b..f420875 100644 --- a/src/org/xwt/DoubleBuffer.java +++ b/src/org/xwt/DoubleBuffer.java @@ -24,20 +24,20 @@ package org.xwt; public abstract class DoubleBuffer { /** Draw the region of source within (sx1, sy1, sx2, sy2) onto the region of this DoubleBuffer within (dx1, dy1, dx2, dy2), scaling as needed. */ - public void drawPicture(Picture source, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2); + public abstract void drawPicture(Picture source, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2); /** Draw source onto this DoubleBuffer at (x,y) */ - public void drawPicture(Picture source, int x, int y); + public abstract void drawPicture(Picture source, int x, int y); /** Draw text in font and color on this DoubleBuffer, with the upper left corner of the text at (x, y) */ - public void drawString(String font, String text, int x, int y, int color); + public abstract void drawString(String font, String text, int x, int y, int color); /** Fill the region (x1, y1, x2, y2) with color (AARRGGBB format); the alpha channel component is ignored */ - public void fillRect(int x1, int y1, int x2, int y2, int color); + public abstract void fillRect(int x1, int y1, int x2, int y2, int color); /** Sets the clip region for this DoubleBuffer to (x,y,x2,y2) */ - public void setClip(int x, int y, int x2, int y2); + public abstract void setClip(int x, int y, int x2, int y2); - public int getHeight(); - public int getWidth(); + public abstract int getHeight(); + public abstract int getWidth(); }