source: tags/svn.1.5.4/EDIT4/ed4_extern.hxx

Last change on this file was 7812, checked in by westram, 13 years ago

merge from dev [7751] [7752]

  • updated many old-style typedefs (typedef struct/enum)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.2 KB
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : ed4_extern.hxx                                    //
4//   Purpose   : external interface (e.g. for secedit)             //
5//                                                                 //
6//   Coded by Ralf Westram (coder@reallysoft.de) in August 2007    //
7//   Institute of Microbiology (Technical University Munich)       //
8//   http://www.arb-home.de/                                       //
9//                                                                 //
10// =============================================================== //
11
12#ifndef ED4_EXTERN_HXX
13#define ED4_EXTERN_HXX
14
15#ifndef AW_COLOR_GROUPS_HXX
16#include <aw_color_groups.hxx>
17#endif
18
19// define GCs
20// (used by plugins to sync colors)
21
22#define ED4_G_FIRST_FONT ED4_G_STANDARD // ED4_G_SEQUENCES
23#define ED4_G_LAST_FONT  ED4_G_HELIX
24
25enum ED4_gc {
26    ED4_G_STANDARD,
27
28    ED4_G_SEQUENCES,
29    ED4_G_HELIX,
30
31    ED4_G_COLOR_2,
32    ED4_G_COLOR_3,
33    ED4_G_COLOR_4,
34    ED4_G_COLOR_5,
35    ED4_G_COLOR_6,
36    ED4_G_COLOR_7,
37    ED4_G_COLOR_8,
38    ED4_G_COLOR_9,
39
40    ED4_G_CBACK_0,  // Ranges for column statistics
41    ED4_G_CBACK_1,
42    ED4_G_CBACK_2,
43    ED4_G_CBACK_3,
44    ED4_G_CBACK_4,
45    ED4_G_CBACK_5,
46    ED4_G_CBACK_6,
47    ED4_G_CBACK_7,
48    ED4_G_CBACK_8,
49    ED4_G_CBACK_9,
50
51    ED4_G_SBACK_0,  // Background for search
52    ED4_G_SBACK_1,
53    ED4_G_SBACK_2,
54    ED4_G_SBACK_3,
55    ED4_G_SBACK_4,
56    ED4_G_SBACK_5,
57    ED4_G_SBACK_6,
58    ED4_G_SBACK_7,
59    ED4_G_SBACK_8,
60    ED4_G_MBACK,    // Mismatches
61
62    ED4_G_CURSOR,               // Color of cursor
63    ED4_G_MARKED,               // Background for marked species
64    ED4_G_SELECTED,             // Background for selected species
65
66    ED4_G_FIRST_COLOR_GROUP,   // Background colors for colored species
67    ED4_G_LAST_COLOR_GROUP = ED4_G_FIRST_COLOR_GROUP+AW_COLOR_GROUPS-1,
68
69    ED4_G_DRAG = ED4_G_LAST_COLOR_GROUP+1               // must be last
70};
71
72
73#define ED4_AWAR_SEARCH_RESULT_CHANGED "tmp/search/result_changed" // triggered when search result changes
74#define AWAR_EDIT_DIRECTION            "tmp/edit4/edit_direction"
75
76#else
77#error ed4_extern.hxx included twice
78#endif // ED4_EXTERN_HXX
Note: See TracBrowser for help on using the repository browser.