MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / close

Method close

modules/gui/gui/src/system/input/gesture/gesture_arena.cpp:23–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 _members.add(gesture);
22}
23void GestureArena::close()
24{
25 if (_state != GestureArenaState::Opened)
26 {
27 SKR_LOG_ERROR(u8"close a non-opened arena is not allowed");
28 }
29 _state = GestureArenaState::Closed;
30 _try_to_resolve_arena();
31}
32void GestureArena::sweep()
33{
34 if (_state != GestureArenaState::Closed && _state != GestureArenaState::Resolved)

Callers 4

_init_fontFunction · 0.45
dispatch_eventMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by 1

runMethod · 0.36