GraphicCompTool(3U)
π GraphicCompTool(3U) π
okay so bestie, welcome to the InterViews Reference Manual β this one's a <pink>Unidraw</pink> page and it's literally about making graphical components pop into existence with your own two hands. no cap. π«Ά
β¨ NAME β¨
GraphicCompTool β the tool for instantiating graphical components π
π¦ SYNOPSIS π¦
#include <Unidraw/Tools/grcomptool.h>
πΈ DESCRIPTION πΈ
So a GraphicCompTool is the thing that lets the user instantiate graphical components by direct manipulation β like, you just click and drag and boom, component. β¨
The way it works is that the GraphicCompTool keeps a prototypical component hanging around, and that prototype is what defines the type of component it's able to instantiate. iconic behaviour honestly. π
π PUBLIC OPERATIONS π
GraphicCompTool(ControlInfo*, GraphicComp* prototype)GraphicCompTool()
Create a new GraphicCompTool, supplying the prototypical GraphicComp. β οΈ heads up: you should not normally call the parameterless constructor, which Creator requires. The first constructor creates a graphical 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. it's giving delegation, it's giving teamwork. π€
GraphicComp* GetPrototype()
Return the prototypical GraphicComp. that's it, that's the whole function, no notes. π
π SEE ALSO π
GraphicComp(3U)Tool(3U)
and that's the whole page bestie!! this came to you courtesy of Unidraw, dated 24 January 1991 β yeah she's vintage but she still ate fr fr πβ¨
π¦ where this page comes from
- debian bookworm: ivtools-dev 2.0.11d.a1-1+b4
- debian trixie: ivtools-dev 2.0.11d.a1-3+b4
- ubuntu jammy: ivtools-dev 2.0.11d.a1-1build1
- ubuntu noble: ivtools-dev 2.0.11d.a1-3build1
- ubuntu questing: ivtools-dev 2.0.11d.a1-3build7
- ubuntu resolute: ivtools-dev 2.0.11d.a1-3build9
- ubuntu stonking: ivtools-dev 2.1.1+git.2025.07.26.a1-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms