File: sequence_pair_display.h

package info (click to toggle)
staden 2.0.0%2Bb11-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 21,556 kB
  • sloc: ansic: 240,603; tcl: 65,360; cpp: 12,854; makefile: 11,201; sh: 2,952; fortran: 2,033; perl: 63; awk: 46
file content (34 lines) | stat: -rw-r--r-- 1,062 bytes parent folder | download | duplicates (5)
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
#ifndef _SEQUENCE_DISPLAY_H_
#define _SEQUENCE_DISPLAY_H_

typedef struct seqdispresult {
    void (*op_func)(int seq_num,
		     void *obj,
		     seq_reg_data *data);
    int seq_id[2];
    int result_id;
    Tcl_Interp *interp;
    char seq_disp_win[1024];
    char *colour;
    int index;
    cursor_t *cursor[2];
    int cursor_visible[2];
    int prev_pos[2];
} seq_pair_disp_result;

int seq_disp_reg(Tcl_Interp *interp, char *seq_disp_win, int seq_id_h,
		 int seq_id_v, int cursor_id_h, int cursor_id_v,
		 int result_id, int wx, int wy);

int update_seqs(Tcl_Interp *interp, char *window1, char *window2,
		char *win_diff, char *seq1, char *seq2, int seq1_len,
		int seq2_len, int seq1_left, int seq2_left, int width, int type);

int spin_list_alignment ( char *seq1, char *seq2, char *name1, char *name2,
		     int pos1, int pos2, char *title, int type);

void SequencePairDisplay(Tcl_Interp *interp, char *raster_win, 
			 int result_index, int seq_id_h, int seq_id_v);
void DestroySequencePairDisplay(Tcl_Interp *interp, int result_index);

#endif