RotateHandlePrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2016 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _GAZEBO_GUI_ROTATEHANDLE_PRIVATE_HH_
19 #define _GAZEBO_GUI_ROTATEHANDLE_PRIVATE_HH_
20 
21 #include <ignition/math/Vector2.hh>
22 
23 #include "gazebo/common/Color.hh"
24 
25 namespace gazebo
26 {
27  namespace gui
28  {
32  {
34  public: int mouseButtonState;
35 
37  public: double mouseDownX;
38 
40  public: double mouseDownY;
41 
44 
46  public: double handleSize;
47 
49  public: double handleOffsetHeight;
50 
52  public: ignition::math::Vector2d origin;
53 
55  public: ignition::math::Vector2d handleOffset;
56  };
57  }
58 }
59 
60 #endif
common::Color borderColor
Border color of the rotate handle.
Definition: RotateHandlePrivate.hh:43
double handleOffsetHeight
Offset height of the rotate handle (from the item) in pixels.
Definition: RotateHandlePrivate.hh:49
ignition::math::Vector2d handleOffset
Offset position of the rotate handle in pixel coordinates.
Definition: RotateHandlePrivate.hh:55
double handleSize
Size of the rotate handle in pixels.
Definition: RotateHandlePrivate.hh:46
Definition: RotateHandlePrivate.hh:31
double mouseDownY
Mouse press Y position in pixel coordinates.
Definition: RotateHandlePrivate.hh:40
int mouseButtonState
Current mouse state.
Definition: RotateHandlePrivate.hh:34
Defines a color.
Definition: Color.hh:36
double mouseDownX
Mouse press X position in pixel coordinates.
Definition: RotateHandlePrivate.hh:37
ignition::math::Vector2d origin
Origin of the rotate handle.
Definition: RotateHandlePrivate.hh:52