Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Windows
Input
Mouse
MouseZoomGesture.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "AppInterface.h"
6
#include "WindowsInput.h"
7
8
namespace
Eegeo
9
{
10
namespace
Windows
11
{
12
namespace
Input
13
{
14
class
MouseZoomGesture
15
{
16
private
:
17
IWindowsInputHandler
* m_pZoomHandler;
18
const
float
m_sensitivity;
19
const
float
m_maxZoomPerSecond;
20
float
m_zoomAccumulator;
21
22
void
TruncateZoomAccumulator();
23
public
:
24
MouseZoomGesture
(
IWindowsInputHandler
* pZoomHandler,
float
sensitivity,
float
maxZoomPerSecond);
25
26
void
PointerMove(
const
MouseInputEvent
& event);
27
28
void
Update(
float
dt);
29
};
30
}
31
}
32
}
Generated on Sat Jun 10 2023 02:00:35 for eeGeo Platform SDK by
1.8.3.1