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

Method InvalidateImpl

src/SFGUI/ToggleButton.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27std::unique_ptr<RenderQueue> ToggleButton::InvalidateImpl() const {
28 if( GetChild() ) {
29 GetChild()->Invalidate();
30 }
31
32 return Context::Get().GetEngine().CreateToggleButtonDrawable( std::dynamic_pointer_cast<const ToggleButton>( shared_from_this() ) );
33}
34
35void ToggleButton::SetActive( bool active ) {
36 if( active == m_active ) {

Callers

nothing calls this directly

Calls 2

InvalidateMethod · 0.45

Tested by

no test coverage detected