source: branches/port5/AWT/awt_attributes.hxx

Last change on this file was 5675, checked in by westram, 16 years ago
  • removed automatic timestamps (the best they were good for, were vc-conflicts)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1//  ==================================================================== //
2//                                                                       //
3//    File      : awt_attributes.hxx                                     //
4//    Purpose   : get attribute colors for species/genes                 //
5//                                                                       //
6//                                                                       //
7//  Coded by Ralf Westram (coder@reallysoft.de) in July 2004             //
8//  Copyright Department of Microbiology (Technical University Munich)   //
9//                                                                       //
10//  Visit our web site at: http://www.arb-home.de/                       //
11//                                                                       //
12//  ==================================================================== //
13
14#ifndef AWT_ATTRIBUTES_HXX
15#define AWT_ATTRIBUTES_HXX
16
17// find the color of the most dominant attribute of a gene/species
18// returns 0 if no such color exists (or if display of attributes is disabled)
19// returns 1..n otherwise
20
21int AWT_gene_get_dominant_color(GBDATA *gb_gene);
22int AWT_species_get_dominant_color(GBDATA *gb_species);
23
24
25// check whether a gene/species matches the requirement of an attribute
26
27bool AWT_gene_has_attribute(GBDATA *gb_gene, int attribute_nr);
28bool AWT_species_has_attribute(GBDATA *gb_gene, int attribute_nr);
29
30#else
31#error awt_attributes.hxx included twice
32#endif // AWT_ATTRIBUTES_HXX
33
Note: See TracBrowser for help on using the repository browser.