javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java
changeset 35 85266cc22c7f
parent 26 dc7c549001d5
child 56 abc41079b313
child 61 bf7ee68962da
--- a/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java	Thu May 27 12:49:31 2010 +0300
+++ b/javauis/eswt_qt/org.eclipse.swt/Eclipse_SWT_PI/qt/org/eclipse/swt/graphics/Internal_GfxPackageSupport.java	Fri Jun 11 13:33:44 2010 +0300
@@ -39,6 +39,15 @@
 public static int getPixmapHandle(Image i) {
     return i.getPixmapHandle();
 }
+/*
+ * From the class Device
+ */
+public static boolean internal(Device d) {
+	return d.internal;
+}
+public static boolean initialized() {
+	return Device.initialized;
+}
 
 public static Color newColor(Device device, int handle) {
     return Color.qt_new(device, handle);