String os_version = System.getProperty("os.version", "");
String platform_class = null;
- if (os_name.startsWith("Darwin")) platform_class = "Carbon";
+ if (os_name.startsWith("Darwin")) platform_class = "Darwin";
else if (vendor.startsWith("Free Software Foundation")) {
if (os_name.startsWith("Window")) platform_class = "Win32";
else platform_class = "X11";
import org.xwt.*;
import java.util.*;
-public class Carbon extends POSIX {
- static Carbon singleton;
+public class Darwin extends POSIX {
+ static Darwin singleton;
private CarbonOpenGL openGL;
boolean jaguar; // true if we are on OS X >= 10.2
protected String _getAltKeyName() { return "Option"; }
protected boolean _needsAutoClick() { return false; }
protected boolean _needsAutoDoubleClick() { return false; }
- protected String getDescriptiveName() { return "GCJ Carbon Binary"; }
+ protected String getDescriptiveName() { return "GCJ Darwin Binary"; }
protected boolean _isCaseSensitive() { return false; /* Well, not always, could be UFS */ }
throw new Error(err);
}
- public Carbon() {
- synchronized(Carbon.class) {
- if(singleton != null) abort("Tried to instansiate Carbon more than once");
+ public Darwin() {
+ synchronized(Darwin.class) {
+ if(singleton != null) abort("Tried to instansiate Darwin more than once");
singleton = this;
}
}
public QZCarbonDoubleBuffer(int width, int height) {
}
}
-
- private class QZCarbonSurface extends CarbonSurface {
+ private class QZCarbonSurface extends CarbonSurface {
public QZCarbonSurface(Box root, boolean framed) {
super(b,root);
}