logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MoveTool - tool for translating components

Description

       MoveTool lets the user translate components to new positions by direct manipulation.

Name

       MoveTool - tool for translating components

Public Operations

MoveTool(ControlInfo*=nil)
              Create a new MoveTool.

       virtualManipulator*CreateManipulator(Viewer*,Event&,Transformer*)virtualvoidInterpretManipulator(Manipulator*)
              CreateManipulator detects whether the user clicked on a component.  If not, it clears the editor's
              selection  and  returns  a  nil manipulator.  If a component was hit, and if the component was not
              previously selected, then CreateManipulator clears the editor's selection, selects  the  component
              the  user  hit, and delegates manipulator creation and interpretation to it.  If the component was
              the only selected component, it again delegates manipulator creation  and  interpretation  to  the
              component, but the selection is unaltered.  If the user clicks on one of many selected components,
              then  CreateManipulator will delegate manipulator creation and interpretation without altering the
              selection by calling GraphicView::CreateManipulator and GraphicView::InterpretManipulator  on  the
              component.

See Also

GraphicView(3U), Tool(3U)

Unidraw                                          24 January 1991                                    MoveTool(3U)

Synopsis

#include<Unidraw/Tools/move.h>

See Also