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

Last change on this file was 7661, checked in by westram, 13 years ago
  • merge from dev [7512] [7520] [7522] [7529] [7530] [7531] [7532] [7535] [7536] [7537] [7538]
    • replaced several '-1' by AW_NO_COLOR
    • don't save undefined colors into xfig
    • AW_GC
      • color (short→unsigned long)
      • added reset
      • inlined and renamed some functions
      • added possibility to freeze the defaults for a gc
    • AW_stylable
      • added reset_style()
      • rename set_fill → set_grey_level
    • extracted AW_GC_set out of AW_common
    • rename AW_rectangle → AW_screen_area to indicate its using screen coordinates (int)
    • removed various flavors of AW_device::get_area_size()
    • attempt to fix strange LineVector(AW_screen_area)-ctor (which decrements size by 1)
    • added bounding_box() inlines for all combinations of Rectangle / LineVector / Position
    • moved AW_INT()
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1// ================================================================= //
2//                                                                   //
3//   File      : ed4_tools.hxx                                       //
4//   Purpose   :                                                     //
5//                                                                   //
6//   Institute of Microbiology (Technical University Munich)         //
7//   http://www.arb-home.de/                                         //
8//                                                                   //
9// ================================================================= //
10
11#ifndef ED4_TOOLS_HXX
12#define ED4_TOOLS_HXX
13
14#define ED4_IUPAC_EMPTY " "
15
16#define IS_NUCLEOTIDE() (ED4_ROOT->alignment_type==GB_AT_RNA || ED4_ROOT->alignment_type==GB_AT_DNA)
17#define IS_RNA()        (ED4_ROOT->alignment_type==GB_AT_RNA)
18#define IS_DNA()        (ED4_ROOT->alignment_type==GB_AT_DNA)
19#define IS_AMINO()      (ED4_ROOT->alignment_type==GB_AT_AA)
20
21char ED4_encode_iupac(const char bases[ /* 4 */ ], GB_alignment_type ali);
22const char* ED4_decode_iupac(char iupac, GB_alignment_type ali);
23
24void ED4_set_clipping_rectangle(AW_screen_area *rect);
25
26void ED4_aws_init(AW_root *root, AW_window_simple *aws, GB_CSTR macro_format, GB_CSTR window_format, GB_CSTR typeId);
27
28const char *ED4_propertyName(int mode);
29
30#else
31#error ed4_tools.hxx included twice
32#endif // ED4_TOOLS_HXX
Note: See TracBrowser for help on using the repository browser.