Changeset 4175 in vbox
- Timestamp:
- Aug 16, 2007 1:46:21 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r4165 r4175 2399 2399 void VBoxConsoleWnd::setMask (const QRegion &aRegion) 2400 2400 { 2401 QRegion diff = mPrevRegion.subtract (aRegion);2401 QRegion difference = mPrevRegion.subtract (aRegion); 2402 2402 2403 2403 /* Region offset calculation */ … … 2415 2415 2416 2416 /* Invisible region calculation */ 2417 HRGN oldReg = CreateRectRgn (0, 0, 0, 0);2418 CombineRgn ( oldReg, diff.handle(), 0, RGN_COPY);2419 OffsetRgn ( oldReg, fleft, ftop);2417 HRGN diffReg = CreateRectRgn (0, 0, 0, 0); 2418 CombineRgn (diffReg, difference.handle(), 0, RGN_COPY); 2419 OffsetRgn (diffReg, fleft, ftop); 2420 2420 2421 2421 /* Set the current visible region and clean the previous */ 2422 2422 SetWindowRgn (winId(), newReg, FALSE); 2423 RedrawWindow ( winId(), NULL, newReg, RDW_INVALIDATE | RDW_UPDATENOW);2424 RedrawWindow ( NULL, NULL, oldReg, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ALLCHILDREN);2423 RedrawWindow (NULL, NULL, diffReg, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ALLCHILDREN); 2424 RedrawWindow (console->viewport()->winId(), NULL, NULL, RDW_INVALIDATE); 2425 2425 2426 2426 mPrevRegion = aRegion;
Note:
See TracChangeset
for help on using the changeset viewer.