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

Method Activate

src/SFGUI/Context.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24bool Context::Activate( Context& context ) {
25 if( active_context ) {
26 return false;
27 }
28
29 active_context = &context;
30 return true;
31}
32
33bool Context::Deactivate() {
34 if( !active_context ) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected