Changeset 48070 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxHelpers.cpp
- Timestamp:
- Aug 26, 2013 6:13:22 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88439
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxHelpers.cpp
r35907 r48070 112 112 113 113 void hlpResizeRect(RECTL *paRects, unsigned nRects, unsigned uPrimary, 114 unsigned uResized, int iNewWidth, int iNewHeight) 114 unsigned uResized, int iNewWidth, int iNewHeight, 115 int iNewPosX, int iNewPosY) 115 116 { 116 117 DDCLOG(("nRects %d, iPrimary %d, iResized %d, NewWidth %d, NewHeight %d\n", nRects, uPrimary, uResized, iNewWidth, iNewHeight)); … … 120 121 paNewRects[uResized].right += iNewWidth - (paNewRects[uResized].right - paNewRects[uResized].left); 121 122 paNewRects[uResized].bottom += iNewHeight - (paNewRects[uResized].bottom - paNewRects[uResized].top); 123 paNewRects[uResized].right += iNewPosX - paNewRects[uResized].left; 124 paNewRects[uResized].bottom += iNewPosY - paNewRects[uResized].top; 125 paNewRects[uResized].left = iNewPosX; 126 paNewRects[uResized].top = iNewPosY; 122 127 123 128 /* Verify all pairs of originally adjacent rectangles for all 4 directions.
Note:
See TracChangeset
for help on using the changeset viewer.