Home
last modified time | relevance | path

Searched refs:OffsetRect (Results 1 – 25 of 67) sorted by relevance

123

/reactos/sdk/lib/atl/
H A Datltypes.h405 ::OffsetRect(this, x, y); in OffsetRect()
408 void OffsetRect(POINT point) noexcept in OffsetRect() function
413 void OffsetRect(SIZE size) noexcept in OffsetRect() function
490 OffsetRect(point);
495 OffsetRect(size);
505 OffsetRect(-point.x, -point.y);
510 OffsetRect(-size.cx, -size.cy);
522 r.OffsetRect(point);
536 r.OffsetRect(size);
543 r.OffsetRect(-point.x, -point.y);
[all …]
/reactos/base/applications/mspaint/
H A Dcanvas.cpp50 ::OffsetRect(&rc, GRIP_SIZE - GetScrollPos(SB_HORZ), GRIP_SIZE - GetScrollPos(SB_VERT)); in ImageToCanvas()
62 ::OffsetRect(&rc, GetScrollPos(SB_HORZ) - GRIP_SIZE, GetScrollPos(SB_VERT) - GRIP_SIZE); in CanvasToImage()
102 rcView.OffsetRect(dx, dy); in getNewZoomRect()
489 rcResizing.OffsetRect(cxDelta, cyDelta); in OnMouseMove()
492 rcResizing.OffsetRect(0, cyDelta); in OnMouseMove()
495 rcResizing.OffsetRect(0, cyDelta); in OnMouseMove()
498 rcResizing.OffsetRect(cxDelta, 0); in OnMouseMove()
501 rcResizing.OffsetRect(cxDelta, 0); in OnMouseMove()
H A Dselectionmodel.cpp386 m_rc.OffsetRect(pt.x - m_ptHit.x, pt.y - m_ptHit.y); in Dragging()
490 m_rc.OffsetRect(xDelta, yDelta); in moveSelection()
/reactos/dll/win32/serialui/
H A Dserialui.c223 OffsetRect(&rcDlg, -rcDlg.left, -rcDlg.top); in CommDlgProc()
224 OffsetRect(&rc, -rc.left, -rc.top); in CommDlgProc()
225 OffsetRect(&rc, -rcDlg.right, -rcDlg.bottom); in CommDlgProc()
/reactos/dll/win32/comctl32/
H A Dmonthcal.c945 OffsetRect(&infoPtr->calendars[calIdx].titleyear, shiftX, 0); in MONTHCAL_PaintTitle()
946 OffsetRect(&infoPtr->calendars[calIdx].titlemonth, shiftX, 0); in MONTHCAL_PaintTitle()
1049 OffsetRect(&r, 0, infoPtr->height_increment); in MONTHCAL_PaintWeeknumbers()
1086 OffsetRect(&box_rect, -infoPtr->width_increment, 0); in MONTHCAL_PaintTodayTitle()
1211 OffsetRect(&r, infoPtr->width_increment, 0); in MONTHCAL_PaintCalendar()
1289 OffsetRect(rect, -rect->left, -rect->top); in MONTHCAL_GetMinReqRect()
2643 OffsetRect(&infoPtr->calendars[i*x+j].title, dx, dy); in MONTHCAL_UpdateSize()
2646 OffsetRect(&infoPtr->calendars[i*x+j].wdays, dx, dy); in MONTHCAL_UpdateSize()
2647 OffsetRect(&infoPtr->calendars[i*x+j].weeknums, dx, dy); in MONTHCAL_UpdateSize()
2648 OffsetRect(&infoPtr->calendars[i*x+j].days, dx, dy); in MONTHCAL_UpdateSize()
[all …]
H A Dtheme_scrollbar.c92 OffsetRect(&r, -r.left, -r.top); in hit_test()
169 OffsetRect(&r, -r.left, -r.top); in redraw_part()
323 OffsetRect(&r, -r.left, -r.top); in paint_scrollbar()
H A Dlistview.c2484 OffsetRect(&Label, -Label.left, 0); in LISTVIEW_GetItemMetrics()
4700 OffsetRect(&rcBox, pos->x, pos->y); in LISTVIEW_DrawItemPart()
4701 OffsetRect(&rcSelect, pos->x, pos->y); in LISTVIEW_DrawItemPart()
4702 OffsetRect(&rcIcon, pos->x, pos->y); in LISTVIEW_DrawItemPart()
4704 OffsetRect(&rcLabel, pos->x, pos->y); in LISTVIEW_DrawItemPart()
4877 OffsetRect(&rcBox, pos.x, pos.y); in LISTVIEW_DrawItem()
7326 OffsetRect(lprc, origin.x, y); in LISTVIEW_GetSubItemRect()
7353 OffsetRect(&rect, origin.x, y); in LISTVIEW_GetSubItemRect()
10716 OffsetRect(&rcCol, ptOrigin.x, 0); in LISTVIEW_Notify()
10806 OffsetRect(&r, -r.left, -r.top); in LISTVIEW_NCPaint()
[all …]
H A Dcomctl32_ros.diff525 - OffsetRect(&r, 1, 1);
917 OffsetRect(&r, -r.left, -r.top);
926 OffsetRect(&r, -r.left, -r.top);
1632 OffsetRect(&r, -r.left, -r.top);
1641 OffsetRect(&r, -r.left, -r.top);
1651 OffsetRect(&r, -r.left, -r.top);
1660 OffsetRect(&r, -r.left, -r.top);
2490 OffsetRect(&r, -r.left, -r.top);
2499 OffsetRect(&r, -r.left, -r.top);
H A Dprogress.c267 OffsetRect(&bgrect, -bgrect.left, -bgrect.top); in draw_theme_bkg_H()
279 OffsetRect(&bgrect, -bgrect.left, -bgrect.top); in draw_theme_bkg_V()
/reactos/dll/cpl/console/
H A Dlayout.c103 OffsetRect(&rcNew, -rcNew.left, -rcNew.top); in WinPrev_OnDisplayChange()
252 OffsetRect(&rcWin, -rcWin.left, -rcWin.top); in WinPrev_OnDraw()
258 OffsetRect(&rcWin, 0, 0); in WinPrev_OnDraw()
262 OffsetRect(&rcWin, in WinPrev_OnDraw()
/reactos/modules/rostests/dibtests/patblt/
H A Dpatblt.cpp202 OffsetRect(&RTrack, dX, dY); in MainWndProc()
/reactos/modules/rosapps/applications/screensavers/matrix/
H A Dmessage.c69 OffsetRect(&rect, (msg->width-(rect.right-rect.left))/2, (msg->height-(rect.bottom-rect.top))/2); in SetMatrixMessage()
H A Dconfig.c164 OffsetRect(&rect, (prevwidth-(rect.right-rect.left))/2, (prevheight-(rect.bottom-rect.top))/2); in ConfigDlgProc()
/reactos/win32ss/user/user32/windows/
H A Drect.c134 OffsetRect(LPRECT rect, in OffsetRect() function
/reactos/dll/win32/windowscodecs/
H A Dicnsformat.c45 #define OffsetRect OffsetRect_Mac macro
72 #undef OffsetRect
/reactos/dll/win32/uxtheme/
H A Dnonclient.c624 OffsetRect( &rcCurrent, -context.wi.rcWindow.left, -context.wi.rcWindow.top); in ThemeHandleNCPaint()
1133 OffsetRect(&rcWindowNew, offsetX, offsetY); in DrawWindowForNCPreview()
1173 OffsetRect(&rcClientNew, -pcontext->wi.rcWindow.left, -pcontext->wi.rcWindow.top); in DrawWindowForNCPreview()
1189 OffsetRect(prcClient, -offsetX, -offsetY); in DrawWindowForNCPreview()
H A Dncscrollbar.c301 OffsetRect(&psbi->rcScrollBar, -pcontext->wi.rcWindow.left, -pcontext->wi.rcWindow.top); in ThemeDrawScrollBarEx()
429 OffsetRect(&sbi.rcScrollBar, -context.wi.rcWindow.left, -context.wi.rcWindow.top); in SCROLL_HandleScrollEvent()
/reactos/dll/cpl/desk/
H A Ddraw.c269 OffsetRect(&myr,1,1); in MyDrawFrameCaption()
340 OffsetRect(&myr,1,1); in MyDrawFrameScroll()
/reactos/dll/cpl/sysdm/
H A Dgeneral.c207 OffsetRect(&rcCredits, 1, 1); in RosImageProc()
211 OffsetRect(&rcCredits, -1, -1); in RosImageProc()
/reactos/dll/win32/shell32/shellmenu/
H A DCMenuDeskBar.cpp358 ::OffsetRect(&rc, -rc.left, -rc.top); in Popup()
834 OffsetRect(&rcWindow, -rcWindow.left, -rcWindow.top); in _OnNcPaint()
/reactos/modules/rostests/winetests/user32/
H A Dmonitor.c414OffsetRect(&virt, GetSystemMetrics(SM_XVIRTUALSCREEN), GetSystemMetrics(SM_YVIRTUALSCREEN)); in test_ChangeDisplaySettingsEx()
674 OffsetRect(&wp.rcNormalPosition, rc_work.left, rc_work.top); in test_work_area()
H A Dscroll.c261 OffsetRect(&rect, 5, 5); in test_GetScrollBarInfo()
275 OffsetRect(&rect, 5, 5); in test_GetScrollBarInfo()
/reactos/base/applications/magnify/
H A Dmagnifier.c356 OffsetRect(rect, (rcLeft-rect->left), (rcTop-rect->top)); in GetBestOverlapWithMonitors()
437 OffsetRect(&intersectedRect, -sourceRect.left, -sourceRect.top); in Draw()
/reactos/base/applications/osk/
H A Dmain.c771 OffsetRect(&rcText, Globals.Keyboard->LedTextOffset, 0); in OSK_Paint()
776 OffsetRect(&rcText, Globals.Keyboard->LedTextOffset, 0); in OSK_Paint()
/reactos/sdk/lib/3rdparty/cardlib/
H A Dcardbutton.cpp72 OffsetRect(&fill, 1, 1); in DrawRect()

123