Changeset 185 for trunk/src/plugins
- Timestamp:
- Sep 14, 2009, 8:01:23 PM (16 years ago)
- Location:
- trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/library/swt.c
r180 r185 1602 1602 1603 1603 } 1604 JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_pm_OS_WinQueryUpdateRect 1605 (JNIEnv *env, jclass that, jint hwnd, jobject prcl) 1606 { 1607 DECL_GLOB(pGlob) 1608 RECTL c_rcl, *c_prcl = NULL; 1609 jboolean rc; 1610 1611 DEBUG_CALL("WinQueryUpdateRect\n") 1612 1613 if (prcl) c_prcl = getRECTLFields(env, prcl, &c_rcl, &PGLOB(RECTLFc)); 1614 1615 rc = (jboolean)WinQueryUpdateRect((HWND)hwnd, c_prcl); 1616 1617 if (prcl) setRECTLFields(env, prcl, c_prcl, &PGLOB(RECTLFc)); 1618 1619 return rc; 1620 } 1621 1604 1622 JNIEXPORT jboolean JNICALL Java_org_eclipse_swt_internal_pm_OS_PrfQueryProfileSize 1605 1623 (JNIEnv *env, jclass that, jint hini, jobject pszApp, jobject pszKey, -
trunk/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/org/eclipse/swt/internal/pm/OS.java
r182 r185 649 649 650 650 /* return code to indicate type of region for GpiCombineRegion and others */ 651 //public static final int RGN_ERROR = 0;651 public static final int RGN_ERROR = 0; 652 652 public static final int RGN_NULL = 1; 653 //public static final int RGN_RECT = 2;653 public static final int RGN_RECT = 2; 654 654 public static final int RGN_COMPLEX = 3; 655 655 … … 2401 2401 public static final native int WinQueryCapture(int hwndDeskTop); 2402 2402 public static final native boolean WinSetActiveWindow(int hwndDeskTop, int hwnd); 2403 public static final native boolean WinQueryUpdateRect(int hwnd, RECTL prclPrc); 2403 2404 public static final native boolean PrfQueryProfileSize (int hini, PSZ pszApp, 2404 2405 PSZ pszKey, int[] pulDataLen);
Note:
See TracChangeset
for help on using the changeset viewer.