GG

FontFwd.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /* GG is a GUI for SDL and OpenGL.
00003    Copyright (C) 2003-2008 T. Zachary Laine
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Lesser General Public License
00007    as published by the Free Software Foundation; either version 2.1
00008    of the License, or (at your option) any later version.
00009    
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Lesser General Public License for more details.
00014     
00015    You should have received a copy of the GNU Lesser General Public
00016    License along with this library; if not, write to the Free
00017    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00018    02111-1307 USA
00019 
00020    If you do not wish to comply with the terms of the LGPL please
00021    contact the author as other terms are available for a fee.
00022     
00023    Zach Laine
00024    whatwasthataddress@gmail.com */
00025 
00029 #ifndef _GG_FontFwd_h_
00030 #define _GG_FontFwd_h_
00031 
00032 #include <GG/Flags.h>
00033 #include <GG/StrongTypedef.h>
00034 
00035 
00036 namespace GG {
00037 
00038 class Font;
00039 
00041 GG_FLAG_TYPE(TextFormat);
00042 extern GG_API const TextFormat FORMAT_NONE;        
00043 extern GG_API const TextFormat FORMAT_VCENTER;     
00044 extern GG_API const TextFormat FORMAT_TOP;         
00045 extern GG_API const TextFormat FORMAT_BOTTOM;      
00046 extern GG_API const TextFormat FORMAT_CENTER;      
00047 extern GG_API const TextFormat FORMAT_LEFT;        
00048 extern GG_API const TextFormat FORMAT_RIGHT;       
00049 extern GG_API const TextFormat FORMAT_WORDBREAK;   
00050 extern GG_API const TextFormat FORMAT_LINEWRAP;    
00051 extern GG_API const TextFormat FORMAT_IGNORETAGS;  
00052 
00058 GG_STRONG_SIZE_TYPEDEF(StrSize);
00059 
00066 GG_STRONG_SIZE_TYPEDEF(CPSize);
00067 
00068 // some useful size constants
00069 extern GG_API const StrSize S0;
00070 extern GG_API const StrSize S1;
00071 extern GG_API const StrSize INVALID_STR_SIZE;
00072 extern GG_API const CPSize CP0;
00073 extern GG_API const CPSize CP1;
00074 extern GG_API const CPSize INVALID_CP_SIZE;
00075 
00076 }
00077 
00078 #endif // _GG_Font_h_