26 lines
532 B
C++
26 lines
532 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;
|
|
};
|
|
using P_MouseCtrl = T_OwnPtr< A_MouseCtrl >;
|
|
|
|
inline A_MouseCtrl::~A_MouseCtrl() {}
|