VirtualBox

Changeset 4175 in vbox


Ignore:
Timestamp:
Aug 16, 2007 1:46:21 PM (17 years ago)
Author:
vboxsync
Message:

2079: Create seamless mode for Windows guests.

Win32 moving window redraw problem fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r4165 r4175  
    23992399void VBoxConsoleWnd::setMask (const QRegion &aRegion)
    24002400{
    2401     QRegion diff = mPrevRegion.subtract (aRegion);
     2401    QRegion difference = mPrevRegion.subtract (aRegion);
    24022402
    24032403    /* Region offset calculation */
     
    24152415
    24162416    /* 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);
    24202420
    24212421    /* Set the current visible region and clean the previous */
    24222422    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);
    24252425
    24262426    mPrevRegion = aRegion;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette