Changeset 1034 for trunk/src/gui/kernel/qwidget_pm.cpp
- Timestamp:
- Aug 29, 2011, 1:43:52 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget_pm.cpp
r1019 r1034 75 75 extern MRESULT EXPENTRY QtFrameCtlProc(HWND, ULONG, MPARAM, MPARAM); 76 76 77 78 79 80 77 81 #if !defined(QT_NO_SESSIONMANAGER) 78 82 bool qt_about_to_destroy_wnd = false; … … 114 118 // this function -- it is done automatically upon process termination. 115 119 } 120 121 116 122 117 123 /*! … … 231 237 232 238 /*! 239 240 233 241 \enum PWOFlags 234 242 \relates QWidget … … 249 257 250 258 /*! 259 260 251 261 \fn LONG qt_WinProcessWindowObstacles(HWND hwnd, RECTL *prcl, HRGN hrgn, 252 262 LONG op, LONG flags) … … 511 521 ULONG fl) 512 522 { 523 524 525 526 527 528 529 530 531 532 533 534 513 535 #if defined(QT_DEBUGWIDGETMASK) 514 536 qDebug() << "qt_WinSetWindowPos: hwnd" << qDebugHWND(hwnd) … … 843 865 } 844 866 867 868 845 869 /*! 846 870 \internal … … 850 874 hrgn. hps is the presentation space of hrgn. 851 875 */ 852 void qt_WinExcludeOverlappingWindows(HWND hwnd, HPS hps, HRGN hrgn)876 void qt_WinExcludeOverlappingWindows(HWND hwnd, HPS hps, HRGN hrgn) 853 877 { 854 878 HRGN vr = GpiCreateRegion(hps, 0, NULL); … … 882 906 all clip coordinates are inclusive. 883 907 */ 884 void qt_WinScrollWindowWell(HWND hwnd, LONG dx, LONG dy, const PRECTL clip = NULL) 908 static void qt_WinScrollWindowWell(HWND hwnd, LONG dx, LONG dy, 909 const PRECTL clip = NULL) 885 910 { 886 911 WinLockVisRegions(HWND_DESKTOP, TRUE); … … 1103 1128 // problems with this line enabled in Qt3 on OS/2 in QT_PM_NO_WIDGETMASK 1104 1129 // mode (terrible flicker in QFileDialog because QSplitter used there 1105 // sets WA_PaintUnclipped). This however doesn't make a big difference 1106 // now since we don't support QT_PM_NO_WIDGETMASK anymore (read below 1107 // about clipping) and is left here just to show where WA_PaintUnclipped 1108 // was originally intended to be used. 1130 // sets WA_PaintUnclipped). Note that in QT_PM_NATIVEWIDGETMASK mode it 1131 // doesn't play any role since all clipping is manually done by us 1132 // anyway (see below). 1109 1133 #if 0 1110 1134 if (!testAttribute(Qt::WA_PaintUnclipped)) 1111 1135 #endif 1112 1136 { 1137 1113 1138 // We don't use WS_CLIPSIBLINGS and WS_CLIPCHILDREN because when these 1114 1139 // styles are set and the child (sibling) window has a non-NULL clip region, … … 1123 1148 if (topLevel) 1124 1149 style |= WS_CLIPSIBLINGS; 1150 1151 1152 1125 1153 } 1126 1154 … … 2488 2516 void QWidgetPrivate::setMask_sys(const QRegion ®ion) 2489 2517 { 2518 2490 2519 // @todo implement 2520 2491 2521 } 2492 2522 … … 2567 2597 } 2568 2598 2599 2600 2569 2601 /*! 2570 2602 \internal … … 2590 2622 } 2591 2623 2624 2625 2592 2626 QT_END_NAMESPACE
Note:
See TracChangeset
for help on using the changeset viewer.