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

Method ClearImage

src/SFGUI/Button.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void Button::ClearImage() {
39 auto child = GetChild();
40
41 if( child ) {
42 Remove( child );
43 }
44}
45
46void Button::HandleMouseEnter( int /*x*/, int /*y*/ ) {
47 if( GetState() == State::NORMAL ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected