7 #ifndef CAFU_GUIEDITOR_TOOL_SELECTION_HPP_INCLUDED
8 #define CAFU_GUIEDITOR_TOOL_SELECTION_HPP_INCLUDED
12 #include "Math3D/Vector2.hpp"
13 #include "Templates/Array.hpp"
14 #include "wx/gdicmn.h"
29 ToolID GetID()
const {
return TOOL_SELECTION; }
38 bool OnLMouseDown(
RenderWindowT* RenderWindow, wxMouseEvent& ME);
39 bool OnLMouseUp (
RenderWindowT* RenderWindow, wxMouseEvent& ME);
40 bool OnMouseMove (
RenderWindowT* RenderWindow, wxMouseEvent& ME);
41 bool OnRMouseUp (
RenderWindowT* RenderWindow, wxMouseEvent& ME);
82 TrafoHandleT GetHandle(
const Vector2fT& GuiPos)
const;
83 wxCursor SuggestCursor(TrafoHandleT TrafoHandle)
const;
88 ToolStateT m_ToolState;
89 TrafoHandleT m_DragState;
92 float m_RotStartAngle;
This class represents a child frame.
Definition: ChildFrame.hpp:55
Definition: RenderWindow.hpp:20
Definition: ChildFrame.hpp:35
Definition: GuiDocument.hpp:39