MCPcopy Create free account
hub / github.com/TankOs/SFGUI / HandleSizeChange

Method HandleSizeChange

src/SFGUI/ScrolledWindow.cpp:280–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void ScrolledWindow::HandleSizeChange() {
281 // A parent caused us to move/resize, have to recalculate everything.
282 RecalculateAdjustments();
283 RecalculateContentAllocation();
284
285 Invalidate();
286}
287
288bool ScrolledWindow::HandleAdd( Widget::Ptr child ) {
289 if( GetChildren().size() > 2 ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected