projects
/
org.ibex.core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003/10/16 05:39:20
[org.ibex.core.git]
/
src
/
org
/
xwt
/
plat
/
Darwin.java
diff --git
a/src/org/xwt/plat/Darwin.java
b/src/org/xwt/plat/Darwin.java
index
8da005c
..
a3e4141
100644
(file)
--- a/
src/org/xwt/plat/Darwin.java
+++ b/
src/org/xwt/plat/Darwin.java
@@
-275,6
+275,7
@@
public class Darwin extends POSIX {
private native void reshape(int w, int h);
// blit_lock is assumed to be held
public void needsReshape() { needsReshape = true; }
private native void reshape(int w, int h);
// blit_lock is assumed to be held
public void needsReshape() { needsReshape = true; }
+
public native void natDispose();
}
public native void natDispose();
}
@@
-321,6
+322,12
@@
public class Darwin extends POSIX {
else
return /*new QZCarbonPicture(data,w,h);*/ null;
}
else
return /*new QZCarbonPicture(data,w,h);*/ null;
}
+ protected Picture _createAlphaOnlyPicture(byte[] data, int w, int h) {
+ if(openGL != null)
+ return openGL.createAlphaOnlyPicture(data,w,h);
+ else
+ return super.createAlphaOnlyPicture(data,w,h);
+ }
/* A message that is sent through the carbon event queue */
private static abstract class CarbonMessage {
/* A message that is sent through the carbon event queue */
private static abstract class CarbonMessage {