16#ifndef AEONGUI_DOM_WHEELEVENT_H
17#define AEONGUI_DOM_WHEELEVENT_H
18#include "aeongui/dom/MouseEvent.hpp"
71 unsigned long m_deltaMode{0};
constexpr const DOMString & type() const
Get the event type.
Definition Event.hpp:73
MouseEvent(const DOMString &type, const MouseEventInit &eventInitDict={})
Construct a MouseEvent.
Definition MouseEvent.cpp:22
static constexpr unsigned long DOM_DELTA_PIXEL
Delta values are in pixels.
Definition WheelEvent.hpp:44
static constexpr unsigned long DOM_DELTA_LINE
Delta values are in lines.
Definition WheelEvent.hpp:45
static constexpr unsigned long DOM_DELTA_PAGE
Delta values are in pages.
Definition WheelEvent.hpp:46
WheelEvent(const DOMString &type, const WheelEventInit &eventInitDict={})
Construct a WheelEvent.
Definition WheelEvent.cpp:22
double deltaZ() const
Get the Z-axis scroll amount.
Definition WheelEvent.cpp:50
double deltaY() const
Get the Y-axis scroll amount.
Definition WheelEvent.cpp:46
double deltaX() const
Get the X-axis scroll amount.
Definition WheelEvent.cpp:42
unsigned long deltaMode() const
Get the unit indicator for delta values.
Definition WheelEvent.cpp:54
Initialization dictionary for MouseEvent construction.
Definition MouseEvent.hpp:31
Initialization dictionary for WheelEvent construction.
Definition WheelEvent.hpp:28
double deltaY
Scroll amount for the Y axis.
Definition WheelEvent.hpp:30
unsigned long deltaMode
Unit indicator for delta values.
Definition WheelEvent.hpp:32
double deltaX
Scroll amount for the X axis.
Definition WheelEvent.hpp:29
double deltaZ
Scroll amount for the Z axis.
Definition WheelEvent.hpp:31