X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fplat%2FOpenGL.java;fp=src%2Forg%2Fxwt%2Fplat%2FOpenGL.java;h=51ef708e869d99f48d12e19abe1ca000cd3af624;hp=c18d09cd15cc849ff88d9742902403cd8ce258ae;hb=3591b88b94a6bb378af3d4abe6eb5233ce583104;hpb=de378041d5ca2aca1a2b5a31ef15ae90a86c977f diff --git a/src/org/xwt/plat/OpenGL.java b/src/org/ibex/plat/OpenGL.java similarity index 95% rename from src/org/xwt/plat/OpenGL.java rename to src/org/ibex/plat/OpenGL.java index c18d09c..51ef708 100644 --- a/src/org/xwt/plat/OpenGL.java +++ b/src/org/ibex/plat/OpenGL.java @@ -1,10 +1,10 @@ // Copyright 2004 Adam Megacz, see the COPYING file for licensing [LGPL] // Author: Brian Alliet -package org.xwt.plat; -import org.xwt.*; -import org.xwt.js.*; -import org.xwt.util.*; +package org.ibex.plat; +import org.ibex.*; +import org.ibex.js.*; +import org.ibex.util.*; abstract class OpenGL { static final boolean pretendToBeACrappyVideoCard = false; @@ -81,8 +81,8 @@ abstract class OpenGL { //System.out.println("drawString(): " + text); } - public void drawGlyph(org.xwt.Font.Glyph source, int dx, int dy, int cx1, int cy1, int cx2, int cy2, int rgb) { - drawPicture_(((org.xwt.Platform.DefaultGlyph)source).getPicture(), dx, dy, cx1, cy1, cx2, cy2, rgb); + public void drawGlyph(org.ibex.Font.Glyph source, int dx, int dy, int cx1, int cy1, int cx2, int cy2, int rgb) { + drawPicture_(((org.ibex.Platform.DefaultGlyph)source).getPicture(), dx, dy, cx1, cy1, cx2, cy2, rgb); } public void drawPicture(Picture source, int dx, int dy, int cx1, int cy1, int cx2, int cy2) { drawPicture_(source, dx, dy, cx1, cy1, cx2, cy2, 0xffffffff); @@ -127,7 +127,7 @@ abstract class OpenGL { GLPicture realPicture = null; } - public Font.Glyph _createGlyph(org.xwt.Font f, char c) { return new org.xwt.Platform.DefaultGlyph(f, c); } + public Font.Glyph _createGlyph(org.ibex.Font f, char c) { return new org.ibex.Platform.DefaultGlyph(f, c); } private native void natDeleteTexture(int tex); public void deleteTexture(final int tex) {