mouse binds overhaul
This commit is contained in:
parent
85c7aaf155
commit
c24b45671a
6 changed files with 67 additions and 27 deletions
|
|
@ -12,6 +12,12 @@ enum eClickBehaviorMode {
|
|||
CLICKMODE_KILL
|
||||
};
|
||||
|
||||
enum eMouseBindMode {
|
||||
MBIND_INVALID = -1,
|
||||
MBIND_MOVE = 0,
|
||||
MBIND_RESIZE
|
||||
};
|
||||
|
||||
struct STouchData {
|
||||
CWindow* touchFocusWindow = nullptr;
|
||||
Vector2D touchSurfaceOrigin;
|
||||
|
|
@ -59,7 +65,7 @@ public:
|
|||
|
||||
// for dragging floating windows
|
||||
CWindow* currentlyDraggedWindow = nullptr;
|
||||
int dragButton = -1;
|
||||
eMouseBindMode dragMode = MBIND_INVALID;
|
||||
|
||||
SDrag m_sDrag;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue