MCPcopy Create free account
hub / github.com/ddnet/ddnet / RectClipped

Method RectClipped

src/game/client/ui_scrollregion.cpp:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268bool CScrollRegion::RectClipped(const CUIRect &Rect) const
269{
270 return (m_ClipRect.x > (Rect.x + Rect.w) || (m_ClipRect.x + m_ClipRect.w) < Rect.x || m_ClipRect.y > (Rect.y + Rect.h) || (m_ClipRect.y + m_ClipRect.h) < Rect.y);
271}
272
273bool CScrollRegion::ScrollbarShown() const
274{

Callers 2

DoNextRowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected