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

Method InvalidateImpl

src/SFGUI/Window.cpp:28–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28std::unique_ptr<RenderQueue> Window::InvalidateImpl() const {
29 if( GetChild() ) {
30 GetChild()->SetAllocation( GetClientRect() );
31 }
32
33 return Context::Get().GetEngine().CreateWindowDrawable( std::dynamic_pointer_cast<const Window>( shared_from_this() ) );
34}
35
36void Window::SetTitle( const sf::String& title ) {
37 m_title = title;

Callers

nothing calls this directly

Calls 2

SetAllocationMethod · 0.80
CreateWindowDrawableMethod · 0.80

Tested by

no test coverage detected