3
* $Id: wcamerarotation.h $
6
* Copyright 2008-14 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
17
#include <api/iwidgets.h>
18
#include <api/math/geometry3d.h>
23
//---------------------------------------------------------------------
25
class WCameraRotation : public GNC::GCS::Widgets::IWidgetBuilder {
28
typedef GNC::GCS::Vector TVector;
29
typedef GNC::GCS::Vector3D TVector3D;
30
typedef GNC::GCS::Events::EventoRaton TEventoRaton;
31
typedef GNC::GCS::Events::EventoTeclado TEventoTeclado;
32
typedef GNC::GCS::IWidgetsManager TWidgetsManager;
33
typedef GNC::GCS::Widgets::IWidget TWidget;
35
WCameraRotation(TWidgetsManager* pManager, const GNC::GCS::TriggerButton& buttonMask, long gid);
39
virtual void OnMouseEvents(TEventoRaton& event);
40
virtual void OnKeyEvents(TEventoTeclado& event);
42
virtual void Render(GNC::GCS::Contexto3D* c);
44
virtual GNC::GCS::Widgets::TipoCursor GetCursor();
53
TVector m_NodoMoviendose; // Cursor