Lines Matching full:layer
23 void Window::visitLayers(std::function<void(Layer*)> visitor) { in visitLayers()
31 bool Window::signalLayers(std::function<bool(Layer*)> visitor) { in signalLayers()
41 this->visitLayers([](Layer* layer) { layer->onBackendCreated(); }); in onBackendCreated() argument
45 return this->signalLayers([=](Layer* layer) { return layer->onChar(c, modifiers); }); in onChar() argument
49 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey() argument
53 return this->signalLayers([=](Layer* layer) { return layer->onMouse(x, y, state, modifiers); }); in onMouse() argument
57 return this->signalLayers([=](Layer* layer) { return layer->onMouseWheel(delta, modifiers); }); in onMouseWheel() argument
61 return this->signalLayers([=](Layer* layer) { return layer->onTouch(owner, state, x, y); }); in onTouch() argument
65 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged() argument
76 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint() argument
77 this->visitLayers([=](Layer* layer) { layer->onPaint(backbuffer.get()); }); in onPaint() argument
93 this->visitLayers([=](Layer* layer) { layer->onResize(w, h); }); in onResize() argument