another sketcher rework, awdw del key short cuts
[goodguy/cinelerra.git] / cinelerra-5.1 / guicast / bcfontentry.inc
1
2 /*
3  *
4  * Copyright (C) 2014 Einar Rünkaru <einarry at smail dot ee>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  */
21
22 #ifndef BCFONTENTRY_INC
23 #define BCFONTENTRY_INC
24
25 class BC_FontEntry;
26
27
28 // Style bitwise ORed
29 #define BC_FONT_ITALIC    0x1
30 #define BC_FONT_BOLD      0x2
31 #define BC_FONT_OUTLINE   0x4
32
33 // Bits in BC_FontEntry::style
34 #define FL_WEIGHT_THIN          0x0000001
35 #define FL_WEIGHT_EXTRALIGHT    0x0000002
36 #define FL_WEIGHT_LIGHT         0x0000004
37 #define FL_WEIGHT_MEDIUM        0x0000008
38 #define FL_WEIGHT_BOOK          0x0000010
39 #define FL_WEIGHT_NORMAL        0x0000020
40 #define FL_WEIGHT_DEMIBOLD      0x0000040
41 #define FL_WEIGHT_BOLD          0x0000080
42 #define FL_WEIGHT_EXTRABOLD     0x0000100
43 #define FL_WEIGHT_BLACK         0x0000200
44 #define FL_WEIGHT_EXTRABLACK    0x0000400
45 #define FL_WEIGHT_MASK          0x00007ff
46
47 #define FL_SLANT_ROMAN          0x0000800
48 #define FL_SLANT_ITALIC         0x0001000
49 #define FL_SLANT_OBLIQUE        0x0002000
50 #define FL_SLANT_MASK           0x0003800
51
52 #define FL_WIDTH_ULTRACONDENSED 0x0004000
53 #define FL_WIDTH_EXTRACONDENSED 0x0008000
54 #define FL_WIDTH_CONDENSED      0x0010000
55 #define FL_WIDTH_SEMICONDENSED  0x0020000
56 #define FL_WIDTH_NORMAL         0x0040000
57 #define FL_WIDTH_SEMIEXPANDED   0x0080000
58 #define FL_WIDTH_EXPANDED       0x0100000
59 #define FL_WIDTH_EXTRAEXPANDED  0x0200000
60 #define FL_WIDTH_ULTRAEXPANDED  0x0400000
61 #define FL_WIDTH_MASK           0x07fc000
62
63 #define FL_PROPORTIONAL         0x0800000
64 #define FL_DUAL                 0x1000000
65 #define FL_MONO                 0x2000000
66 #define FL_CHARCELL             0x4000000
67 #define FL_SPACING_MASK         0x7800000
68
69 #endif