File: vibgraph.h

package info (click to toggle)
ncbi-tools6 6.1.20170106%2Bdfsg2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 468,504 kB
  • sloc: ansic: 1,474,210; pascal: 6,740; cpp: 6,248; xml: 3,390; sh: 2,139; perl: 1,084; csh: 508; makefile: 437; ruby: 93; lisp: 81; javascript: 16
file content (55 lines) | stat: -rw-r--r-- 1,616 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef _VIBGRAPH_
#define _VIBGRAPH_

#include <picture.h>
#include <viewer.h>

#include <urkgraph.h>

#ifdef __cplusplus
extern "C" {
#endif

#define REGISTER_GRAPH_ANNOT_EDIT ObjMgrProcLoad (OMPROC_EDIT, \
        "View Graph", "Graph", \
        OBJ_SEQANNOT, 3, OBJ_SEQANNOT, 3, \
        NULL, GraphGenFunc, PROC_PRIORITY_DEFAULT)

#define REGISTER_GRAPH_SGP_EDIT ObjMgrProcLoad (OMPROC_EDIT, \
        "View Graph", "Graph", \
         OBJ_SEQGRAPH, 0,  OBJ_SEQGRAPH, 0, \
        NULL, GraphGenFunc, PROC_PRIORITY_DEFAULT)

#define REGISTER_GRAPH_ANNOTDESC_EDIT ObjMgrProcLoad (OMPROC_EDIT, \
        "View Graph", "Graph", \
        OBJ_ANNOTDESC, 3, OBJ_ANNOTDESC, 3, \
        NULL, GraphGenFunc, PROC_PRIORITY_DEFAULT)

#define REGISTER_GROUP_GRAPH_FILTER ObjMgrProcLoadEx (OMPROC_FILTER, \
        "View Graph", "Graph", \
        OBJ_ANNOTDESC, 3, OBJ_ANNOTDESC, 3, \
        NULL, GraphGenFunc, PROC_PRIORITY_DEFAULT, "Graph Filter")

typedef struct graphviewform
{
  FORM_MESSAGE_BLOCK
  VieweR         v;               /* graph viewer */
  SegmenT        s, sy;           /* graph picture, y scale */
  GraphInfoPtr   gip;             /* graph information */
  Int4           maxzoom, zoom;   /* */
  Int4           maxpixelwidth;   /* */
  PopuP          ZoomPopUp;       /* */
  Uint2          entityID, itemID, procID, userKEY;
} GraphViewForm, PNTR GraphViewFormPtr;

extern void GraphInfoPtrToGraphViewForm (ForM f, Pointer data);

extern ForM xCreateGraphViewForm (Int2 left, Int2 top, CharPtr title);

extern Int2 LIBCALLBACK GraphGenFunc (Pointer data);

#ifdef __cplusplus
}
#endif

#endif