25 lines
487 B
C++
25 lines
487 B
C++
#pragma once
|
|
#include "ui-input.hh"
|
|
|
|
|
|
/*= MOUSE CONTROLS INTERFACE ===================================================*/
|
|
|
|
class A_MouseCtrl
|
|
{
|
|
public:
|
|
virtual ~A_MouseCtrl( ) = 0;
|
|
|
|
virtual void handleDragAndDrop(
|
|
ImVec2 const& move ,
|
|
T_KeyboardModifiers modifiers ,
|
|
T_MouseButtons buttons
|
|
) noexcept = 0;
|
|
|
|
virtual void handleWheel(
|
|
float wheel ,
|
|
T_KeyboardModifiers modifiers ,
|
|
T_MouseButtons buttons
|
|
) noexcept = 0;
|
|
};
|
|
|
|
inline A_MouseCtrl::~A_MouseCtrl() {}
|