Changeset 1013 for trunk/src/gui/kernel/qwindowdefs_pm.h
- Timestamp:
- Aug 20, 2011, 8:26:35 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwindowdefs_pm.h
r1006 r1013 76 76 #define NULLHANDLE ((LHANDLE)0) 77 77 78 #define APIENTRY _System 79 78 80 // constants to address extra window data (nothing so far) 79 81 #define QT_EXTRAWINDATASIZE (sizeof(LONG) * 0) … … 90 92 Q_GUI_EXPORT QWidget *qt_widget_from_hwnd(HWND hwnd); 91 93 92 /** \internal flags for qt_WinProcessWindowObstacles() */ 93 enum { 94 enum PWOFlags { 94 95 PWO_Children = 0x01, 95 PWO_Sib ings = 0x02,96 PWO_Siblings = 0x02, 96 97 PWO_Ancestors = 0x04, 97 98 PWO_Screen = 0x08, 98 99 PWO_TopLevel = 0x80000000, 99 // PWO_Default is suitable in most cases (for simple paint operations) 100 PWO_Default = PWO_Children | PWO_Sibings | PWO_Ancestors | PWO_Screen, 100 PWO_Default = 0 /*PWO_Children | PWO_Siblings | PWO_Ancestors | PWO_Screen*/, 101 101 }; 102 102 103 Q_GUI_EXPORT LONG qt_WinProcessWindowObstacles(HWND hwnd, RECTL *prcl, HRGN hrgn, 104 LONG op, LONG flags = PWO_Default); 103 #ifdef Q_QDOC 104 LONG qt_WinProcessWindowObstacles(HWND hwnd, RECTL *prcl, HRGN hrgn, 105 LONG op, LONG flags); 106 #else 107 Q_GUI_EXPORT LONG APIENTRY qt_WinProcessWindowObstacles(HWND hwnd, RECTL *prcl, 108 HRGN hrgn, LONG op, 109 LONG flags); 110 #endif 105 111 106 112 // QDebug helpers for debugging various API types
Note:
See TracChangeset
for help on using the changeset viewer.