2003/10/16 05:39:20
[org.ibex.core.git] / src / org / xwt / plat / Darwin.cc
index 7f4d2f3..fc05588 100644 (file)
@@ -57,8 +57,8 @@ static void* dlsym(char* symbol) {
                                                                  NSLOOKUPSYMBOLINIMAGE_OPTION_BIND));
   if (ret == NULL) ret = NSAddressOfSymbol(NSLookupSymbolInImage(SCHandle, symbol,
                                                                  NSLOOKUPSYMBOLINIMAGE_OPTION_BIND));
-  printf("linking symbol %s to address %x\n", symbol, ret);
-  fflush(stdout);
+  /*printf("linking symbol %s to address %x\n", symbol, ret);
+  fflush(stdout);*/
   return ret;
 }
 
@@ -714,8 +714,9 @@ void Darwin$CarbonSurface::natInit(jboolean framed) {
     WindowAttributes attr =  kWindowStandardHandlerAttribute|
       (framed ? kWindowInWindowMenuAttribute|kWindowStandardDocumentAttributes|kWindowLiveResizeAttribute : 0);
     OSStatus r;
-    rect.top = 0; rect.left = 0; rect.bottom = 300; rect.right=300;
-    winWidth = winHeight = 300;
+    rect.top = rect.left = 0;
+    rect.bottom = rect.right = 10;
+    winWidth = winHeight = 10;
     
     r = WC(CreateNewWindow)(wc, attr, &rect, &window);
     checkStatus(r,"CreateNewWindow");
@@ -1198,7 +1199,7 @@ void Darwin$GLCarbonSurface::natBlit(Darwin$GLCarbonPixelBuffer *db, jint sx1, j
     db->activateContext();
     glFlush();
     checkGLError();
-    
+
     WC(aglSetCurrentContext)(ctx);
     checkGLError();