2017-11-20 14:32:53 +01:00
|
|
|
#pragma once
|
2017-11-23 12:46:48 +01:00
|
|
|
#include "ui-input.hh"
|
2017-11-20 14:32:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
/*= 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() {}
|