MeVisLab Toolbox Reference
ManagedMouseWheelTrigger.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2014, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef MANAGED_MOUSE_WHEEL_TRIGGER_H
14#define MANAGED_MOUSE_WHEEL_TRIGGER_H
15
17
22{
23public:
27
29 bool matches(int mask) const;
30
32 std::string toString() const;
33
43 static ManagedMouseWheelTrigger fromString(const std::string& s);
44};
45
46#endif // __ManagedMouseWheelTrigger_H
#define SOMANAGEDINTERACTION_API
File to resolve system dependencies in View2D library.
Class ManagedMouseButtonTrigger encapsulates the combination of required and ignored mouse buttons an...
Class ManagedMouseWheelTrigger encapsulates the combination of required and ignored modifier keys tha...
static ManagedMouseWheelTrigger fromString(const std::string &s)
Create a trigger from a string.
ManagedMouseWheelTrigger(int triggerMask=0, int ignoreMask=0)
Creates a wheel trigger with a trigger mask and an ignore mask.
std::string toString() const
bool matches(int mask) const
Target mlrange_cast(Source arg)
Generic version of checked ML casts.