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

GraphicCompTool - tool for instantiating graphical components

Description

       A   GraphicCompTool  lets  the  user  instantiate  graphical  components  by  direct  manipulation.   The
       GraphicCompTool keeps a prototypical component that defines the type of component it can instantiate.

Name

       GraphicCompTool - tool for instantiating graphical components

Public Operations

GraphicCompTool(ControlInfo*,GraphicComp*prototype)GraphicCompTool()
              Create a new GraphicCompTool, supplying the prototypical GraphicComp.  (You  should  not  normally
              call  the  parameterless  constructor,  which  Creator requires.)  The first constructor creates a
              graphical view of the prototype for internal use.

       virtualManipulator*CreateManipulator(Viewer*,Event&,Transformer*)virtualvoidInterpretManipulator(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)

Unidraw                                          24 January 1991                             GraphicCompTool(3U)

Synopsis

#include<Unidraw/Tools/grcomptool.h>

See Also