23#include "utility/event/mouse_wheel_event.hpp"
25namespace utility::event
28 MouseWheelEvent::Factory::~Factory(
void)
34 return this->createTyped();
37 std::shared_ptr<MouseWheelEvent>
40 return std::make_unique<MouseWheelEvent>();
std::shared_ptr< MouseWheelEvent > createTyped(void) const
Create a strongly-typed MouseWheelEvent.
std::shared_ptr< Event > create(void) const override
Create a MouseWheelEvent as a base Event pointer.
~MouseWheelEvent(void) override
Default destructor.
MouseWheelEvent & setOffset(const math::Vector2F &offset) noexcept
Set the scroll offset.
MouseWheelEvent(void)
Default constructor.
math::Vector2F getOffset(void) const noexcept
Get the scroll offset.
3D vector class inheriting from glm::vec3.