Searched refs:rcClientRect (Results 1 – 6 of 6) sorted by relevance
/dports/games/openclonk/openclonk-release-8.1-src/src/gui/ |
H A D | C4GuiEdit.cpp | 195 iControlXPos -= rcClientRect.x - rcBounds.x - iXScroll; in GetCharPos() 236 if (rcClientRect.Wdt<5) return; in ScrollCursorInView() 238 int32_t iScrollOff = std::min<int32_t>(20, rcClientRect.Wdt/3); in ScrollCursorInView() 255 while (w-iXScroll >= rcClientRect.Wdt/5 && w>=rcClientRect.Wdt-iScrollOff+iXScroll) in ScrollCursorInView() 258 iXScroll += std::min(100, rcClientRect.Wdt/4); in ScrollCursorInView() 579 …rcClientRect.x+cgo.TargetX-2, ncly1 = rcClientRect.y+cgo.TargetY, nclx2 = rcClientRect.x+rcClientR… in DrawElement() 585 if (rcClientRect.Hgt <= iHgt) in DrawElement() 588 iHgt=rcClientRect.Hgt; in DrawElement() 589 iY0=rcClientRect.y; in DrawElement() 594 iY0 = rcClientRect.y+(rcClientRect.Hgt-iHgt)/2+1; in DrawElement() [all …]
|
H A D | C4GuiContainers.cpp | 280 C4Rect &rcClientRect = GetClientRect(), &rcBounds = GetBounds(); in MouseInput() local 281 iX -= rcClientRect.x - rcBounds.x; iY -= rcClientRect.y - rcBounds.y; in MouseInput() 300 C4Rect &rcClientRect = GetClientRect(); in Draw() local 310 cgo.TargetX += rcClientRect.x; cgo.TargetY += rcClientRect.y; in Draw() 314 cgo.TargetX -= rcClientRect.x; cgo.TargetY -= rcClientRect.y; in Draw() 329 …rcClientRect.Set(rcBounds.x + iMarginL, rcBounds.y + iMarginT, std::max<int32_t>(rcBounds.Wdt - iM… in UpdateOwnPos() 530 rcClientRect.x = 0; in Update() 531 rcClientRect.y = -iScrollY; in Update() 532 rcClientRect.Wdt = rcBounds.Wdt; in Update() 533 rcClientRect.Hgt = iClientHeight; in Update() [all …]
|
H A D | C4Scoreboard.cpp | 410 int32_t iY = YMargin + int32_t(cgo.TargetY) + rcClientRect.y; in DrawElement() 413 int32_t iX = XMargin + int32_t(cgo.TargetX) + rcClientRect.x; in DrawElement()
|
H A D | C4Gui.h | 851 C4Rect rcClientRect; // area for contained elements 864 C4Rect &GetClientRect() override { return rcClientRect; } 867 { riX -= rcClientRect.x; riY -= rcClientRect.y; } 869 { riX += rcClientRect.x; riY += rcClientRect.y; }
|
H A D | C4StartupOptionsDlg.cpp | 205 C4Rect &rcClientRect = GetClientRect(), &rcBounds = GetBounds(); in MouseInput() local 206 iX -= rcClientRect.x - rcBounds.x; iY -= rcClientRect.y - rcBounds.y; in MouseInput()
|
H A D | C4GuiDialogs.cpp | 800 …AddElement(pSubTitle = new Label(szSubtitle, rcClientRect.Wdt, C4UpperBoardHeight-::GraphicsResour… in FullscreenDialog()
|