Home
last modified time | relevance | path

Searched refs:rcClientRect (Results 1 – 6 of 6) sorted by relevance

/dports/games/openclonk/openclonk-release-8.1-src/src/gui/
H A DC4GuiEdit.cpp195 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()
579rcClientRect.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 DC4GuiContainers.cpp280 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()
329rcClientRect.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 DC4Scoreboard.cpp410 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 DC4Gui.h851 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 DC4StartupOptionsDlg.cpp205 C4Rect &rcClientRect = GetClientRect(), &rcBounds = GetBounds(); in MouseInput() local
206 iX -= rcClientRect.x - rcBounds.x; iY -= rcClientRect.y - rcBounds.y; in MouseInput()
H A DC4GuiDialogs.cpp800 …AddElement(pSubTitle = new Label(szSubtitle, rcClientRect.Wdt, C4UpperBoardHeight-::GraphicsResour… in FullscreenDialog()