MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / childrenBounds

Method childrenBounds

src/ui/widget.cpp:648–654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646// ===============================================================
647
648Rect Widget::childrenBounds() const
649{
650 return Rect(m_bounds.x + border().left(),
651 m_bounds.y + border().top(),
652 m_bounds.w - border().width(),
653 m_bounds.h - border().height());
654}
655
656Rect Widget::clientChildrenBounds() const
657{

Callers 4

onSizeHintMethod · 0.80
getDrawableRegionMethod · 0.80
onSizeHintMethod · 0.80
onSetViewScrollMethod · 0.80

Calls 4

leftMethod · 0.45
topMethod · 0.45
widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected