movetool(3u) [opensolaris man page]
MoveTool(3U) InterViews Reference Manual MoveTool(3U) NAME
MoveTool - tool for translating components SYNOPSIS
#include <Unidraw/Tools/move.h> DESCRIPTION
MoveTool lets the user translate components to new positions by direct manipulation. PUBLIC OPERATIONS
MoveTool(ControlInfo* = nil) Create a new MoveTool. virtual Manipulator* CreateManipulator( Viewer*, Event&, Transformer* ) virtual void InterpretManipulator(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 unal- tered. If the user clicks on one of many selected components, then CreateManipulator will delegate manipulator creation and inter- pretation without altering the selection by calling GraphicView::CreateManipulator and GraphicView::InterpretManipulator on the com- ponent. SEE ALSO
GraphicView(3U), Tool(3U) Unidraw 24 January 1991 MoveTool(3U)
Check Out this Related Man Page
MoveTool(3U) InterViews Reference Manual MoveTool(3U) NAME
MoveTool - tool for translating components SYNOPSIS
#include <Unidraw/Tools/move.h> DESCRIPTION
MoveTool lets the user translate components to new positions by direct manipulation. PUBLIC OPERATIONS
MoveTool(ControlInfo* = nil) Create a new MoveTool. virtual Manipulator* CreateManipulator( Viewer*, Event&, Transformer* ) virtual void InterpretManipulator(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 unal- tered. If the user clicks on one of many selected components, then CreateManipulator will delegate manipulator creation and inter- pretation without altering the selection by calling GraphicView::CreateManipulator and GraphicView::InterpretManipulator on the com- ponent. SEE ALSO
GraphicView(3U), Tool(3U) Unidraw 24 January 1991 MoveTool(3U)