Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
donner::editor::EditorInputBridge Class Reference

Wraps the editor's raw GLFW scroll callback + native pinch monitor plumbing so the advanced editor shell can consume queued gesture events without owning callback lifecycle directly. More...

#include "donner/editor/EditorInputBridge.h"

Public Member Functions

 EditorInputBridge (gui::EditorWindow &window, double wheelZoomStep)
 EditorInputBridge (const EditorInputBridge &)=delete
EditorInputBridge & operator= (const EditorInputBridge &)=delete
std::vector< RenderPaneScrollEvent > & events ()
 Returns the queued render-pane scroll events captured since the previous frame.
void clear ()
 Clears the queued render-pane scroll events.

Detailed Description

Wraps the editor's raw GLFW scroll callback + native pinch monitor plumbing so the advanced editor shell can consume queued gesture events without owning callback lifecycle directly.


The documentation for this class was generated from the following file: