Lines Matching refs:Layer
22 void Window::visitLayers(std::function<void(Layer*)> visitor) { in visitLayers()
30 bool Window::signalLayers(std::function<bool(Layer*)> visitor) { in signalLayers()
40 this->visitLayers([](Layer* layer) { layer->onBackendCreated(); }); in onBackendCreated()
44 return this->signalLayers([=](Layer* layer) { return layer->onChar(c, modifiers); }); in onChar()
48 return this->signalLayers([=](Layer* layer) { return layer->onKey(key, state, modifiers); }); in onKey()
52 return this->signalLayers([=](Layer* layer) { return layer->onMouse(x, y, state, modifiers); }); in onMouse()
56 return this->signalLayers([=](Layer* layer) { return layer->onMouseWheel(delta, modifiers); }); in onMouseWheel()
60 return this->signalLayers([=](Layer* layer) { return layer->onTouch(owner, state, x, y); }); in onTouch()
64 this->visitLayers([=](Layer* layer) { layer->onUIStateChanged(stateName, stateValue); }); in onUIStateChanged()
72 this->visitLayers([](Layer* layer) { layer->onPrePaint(); }); in onPaint()
76 this->visitLayers([=](Layer* layer) { layer->onPaint(backbuffer.get()); }); in onPaint()
92 this->visitLayers([=](Layer* layer) { layer->onResize(w, h); }); in onResize()