File: seqanal.h

package info (click to toggle)
ncbi-tools6 6.1.20120620-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 241,628 kB
  • ctags: 101,236
  • sloc: ansic: 1,431,713; cpp: 6,248; pascal: 3,949; xml: 3,390; sh: 3,090; perl: 1,077; csh: 488; makefile: 449; ruby: 93; lisp: 81
file content (60 lines) | stat: -rw-r--r-- 1,240 bytes parent folder | download | duplicates (11)
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
56
57
58
59
60
#ifndef _SEQANAL_
#define _SEQANAL_

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

#ifdef __cplusplus
extern "C" {
#endif

/* defines - button registration */

#define BCOUNT 16

/* structures - button registration */

typedef struct buttonregister
{
  ButtoN  PNTR b;
  GrouP   PNTR g;
  Int4    PNTR c;
} ButReg, PNTR ButRegPtr;

/* defines */
#define ANAL_AA 0
#define ANAL_NA 1

/* structures */

typedef struct seqanalform
{
  FORM_MESSAGE_BLOCK
  GraphViewFormPtr  gvp;
  Int2              anal;
  ButtoN            curbut;
  ButRegPtr         burp;
  BioseqPtr         bsp;
  Uint2             entityID, procID, userKEY;
  Uint4             itemID;
} SeqAnalForm, PNTR SeqAnalFormPtr;

/* prototypes */

extern ButRegPtr ButRegNew (void);
extern ButRegPtr ButRegFree (ButRegPtr burp);
extern void ButRegAdd (ButRegPtr burp, ButtoN b, GrouP g, Int4 current);
extern void ButRegSelectProc (ButtoN b);

extern SeqAnalFormPtr SeqAnalFormNew (void);
extern SeqAnalFormPtr SeqAnalFormFree (SeqAnalFormPtr gvp);
extern void BioseqPtrToSeqAnalForm (ForM f, Pointer data);
extern ForM CreateSeqAnalForm (Int2 left, Int2 top, CharPtr title,
                               BioseqPtr bsp);

#ifdef __cplusplus
}
#endif

#endif