NAME

annotation_unit -- unit to manage annotations

PROTOTYPE

static unitptr annotation_unit( unitptr uHost)

ARGUMENTS

unitptr uHost
host unit

RETURN VALUE:

A pointer to the created unit or NULL in the case of an error.

INTERFACE OF CREATED UNIT:

X_in[2]:
location for new annotation
Y_in[*]:
title for new annotation
Z_in[*]:
text for new annotation
in_3[1]:
nr of annotation requested
X_out[2]:
location of returned annotation
Y_in[*]:
title of returned annotation
Z_in[*]:
text of returned annotation
in_3[1]:
nr of returned annotation
out_4[1]:
nr of annotations helg.

EXECUTION OF CREATED UNIT:

Displays all annotations of this unit within current icon box

ADAPTATION OF CREATED UNIT:

Allows to manipulated annotations of this unit with the mouse.

DESCRIPTION:

This unit provides neo with the ability to place annotations. A single annotation unit can hold several annotations.

Each annotation consists of the following data:

- annotation title (to be displayed in circuit) - annotation location (x,y) center of bullet - annotation text (displayed, if bullet before annotation title is clicked)

CONTROL MODES:

NST_ANNOTATION_SEARCH_BY_XY NST_ANNOTATION_ADD NST_ANNOTATION_REMOVE

EXAMPLES:

STATUS:

Preliminary.

SEE ALSO:

FILE

/amnt/loge/users/nistaff02/nistaff/rhaschke/nst7/man/../o.linux//../neosrc/neo9.c