Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unidrawintro(3u) [debian man page]

UnidrawIntro(3U)					    InterViews Reference Manual 					  UnidrawIntro(3U)

NAME
Unidraw_Intro - Unidraw library for graphical object editor development SYNOPSIS
#include <Unidraw/class.h> #include <Unidraw/Components/class.h> #include <Unidraw/Commands/class.h> #include <Unidraw/Tools/class.h> #include <Unidraw/Graphic/class.h> CC ... -lUnidraw ... -lInterViews -lX -lm DESCRIPTION
Unidraw is an architecture for creating object-oriented graphical editors in domains such as technical and artistic drawing, music composi- tion, and circuit design. Unidraw simpifies the construction of these editors by providing programming abstractions that are common across domains. Unidraw defines four basic abstractions: components encapsulate the appearance and semantics of objects in a domain, tools sup- port direct manipulation of components, commands define operations on components and other objects, and external representations define the mapping between components and the file format generated by the editor. Unidraw also supports multiple views, graphical connectivity and confinement, and dataflow between components. The Unidraw library contains a collection of classes that implement the Unidraw architecture. The Unidraw library is used together with the rest of InterViews, except the graphic structured graphics library, to develop domain-specific graphical object editors. InterViews interactors and composition mechanisms support an application's look and feel, while the Unidraw library supports functionality unique to graphical object editors. Currently, the Unidraw library provides its own structured graphics classes, which are similar to but incompati- ble with the graphic library classes. Therefore you must not use both graphic and Unidraw classes in the same application. General Unidraw classes are declared in header files in the Unidraw include file subdirectory. Component, command, tool, and structured graphics classes are declared in corresponding subdirectories under the Unidraw subdirectory. SEE ALSO
InterViews(3I) Generalized Graphical Object Editing, John M. Vlissides, Technical Report CSL-TR-90-427, Stanford University, June 1990. Unidraw 11 June 1990 UnidrawIntro(3U)

Check Out this Related Man Page

UControl(3U)						    InterViews Reference Manual 					      UControl(3U)

NAME
UControl, UControlInteractor - base classes for menu and button interfaces that work with ControlInfo objects SYNOPSIS
#include <Unidraw/uctrl.h> DESCRIPTION
UControl is an abstract class that augments InterViews' Control base class to deal with Unidraw's ControlInfo objects, which define a key- board equivalent for the control. UControlInteractor is an abstract base class for interactors that base their appearance on the informa- tion in a ControlInfo object. UControl subclasses can use UControlInteractor subclasses to define their appearance. Unidraw-based applications needn't use UControls and UControlInteractors to help define their look and feel if Unidraw's keyboard equiva- lent mechanism is not needed. UCONTROL PUBLIC OPERATIONS
virtual void SetControlInfo(ControlInfo*) ControlInfo* GetControlInfo() Assign and retrieve the UControl's ControlInfo object. UCONTROL PROTECTED OPERATIONS
UControl(ControlInfo*) UControl(const char*, ControlInfo*) UControl provides protected constructors that let subclasses initialize the ControlInfo object and optionally specify their instance name. UCONTROLINTERACTOR PUBLIC OPERATIONS
virtual void SetControlInfo(ControlInfo*) ControlInfo* GetControlInfo() Assign and retrieve the UControlInteractor's ControlInfo object. virtual void Highlight(boolean) The UControlInteractor's appearance is defined by a Graphic object, which it builds from information in its ControlInfo object. By default, UControlInteractor highlights itself by drawing this graphic with its foreground and background colors reversed. UCONTROLINTERACTOR PROTECTED OPERATIONS
UControlInteractor(ControlInfo*) UControlInteractor() UControlInteractor defines two protected constructors. One takes the ControlInfo object to use as an argument. This constructor also initializes the UControlInteractor's _label protected member by calling InitLabel (described below) with the ControlInfo object. The parameterless constructor initializes _label to nil. Both constructors initialize the UControlInteractor's _picture protected member to point to an instance of a Picture object, which defines the UControlInteractor's appearance. virtual void Invert() Invert reverses _picture's colors without drawing it. Graphic* InitLabel(ControlInfo*) Create a graphic from the information stored in a ControlInfo object that defines the UControlInteractor's appearance. This opera- tion creates a GraphicView of the ControlInfo's GraphicComp and returns a copy of the view's graphic. SEE ALSO
Control(3I), ControlInfo(3U), Graphic(3U), GraphicComp(3U), GraphicView(3U), KeyMap(3U) Unidraw 20 November 1990 UControl(3U)
Man Page