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

Raw scroll event captured from the windowing layer. More...

#include "donner/editor/RenderPaneGesture.h"

Collaboration diagram for donner::editor::RenderPaneScrollEvent:
[legend]

Public Attributes

Vector2d scrollDelta = Vector2d::Zero()
 Scroll delta in GLFW / ImGui wheel units.
Vector2d cursorScreen = Vector2d::Zero()
 Cursor position in the render pane's screen-pixel space.
bool zoomModifierHeld = false
 True when Cmd/Ctrl was held for this event.

Detailed Description

Raw scroll event captured from the windowing layer.

Member Data Documentation

◆ cursorScreen

Vector2d donner::editor::RenderPaneScrollEvent::cursorScreen = Vector2d::Zero()

Cursor position in the render pane's screen-pixel space.

◆ scrollDelta

Vector2d donner::editor::RenderPaneScrollEvent::scrollDelta = Vector2d::Zero()

Scroll delta in GLFW / ImGui wheel units.

◆ zoomModifierHeld

bool donner::editor::RenderPaneScrollEvent::zoomModifierHeld = false

True when Cmd/Ctrl was held for this event.


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