MeshLib C++ Docs
Loading...
Searching...
No Matches
MRTouchpadParameters.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
MRViewerFwd.h
"
4
5
namespace
MR
6
{
7
8
struct
TouchpadParameters
9
{
11
bool
ignoreKineticMoves
=
false
;
13
bool
cancellable
=
false
;
15
enum class
SwipeMode
{
16
SwipeRotatesCamera
= 0,
17
SwipeMovesCamera
= 1,
18
Count
19
}
swipeMode
=
SwipeMode::SwipeRotatesCamera
;
20
};
21
22
}
//namespace MR
MRViewerFwd.h
MR
MR::TouchpadParameters
Definition
MRTouchpadParameters.h:9
MR::TouchpadParameters::swipeMode
enum MR::TouchpadParameters::SwipeMode swipeMode
MR::TouchpadParameters::SwipeMode
SwipeMode
swipe processing mode
Definition
MRTouchpadParameters.h:15
MR::TouchpadParameters::SwipeMode::SwipeMovesCamera
@ SwipeMovesCamera
MR::TouchpadParameters::SwipeMode::SwipeRotatesCamera
@ SwipeRotatesCamera
MR::TouchpadParameters::SwipeMode::Count
@ Count
MR::TouchpadParameters::ignoreKineticMoves
bool ignoreKineticMoves
most touchpads implement kinetic (or inertial) scrolling, this option disables handling of these even...
Definition
MRTouchpadParameters.h:11
MR::TouchpadParameters::cancellable
bool cancellable
enable gesture's cancellability, i.e. revert its changes in case of external interruption
Definition
MRTouchpadParameters.h:13
MeshLib
source
MRViewer
MRTouchpadParameters.h
Generated by
1.11.0