/reactos/sdk/lib/atl/ |
H A D | atltypes.h | 301 DeflateRect(lpRect->left, lpRect->top, lpRect->right, lpRect->bottom); in DeflateRect() 314 return ::EqualRect(this, lpRect); in EqualRect() 335 InflateRect(lpRect->left, lpRect->top, lpRect->right, lpRect->bottom); in InflateRect() 500 InflateRect(lpRect); 515 DeflateRect(lpRect); 529 r.InflateRect(lpRect); 557 r.DeflateRect(lpRect); 598 CRect r(lpRect); 605 CRect r(lpRect); 612 CRect r(lpRect); [all …]
|
H A D | atlwin.h | 131 _U_RECT(LPRECT lpRect) in _U_RECT() argument 133 m_lpRect = lpRect; in _U_RECT() 401 if (lpRect == NULL) in ClientToScreen() 404 POINT leftTop = {lpRect->left, lpRect->top}; in ClientToScreen() 405 POINT rightBottom = {lpRect->right, lpRect->bottom}; in ClientToScreen() 409 lpRect->left = leftTop.x; in ClientToScreen() 410 lpRect->top = leftTop.y; in ClientToScreen() 411 lpRect->right = rightBottom.x; in ClientToScreen() 412 lpRect->bottom = rightBottom.y; in ClientToScreen() 541 BOOL GetClientRect(LPRECT lpRect) const in GetClientRect() argument [all …]
|
/reactos/win32ss/user/user32/windows/ |
H A D | nonclient.c | 90 RealAdjustWindowRectEx(LPRECT lpRect, in RealAdjustWindowRectEx() argument 99 lpRect->top -= GetSystemMetrics(SM_CYMENU); in RealAdjustWindowRectEx() 104 lpRect->top -= GetSystemMetrics(SM_CYSMCAPTION); in RealAdjustWindowRectEx() 106 lpRect->top -= GetSystemMetrics(SM_CYCAPTION); in RealAdjustWindowRectEx() 110 lpRect, in RealAdjustWindowRectEx() 123 AdjustWindowRectEx(LPRECT lpRect, in AdjustWindowRectEx() argument 135 if (!Hook) return RealAdjustWindowRectEx(lpRect, dwStyle, bMenu, dwExStyle); in AdjustWindowRectEx() 139 Ret = guah.AdjustWindowRectEx(lpRect, dwStyle, bMenu, dwExStyle); in AdjustWindowRectEx() 158 AdjustWindowRect(LPRECT lpRect, in AdjustWindowRect() argument 162 return AdjustWindowRectEx(lpRect, dwStyle, bMenu, 0); in AdjustWindowRect()
|
H A D | window.c | 977 GetClientRect(HWND hWnd, LPRECT lpRect) in GetClientRect() argument 984 lpRect->left = lpRect->top = 0; in GetClientRect() 995 *lpRect = Wnd->rcClient; in GetClientRect() 1000 lpRect->left = lpRect->top = 0; in GetClientRect() 1001 lpRect->right = Wnd->rcClient.right; in GetClientRect() 1277 LPRECT lpRect) in GetWindowRect() argument 1284 *lpRect = Wnd->rcWindow; in GetWindowRect() 1288 lpRect->left = lpRect->top = 0; in GetWindowRect() 1289 lpRect->right = Wnd->rcWindow.right; in GetWindowRect() 1919 CONST RECT *lpRect, in ScrollWindow() argument [all …]
|
H A D | dialog.c | 2736 LPRECT lpRect) in MapDialogRect() argument 2740 lpRect->left = MulDiv(lpRect->left, dlgInfo->xBaseUnit, 4); in MapDialogRect() 2741 lpRect->right = MulDiv(lpRect->right, dlgInfo->xBaseUnit, 4); in MapDialogRect() 2742 lpRect->top = MulDiv(lpRect->top, dlgInfo->yBaseUnit, 8); in MapDialogRect() 2743 lpRect->bottom = MulDiv(lpRect->bottom, dlgInfo->yBaseUnit, 8); in MapDialogRect()
|
/reactos/base/applications/clipbrd/ |
H A D | winutils.c | 65 void DrawTextFromResource(HINSTANCE hInstance, UINT uID, HDC hDC, LPRECT lpRect, UINT uFormat) in DrawTextFromResource() argument 72 DrawTextW(hDC, lpBuffer, nCount, lpRect, uFormat); in DrawTextFromResource() 306 void PlayMetaFileFromClipboard(HDC hdc, const RECT *lpRect) in PlayMetaFileFromClipboard() argument 320 SetViewportExtEx(hdc, lpRect->right, lpRect->bottom, NULL); in PlayMetaFileFromClipboard() 321 SetViewportOrgEx(hdc, lpRect->left, lpRect->top, NULL); in PlayMetaFileFromClipboard() 326 void PlayEnhMetaFileFromClipboard(HDC hdc, const RECT *lpRect) in PlayEnhMetaFileFromClipboard() argument 331 PlayEnhMetaFile(hdc, hEmf, lpRect); in PlayEnhMetaFileFromClipboard() 351 void HDropFromClipboard(HDC hdc, const RECT *lpRect) in HDropFromClipboard() argument 357 RECT rc = *lpRect; in HDropFromClipboard()
|
H A D | winutils.h | 14 void DrawTextFromResource(HINSTANCE hInstance, UINT uID, HDC hDC, LPRECT lpRect, UINT uFormat); 18 void PlayMetaFileFromClipboard(HDC hdc, const RECT *lpRect); 19 void PlayEnhMetaFileFromClipboard(HDC hdc, const RECT *lpRect); 20 void HDropFromClipboard(HDC hdc, const RECT *lpRect);
|
/reactos/dll/win32/uxtheme/ |
H A D | ncscrollbar.c | 57 RECT rect = *lpRect; in SCROLL_PtInRectEx() 64 scrollbarWidth = lpRect->right - lpRect->left; in SCROLL_PtInRectEx() 72 scrollbarWidth = lpRect->bottom - lpRect->top; in SCROLL_PtInRectEx() 339 if( pt.x < lpRect->left ) in SCROLL_ClipPos() 340 pt.x = lpRect->left; in SCROLL_ClipPos() 342 if( pt.x > lpRect->right ) in SCROLL_ClipPos() 343 pt.x = lpRect->right; in SCROLL_ClipPos() 345 if( pt.y < lpRect->top ) in SCROLL_ClipPos() 346 pt.y = lpRect->top; in SCROLL_ClipPos() 348 if( pt.y > lpRect->bottom ) in SCROLL_ClipPos() [all …]
|
H A D | themehooks.c | 776 BOOL WINAPI ClassicAdjustWindowRectEx(LPRECT lpRect, DWORD dwStyle, BOOL bMenu, DWORD dwExStyle) in ClassicAdjustWindowRectEx() argument 780 return g_user32ApiHook.AdjustWindowRectEx(lpRect, dwStyle, bMenu, dwExStyle); in ClassicAdjustWindowRectEx() 783 return AdjustWindowRectEx(lpRect, dwStyle, bMenu, dwExStyle); in ClassicAdjustWindowRectEx()
|
/reactos/dll/win32/comctl32/ |
H A D | commctrl.c | 629 GetEffectiveClientRect (HWND hwnd, LPRECT lpRect, const INT *lpInfo) in GetEffectiveClientRect() argument 636 hwnd, lpRect, lpInfo); in GetEffectiveClientRect() 638 GetClientRect (hwnd, lpRect); in GetEffectiveClientRect() 651 SubtractRect (lpRect, lpRect, &rcCtrl); in GetEffectiveClientRect() 1633 void COMCTL32_DrawInsertMark(HDC hDC, const RECT *lpRect, COLORREF clrInsertMark, BOOL bHorizontal) in COMCTL32_DrawInsertMark() argument 1639 lpRect->top + (lpRect->bottom - lpRect->top)/2 : in COMCTL32_DrawInsertMark() 1640 lpRect->left + (lpRect->right - lpRect->left)/2); in COMCTL32_DrawInsertMark() 1641 LONG l1 = (bHorizontal ? lpRect->left : lpRect->top); in COMCTL32_DrawInsertMark() 1642 LONG l2 = (bHorizontal ? lpRect->right : lpRect->bottom); in COMCTL32_DrawInsertMark()
|
H A D | pager.c | 633 TRACE("orig rect=%s\n", wine_dbgstr_rect(lpRect)); in PAGER_NCCalcSize() 639 infoPtr->nWidth = lpRect->right - lpRect->left; in PAGER_NCCalcSize() 640 infoPtr->nHeight = lpRect->bottom - lpRect->top; in PAGER_NCCalcSize() 645 if (infoPtr->TLbtnState && (lpRect->left + infoPtr->nButtonSize < lpRect->right)) in PAGER_NCCalcSize() 646 lpRect->left += infoPtr->nButtonSize; in PAGER_NCCalcSize() 647 if (infoPtr->BRbtnState && (lpRect->right - infoPtr->nButtonSize > lpRect->left)) in PAGER_NCCalcSize() 648 lpRect->right -= infoPtr->nButtonSize; in PAGER_NCCalcSize() 652 if (infoPtr->TLbtnState && (lpRect->top + infoPtr->nButtonSize < lpRect->bottom)) in PAGER_NCCalcSize() 653 lpRect->top += infoPtr->nButtonSize; in PAGER_NCCalcSize() 654 if (infoPtr->BRbtnState && (lpRect->bottom - infoPtr->nButtonSize > lpRect->top)) in PAGER_NCCalcSize() [all …]
|
H A D | rebar.c | 457 return lpRect->bottom - lpRect->top; in get_rect_cx() 458 return lpRect->right - lpRect->left; in get_rect_cx() 464 return lpRect->right - lpRect->left; in get_rect_cy() 465 return lpRect->bottom - lpRect->top; in get_rect_cy() 2232 if (!lpRect) in REBAR_GetBandBorders() 2246 lpRect->left = 1; in REBAR_GetBandBorders() 2248 lpRect->right = 1; in REBAR_GetBandBorders() 2249 lpRect->bottom = 0; in REBAR_GetBandBorders() 2253 lpRect->top = 1; in REBAR_GetBandBorders() 2254 lpRect->right = 0; in REBAR_GetBandBorders() [all …]
|
H A D | trackbar.c | 280 RECT lpRect, *channel = & infoPtr->rcChannel; in TRACKBAR_CalcChannel() local 282 GetClientRect (infoPtr->hwndSelf, &lpRect); in TRACKBAR_CalcChannel() 288 channel->top = lpRect.top + offsetedge; in TRACKBAR_CalcChannel() 289 channel->bottom = lpRect.bottom - offsetedge; in TRACKBAR_CalcChannel() 293 channel->left = lpRect.left + (infoPtr->uThumbLen / 2) - 1; in TRACKBAR_CalcChannel() 308 channel->left = lpRect.left + offsetedge; in TRACKBAR_CalcChannel() 309 channel->right = lpRect.right - offsetedge; in TRACKBAR_CalcChannel() 311 channel->top = lpRect.top + ((infoPtr->uThumbLen - cyChannel + 2) / 2); in TRACKBAR_CalcChannel() 313 channel->top = lpRect.top + (infoPtr->uThumbLen / 2) - 1; in TRACKBAR_CalcChannel() 334 RECT lpRect; in TRACKBAR_CalcThumb() local [all …]
|
H A D | toolbar.c | 541 myrect.left = (lpRect->left + lpRect->right) / 2 - 1; in TOOLBAR_DrawFlatSeparator() 543 myrect.top = lpRect->top + 2; in TOOLBAR_DrawFlatSeparator() 544 myrect.bottom = lpRect->bottom - 2; in TOOLBAR_DrawFlatSeparator() 581 myrect.left = lpRect->left; in TOOLBAR_DrawFlatHorizontalSeparator() 582 myrect.right = lpRect->right; in TOOLBAR_DrawFlatHorizontalSeparator() 583 myrect.top = lpRect->top + (lpRect->bottom - lpRect->top - 2)/2; in TOOLBAR_DrawFlatHorizontalSeparator() 731 INT cx = lpRect->right - lpRect->left; in TOOLBAR_DrawPattern() 732 INT cy = lpRect->bottom - lpRect->top; in TOOLBAR_DrawPattern() 737 PatBlt (hdc, lpRect->left + cxEdge, lpRect->top + cyEdge, in TOOLBAR_DrawPattern() 3729 if (lpRect == NULL) in TOOLBAR_GetItemRect() [all …]
|
H A D | combo.c | 386 static void CBGetDroppedControlRect( LPHEADCOMBO lphc, LPRECT lpRect) in CBGetDroppedControlRect() argument 391 GetWindowRect(lphc->self, lpRect); in CBGetDroppedControlRect() 393 lpRect->right = lpRect->left + lphc->droppedRect.right - lphc->droppedRect.left; in CBGetDroppedControlRect() 394 lpRect->bottom = lpRect->top + lphc->droppedRect.bottom - lphc->droppedRect.top; in CBGetDroppedControlRect()
|
/reactos/base/applications/sndvol32/ |
H A D | dialog.c | 12 ConvertRect(LPRECT lpRect, UINT xBaseUnit, UINT yBaseUnit) in ConvertRect() argument 14 lpRect->left = MulDiv(lpRect->left, xBaseUnit, 4); in ConvertRect() 15 lpRect->right = MulDiv(lpRect->right, xBaseUnit, 4); in ConvertRect() 16 lpRect->top = MulDiv(lpRect->top, yBaseUnit, 8); in ConvertRect() 17 lpRect->bottom = MulDiv(lpRect->bottom, yBaseUnit, 8); in ConvertRect()
|
/reactos/win32ss/user/user32/include/ |
H A D | ntwrapper.h | 244 GetClipCursor(LPRECT lpRect) in GetClipCursor() argument 246 return NtUserGetClipCursor(lpRect); in GetClipCursor() 266 ClipCursor(CONST RECT *lpRect) in ClipCursor() argument 268 return NtUserClipCursor((RECT *)lpRect); in ClipCursor() 512 InvalidateRect(HWND hWnd, CONST RECT* lpRect, BOOL bErase) in InvalidateRect() argument 514 return NtUserInvalidateRect(hWnd, lpRect, bErase); in InvalidateRect() 517 EXTINLINE BOOL WINAPI ValidateRect(HWND hWnd, CONST RECT *lpRect) in ValidateRect() argument 519 return NtUserValidateRect(hWnd, lpRect); in ValidateRect()
|
/reactos/subsystems/mvdm/ntvdm/console/ |
H A D | video.c | 159 IN PSMALL_RECT lpRect) in __InvalidateConsoleDIBits() argument 165 COORD Origin = { lpRect->Left, lpRect->Top }; in __InvalidateConsoleDIBits() 183 lpRect); in __InvalidateConsoleDIBits() 186 return InvalidateConsoleDIBits(hConsoleOutput, lpRect); in __InvalidateConsoleDIBits()
|
/reactos/dll/directx/ddraw/Clipper/ |
H A D | clipper_stubs.c | 14 LPRECT lpRect, in DirectDrawClipper_GetClipList() argument
|
/reactos/dll/cpl/desk/ |
H A D | draw.c | 392 MyDrawCaptionButtons(HDC hdc, LPRECT lpRect, BOOL bMinMax, int x, COLOR_SCHEME *scheme) in MyDrawCaptionButtons() argument 398 rc3.left = lpRect->right - 2 - x; in MyDrawCaptionButtons() 399 rc3.top = lpRect->top + 2; in MyDrawCaptionButtons() 400 rc3.right = lpRect->right - 2; in MyDrawCaptionButtons() 401 rc3.bottom = lpRect->bottom - 2; in MyDrawCaptionButtons()
|
H A D | draw.h | 8 MyDrawCaptionButtons(HDC hdc, LPRECT lpRect, BOOL bMinMax, int x, COLOR_SCHEME *scheme);
|
/reactos/win32ss/user/user32/controls/ |
H A D | scrollbar.c | 651 static POINT IntScrollClipPos(PRECT lpRect, POINT pt) in IntScrollClipPos() argument 653 if( pt.x < lpRect->left ) in IntScrollClipPos() 654 pt.x = lpRect->left; in IntScrollClipPos() 656 if( pt.x > lpRect->right ) in IntScrollClipPos() 657 pt.x = lpRect->right; in IntScrollClipPos() 659 if( pt.y < lpRect->top ) in IntScrollClipPos() 660 pt.y = lpRect->top; in IntScrollClipPos() 662 if( pt.y > lpRect->bottom ) in IntScrollClipPos() 663 pt.y = lpRect->bottom; in IntScrollClipPos()
|
/reactos/win32ss/user/ntuser/ |
H A D | scrollex.c | 461 CONST RECT *lpRect, in IntScrollWindow() argument 464 return IntScrollWindowEx( pWnd, dx, dy, lpRect, prcClip, 0, NULL, in IntScrollWindow() 465 … (lpRect ? 0 : SW_SCROLLCHILDREN) | (SW_ERASE|SW_INVALIDATE|SW_SCROLLWNDDCE)) != ERROR; in IntScrollWindow()
|
/reactos/base/applications/taskmgr/ |
H A D | taskmgr.h | 74 void FillSolidRect(HDC hDC, LPCRECT lpRect, COLORREF clr);
|
/reactos/win32ss/gdi/gdi32/wine/ |
H A D | enhmetafile.c | 2376 const RECT *lpRect /* [in] bounding rectangle for rendered metafile */ in EnumEnhMetaFile() argument 2397 if(!lpRect && hdc) in EnumEnhMetaFile() 2485 if ( lpRect && WIDTH(emh->rclFrame) && HEIGHT(emh->rclFrame) ) in EnumEnhMetaFile() 2490 TRACE("rect: %s. rclFrame: (%d,%d)-(%d,%d)\n", wine_dbgstr_rect(lpRect), in EnumEnhMetaFile() 2496 xscale = (double) WIDTH(*lpRect) * 100.0 / in EnumEnhMetaFile() 2498 yscale = (double) HEIGHT(*lpRect) * 100.0 / in EnumEnhMetaFile() 2506 …xform.eDx = (double) lpRect->left - (double) WIDTH(*lpRect) / WIDTH(emh->rclFrame) * emh->rclFrame… in EnumEnhMetaFile() 2507 …xform.eDy = (double) lpRect->top - (double) HEIGHT(*lpRect) / HEIGHT(emh->rclFrame) * emh->rclFram… in EnumEnhMetaFile() 2606 const RECT *lpRect /* [in] rectangle to place metafile inside */ in PlayEnhMetaFile() argument 2609 return EnumEnhMetaFile(hdc, hmf, EMF_PlayEnhMetaFileCallback, NULL, lpRect); in PlayEnhMetaFile()
|