Crazy Eddies GUI System: CEGUIFont_implData.h Source File

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

# CEGUIFont_implData.h

    00001 /************************************************************************
    00002         filename:       CEGUIFont_implData.h
    00003         created:        23/6/2004
    00004         author:         Paul D Turner
    00005
    00006         purpose:        Implementation data used within the Font class
    00007                                 Used to break dependency on FreeType2 for clients
    00008 *************************************************************************/
    00009 /*************************************************************************
    00010     Crazy Eddie's GUI System (http://www.cegui.org.uk)
    00011     Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
    00012
    00013     This library is free software; you can redistribute it and/or
    00014     modify it under the terms of the GNU Lesser General Public
    00015     License as published by the Free Software Foundation; either
    00016     version 2.1 of the License, or (at your option) any later version.
    00017
    00018     This library is distributed in the hope that it will be useful,
    00019     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00020     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00021     Lesser General Public License for more details.
    00022
    00023     You should have received a copy of the GNU Lesser General Public
    00024     License along with this library; if not, write to the Free Software
    00025     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    00026 *************************************************************************/
    00027 #ifndef _CEGUIFont_implData_h_
    00028 #define _CEGUIFont_implData_h_
    00029
    00030 #include <ft2build.h>
    00031 #include FT_FREETYPE_H
    00032 #include "CEGUIDataContainer.h"
    00033
    00034 // Start of CEGUI namespace section
    00035 namespace CEGUI
    00036 {
    00037 struct Font::FontImplData
    00038 {
    00039         FontImplData(FT_Library lib) : library(lib) {}
    00040
    00041         FT_Library      library;
    00042         FT_Face         fontFace;
    00043     RawDataContainer fontData;
    00044 };
    00045
    00046 } // End of  CEGUI namespace section
    00047
    00048
    00049 #endif  // end of guard _CEGUIFont_implData_h_