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

Method InvalidateImpl

src/SFGUI/CheckButton.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19std::unique_ptr<RenderQueue> CheckButton::InvalidateImpl() const {
20 if( GetChild() ) {
21 GetChild()->Invalidate();
22 }
23
24 return Context::Get().GetEngine().CreateCheckButtonDrawable( std::dynamic_pointer_cast<const CheckButton>( shared_from_this() ) );
25}
26
27sf::Vector2f CheckButton::CalculateRequisition() {
28 const std::string& font_name( Context::Get().GetEngine().GetProperty<std::string>( "FontName", shared_from_this() ) );

Callers

nothing calls this directly

Calls 2

InvalidateMethod · 0.45

Tested by

no test coverage detected