Dali 3D User Interface Engine
wheel-event-integ.h
Go to the documentation of this file.
1 #ifndef __DALI_INTEGRATION_WHEEL_EVENT_H__
2 #define __DALI_INTEGRATION_WHEEL_EVENT_H__
3 
4 /*
5  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20 
21 // EXTERNAL INCLUDES
22 #include <string>
23 
24 // INTERNAL INCLUDES
27 
28 namespace Dali DALI_IMPORT_API
29 {
30 
31 namespace Integration
32 {
33 
39 struct WheelEvent : public Event
40 {
41  // Enumerations
42 
46  enum Type
47  {
49  CUSTOM_WHEEL
50  };
51 
55  WheelEvent();
56 
66  WheelEvent( Type type, int direction, unsigned int modifiers, Vector2 point, int z, unsigned int timeStamp );
67 
71  virtual ~WheelEvent();
72 
73  // Data
74 
79 
83  int direction;
84 
88  unsigned int modifiers;
89 
93  Vector2 point;
94 
98  int z;
99 
103  unsigned int timeStamp;
104 
105 };
106 
107 } // namespace Integration
108 
109 } // namespace Dali
110 
111 #endif // __DALI_INTEGRATION_WHEEL_EVENT_H__
Dali Docs Home
Read more about Dali