MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / PollEvent

Method PollEvent

LibLemon/src/gui/window.cpp:162–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 }
161
162 bool Window::PollEvent(LemonEvent& ev){
163 Message m;
164 if(long ret = Poll(m); ret > 0 && m.id() == WindowEvent){
165 if(m.id() == WindowEvent){
166 if(!m.Decode(ev)) {
167 return true;
168 }
169 }
170 }
171
172 return false;
173 }
174
175 void Window::WaitEvent(){
176 Wait();

Callers 15

mainFunction · 0.80
DisplayMessageBoxFunction · 0.80
FileDialogFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 2

idMethod · 0.80
DecodeMethod · 0.80

Tested by

no test coverage detected