source: branches/stable/EDIT4/ed4_extern.hxx

Last change on this file was 15288, checked in by westram, 8 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 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// Note: add all GCs (defining a font) to the array 'font_GC'; see ED4_root.cxx@recalc_font_group
23
24enum ED4_gc {
25    ED4_G_STANDARD,
26    ED4_G_FLAG_INFO,
27
28    ED4_G_SEQUENCES, // also used as sequence color 0
29    ED4_G_HELIX,     // also used as sequence color 1
30    ED4_G_COLOR_2,
31    ED4_G_COLOR_3,
32    ED4_G_COLOR_4,
33    ED4_G_COLOR_5,
34    ED4_G_COLOR_6,
35    ED4_G_COLOR_7,
36    ED4_G_COLOR_8,
37    ED4_G_COLOR_9,
38
39    ED4_G_CURSOR,               // Color of cursor
40    ED4_G_MARKED,               // Background for marked species
41    ED4_G_SELECTED,             // Background for selected species
42
43    ED4_G_CBACK_0,  // Ranges for column statistics
44    ED4_G_CBACK_1,
45    ED4_G_CBACK_2,
46    ED4_G_CBACK_3,
47    ED4_G_CBACK_4,
48    ED4_G_CBACK_5,
49    ED4_G_CBACK_6,
50    ED4_G_CBACK_7,
51    ED4_G_CBACK_8,
52    ED4_G_CBACK_9,
53
54    ED4_G_SBACK_0,  // Background for search
55    ED4_G_SBACK_1,
56    ED4_G_SBACK_2,
57    ED4_G_SBACK_3,
58    ED4_G_SBACK_4,
59    ED4_G_SBACK_5,
60    ED4_G_SBACK_6,
61    ED4_G_SBACK_7,
62    ED4_G_SBACK_8,
63    ED4_G_MBACK,    // Mismatches
64
65    ED4_G_FLAG_FRAME,
66    ED4_G_FLAG_FILL,
67
68    ED4_G_FIRST_COLOR_GROUP,   // Background colors for colored species
69    ED4_G_LAST_COLOR_GROUP = ED4_G_FIRST_COLOR_GROUP+AW_COLOR_GROUPS-1,
70
71    ED4_G_DRAG, // must be last
72};
73
74
75#define ED4_AWAR_SEARCH_RESULT_CHANGED "tmp/search/result_changed" // triggered when search result changes
76#define AWAR_EDIT_RIGHTWARD            "tmp/edit4/edit_direction"
77
78#else
79#error ed4_extern.hxx included twice
80#endif // ED4_EXTERN_HXX
Note: See TracBrowser for help on using the repository browser.