GraphicCompTool - tool for instantiating graphical compo-
nents
SYNOPSIS
#include <Unidraw/Tools/grcomptool.h>
DESCRIPTION
A GraphicCompTool lets the user instantiate graphical com-
ponents by direct manipulation. The GraphicCompTool keeps
a prototypical component that defines the type of compo-
nent it can instantiate.
PUBLIC OPERATIONS
GraphicCompTool(ControlInfo*, GraphicComp* prototype)
GraphicCompTool()
Create a new GraphicCompTool, supplying the proto-
typical GraphicComp. (You should not normally call
the parameterless constructor, which Creator
requires.) The first constructor creates a graphi-
cal view of the prototype for internal use.
virtual Manipulator* CreateManipulator(
Viewer*, Event&, Transformer*
)
virtual void InterpretManipulator(Manipulator*)
CreateManipulator clears the editor's selection and
delegates manipulator creation and interpretation
to the graphical view of the prototype.
GraphicComp* GetPrototype()
Return the prototypical GraphicComp.
SEE ALSO
GraphicComp(3U), Tool(3U)
Man(1) output converted with
man2html