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

Method Baz

examples/Signals.cpp:47–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void BazClass::Baz() {
48 // This is where the object picks how it is going to behave
49 // based on it's type.
50 switch( m_type ) {
51 case 1:
52 window->SetTitle( "Baz1" );
53 break;
54 case 2:
55 window->SetTitle( "Baz2" );
56 break;
57 case 3:
58 window->SetTitle( "Baz3" );
59 break;
60 default:
61 break;
62 }
63}
64
65}
66

Callers 1

mainFunction · 0.80

Calls 1

SetTitleMethod · 0.80

Tested by

no test coverage detected