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

Method HandleViewportUpdate

src/SFGUI/Viewport.cpp:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void Viewport::HandleViewportUpdate() {
233 Widget::Ptr child( GetChild() );
234
235 if( child ) {
236 child->SetViewport( m_children_viewport );
237 }
238}
239
240void Viewport::UpdateView() {
241 m_children_viewport->SetSourceOrigin(

Callers

nothing calls this directly

Calls 1

SetViewportMethod · 0.45

Tested by

no test coverage detected