|
Revision 7661, 1.4 KB
(checked in by westram, 11 months 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
|
| 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 | |
|---|
| 21 | char ED4_encode_iupac(const char bases[ /* 4 */ ], GB_alignment_type ali); |
|---|
| 22 | const char* ED4_decode_iupac(char iupac, GB_alignment_type ali); |
|---|
| 23 | |
|---|
| 24 | void ED4_set_clipping_rectangle(AW_screen_area *rect); |
|---|
| 25 | |
|---|
| 26 | void ED4_aws_init(AW_root *root, AW_window_simple *aws, GB_CSTR macro_format, GB_CSTR window_format, GB_CSTR typeId); |
|---|
| 27 | |
|---|
| 28 | const char *ED4_propertyName(int mode); |
|---|
| 29 | |
|---|
| 30 | #else |
|---|
| 31 | #error ed4_tools.hxx included twice |
|---|
| 32 | #endif // ED4_TOOLS_HXX |
|---|