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:
26 ManagedMouseWheelTrigger(int triggerMask = 0, int ignoreMask = 0) : ManagedMouseButtonTrigger(triggerMask, ignoreMask) {}
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.
ManagedMouseButtonTrigger(int triggerMask=0, int ignoreMask=0)
static ManagedMouseWheelTrigger fromString(const std::string &s)
ManagedMouseWheelTrigger(int triggerMask=0, int ignoreMask=0)
std::string toString() const
Returns a string representation of this trigger (see fromString()).
bool matches(int mask) const
Returns whether this trigger matches the given modifier combination.