MCPcopy Create free account
hub / github.com/aseprite/laf / onEnterKey

Method onEnterKey

examples/floating_window.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 }
138
139 void onEnterKey() override
140 {
141 if (m_floating.isVisible())
142 m_floating.close();
143 else {
144 createFloating();
145 }
146 }
147
148 void createFloating()
149 {

Callers

nothing calls this directly

Calls 2

isVisibleMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected