org.oscim.backend: docs and cleanups

This commit is contained in:
Hannes Janetzek
2013-09-25 05:30:34 +02:00
parent a9d9c97bff
commit 2db1cf8b6c
17 changed files with 171 additions and 105 deletions

View File

@@ -67,7 +67,7 @@ public class AwtBitmap implements Bitmap {
private int dbgCnt;
@Override
public int uploadToTexture(boolean replace) {
public void uploadToTexture(boolean replace) {
int[] pixels;
IntBuffer buffer;
@@ -113,8 +113,6 @@ public class AwtBitmap implements Bitmap {
Gdx.gl20.glTexImage2D(GL20.GL_TEXTURE_2D, 0, GL20.GL_RGBA, width,
height, 0, GL20.GL_RGBA, GL20.GL_UNSIGNED_BYTE, buffer);
return 0;
}
@Override

View File

@@ -24,23 +24,11 @@ public class AwtGraphics extends CanvasAdapter {
// do nothing
}
@Override
public int getColor(Color color) {
// TODO Auto-generated method stub
return 0;
}
@Override
public Paint getPaint() {
return new AwtPaint();
}
@Override
public int parseColor(String colorString) {
// TODO Auto-generated method stub
return 0;
}
@Override
public Bitmap getBitmap(int width, int height, int format) {
return new AwtBitmap(width, height, format);