GG: FontFwd.h Source File

GG

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

FontFwd.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /* GG is a GUI for SDL and OpenGL.
3 Copyright (C) 2003-2008 T. Zachary Laine
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public License
7 as published by the Free Software Foundation; either version 2.1
8 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 02111-1307 USA
19
20 If you do not wish to comply with the terms of the LGPL please
21 contact the author as other terms are available for a fee.
22
23 Zach Laine
24 whatwasthataddress@gmail.com */
25
29 #ifndef _GG_FontFwd_h_
30 #define _GG_FontFwd_h_
31
32 #include <GG/Flags.h>
33 #include <GG/StrongTypedef.h>
34
35
36 namespace GG {
37
38 class Font;
39
41 GG_FLAG_TYPE(TextFormat);
42 extern GG_API const TextFormat FORMAT_NONE;
43 extern GG_API const TextFormat FORMAT_VCENTER;
44 extern GG_API const TextFormat FORMAT_TOP;
45 extern GG_API const TextFormat FORMAT_BOTTOM;
46 extern GG_API const TextFormat FORMAT_CENTER;
47 extern GG_API const TextFormat FORMAT_LEFT;
48 extern GG_API const TextFormat FORMAT_RIGHT;
49 extern GG_API const TextFormat FORMAT_WORDBREAK;
50 extern GG_API const TextFormat FORMAT_LINEWRAP;
51 extern GG_API const TextFormat FORMAT_IGNORETAGS;
52
58 GG_STRONG_SIZE_TYPEDEF(StrSize);
59
66 GG_STRONG_SIZE_TYPEDEF(CPSize);
67
68 // some useful size constants
69 extern GG_API const StrSize S0;
70 extern GG_API const StrSize S1;
71 extern GG_API const StrSize INVALID_STR_SIZE;
72 extern GG_API const CPSize CP0;
73 extern GG_API const CPSize CP1;
74 extern GG_API const CPSize INVALID_CP_SIZE;
75
76 }
77
78 #endif