| 1 | // ================================================================ // |
|---|
| 2 | // // |
|---|
| 3 | // File : GDE_extglob.h // |
|---|
| 4 | // // |
|---|
| 5 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 6 | // http://www.arb-home.de/ // |
|---|
| 7 | // // |
|---|
| 8 | // ================================================================ // |
|---|
| 9 | |
|---|
| 10 | #ifndef GDE_EXTGLOB_H |
|---|
| 11 | #define GDE_EXTGLOB_H |
|---|
| 12 | |
|---|
| 13 | enum GapCompression { |
|---|
| 14 | COMPRESS_NONE = 0, |
|---|
| 15 | COMPRESS_VERTICAL_GAPS = 1, |
|---|
| 16 | COMPRESS_ALL = 2, |
|---|
| 17 | COMPRESS_NONINFO_COLUMNS = 3, |
|---|
| 18 | }; |
|---|
| 19 | |
|---|
| 20 | #define GDEMAXMENU 100 |
|---|
| 21 | |
|---|
| 22 | class AP_filter; |
|---|
| 23 | |
|---|
| 24 | #ifndef GDE_PROTO_H |
|---|
| 25 | #include "GDE_proto.h" |
|---|
| 26 | #endif |
|---|
| 27 | |
|---|
| 28 | extern Gmenu menu[GDEMAXMENU]; |
|---|
| 29 | extern int num_menus; |
|---|
| 30 | extern GBDATA *GLOBAL_gb_main; |
|---|
| 31 | |
|---|
| 32 | /* global.h */ |
|---|
| 33 | extern int DataType; |
|---|
| 34 | extern int FileFormat,first_select; |
|---|
| 35 | /*int Dirty,OldEditMode,EditMode = INSERT, EditDir = RIGHT;*/ |
|---|
| 36 | extern int DisplayAttr,OVERWRITE; |
|---|
| 37 | extern int SCALE; |
|---|
| 38 | extern int BlockInput; |
|---|
| 39 | #ifdef SeeAlloc |
|---|
| 40 | int TotalCalloc = 0; |
|---|
| 41 | int TotalRealloc = 0; |
|---|
| 42 | #endif |
|---|
| 43 | extern char FileName[80]; |
|---|
| 44 | extern char current_dir[1024]; |
|---|
| 45 | |
|---|
| 46 | /* |
|---|
| 47 | * Months of the year |
|---|
| 48 | */ |
|---|
| 49 | extern const char *GDEmonth[12]; |
|---|
| 50 | /* |
|---|
| 51 | * Tables for DNA/RNA <--> ASCII translation |
|---|
| 52 | */ |
|---|
| 53 | |
|---|
| 54 | extern int Default_RNA_Trans[]; |
|---|
| 55 | extern int Default_DNA_Trans[]; |
|---|
| 56 | extern int Default_NA_RTrans[]; |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | /* |
|---|
| 60 | * RGB values for the simple palette |
|---|
| 61 | */ |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | /* |
|---|
| 65 | * Character->color lookup table |
|---|
| 66 | */ |
|---|
| 67 | |
|---|
| 68 | extern int Default_NAColor_LKUP[]; |
|---|
| 69 | extern int Default_PROColor_LKUP[]; |
|---|
| 70 | |
|---|
| 71 | extern const char *vert_mito[512]; |
|---|
| 72 | extern const char *mycoplasma[512]; |
|---|
| 73 | extern const char *universal[512]; |
|---|
| 74 | extern const char *yeast[512]; |
|---|
| 75 | |
|---|
| 76 | extern const char *three_to_one[23]; |
|---|
| 77 | #if 0 |
|---|
| 78 | |
|---|
| 79 | extern unsigned char grey0; |
|---|
| 80 | extern unsigned char grey1; |
|---|
| 81 | extern unsigned char grey2; |
|---|
| 82 | extern unsigned char grey3; |
|---|
| 83 | extern unsigned char grey4; |
|---|
| 84 | extern unsigned char grey5; |
|---|
| 85 | extern unsigned char grey6; |
|---|
| 86 | extern unsigned char grey7; |
|---|
| 87 | |
|---|
| 88 | extern unsigned char **greys; |
|---|
| 89 | extern char **grey_pm; /*Pixmap instead of char !?!*/ |
|---|
| 90 | #endif |
|---|
| 91 | |
|---|
| 92 | #else |
|---|
| 93 | #error GDE_extglob.h included twice |
|---|
| 94 | #endif // GDE_EXTGLOB_H |
|---|