[692] | 1 | /************************************************************************
|
---|
| 2 | filename: CEGUIFont_implData.h
|
---|
| 3 | created: 23/6/2004
|
---|
| 4 | author: Paul D Turner
|
---|
| 5 |
|
---|
| 6 | purpose: Implementation data used within the Font class
|
---|
| 7 | Used to break dependency on FreeType2 for clients
|
---|
| 8 | *************************************************************************/
|
---|
| 9 | /*************************************************************************
|
---|
| 10 | Crazy Eddie's GUI System (http://www.cegui.org.uk)
|
---|
| 11 | Copyright (C)2004 - 2005 Paul D Turner (paul@cegui.org.uk)
|
---|
| 12 |
|
---|
| 13 | This library is free software; you can redistribute it and/or
|
---|
| 14 | modify it under the terms of the GNU Lesser General Public
|
---|
| 15 | License as published by the Free Software Foundation; either
|
---|
| 16 | version 2.1 of the License, or (at your option) any later version.
|
---|
| 17 |
|
---|
| 18 | This library is distributed in the hope that it will be useful,
|
---|
| 19 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 20 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
| 21 | Lesser General Public License for more details.
|
---|
| 22 |
|
---|
| 23 | You should have received a copy of the GNU Lesser General Public
|
---|
| 24 | License along with this library; if not, write to the Free Software
|
---|
| 25 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
---|
| 26 | *************************************************************************/
|
---|
| 27 | #ifndef _CEGUIFont_implData_h_
|
---|
| 28 | #define _CEGUIFont_implData_h_
|
---|
| 29 |
|
---|
| 30 | #include <ft2build.h>
|
---|
| 31 | #include FT_FREETYPE_H
|
---|
| 32 | #include "CEGUIDataContainer.h"
|
---|
| 33 |
|
---|
| 34 | // Start of CEGUI namespace section
|
---|
| 35 | namespace CEGUI
|
---|
| 36 | {
|
---|
| 37 | struct Font::FontImplData
|
---|
| 38 | {
|
---|
| 39 | FontImplData(FT_Library lib) : library(lib) {}
|
---|
| 40 |
|
---|
| 41 | FT_Library library;
|
---|
| 42 | FT_Face fontFace;
|
---|
| 43 | RawDataContainer fontData;
|
---|
| 44 | };
|
---|
| 45 |
|
---|
| 46 | } // End of CEGUI namespace section
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 | #endif // end of guard _CEGUIFont_implData_h_
|
---|