Blender V2.61 - r43446

DNA_vfont_types.h

Go to the documentation of this file.
00001 /*
00002  * ***** BEGIN GPL LICENSE BLOCK *****
00003  *
00004  * This program is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU General Public License
00006  * as published by the Free Software Foundation; either version 2
00007  * of the License, or (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software Foundation,
00016  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00017  *
00018  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
00019  * All rights reserved.
00020  *
00021  * The Original Code is: all of this file.
00022  *
00023  * Contributor(s): none yet.
00024  *
00025  * ***** END GPL LICENSE BLOCK *****
00026  */
00027 
00034 #ifndef DNA_VFONT_TYPES_H
00035 #define DNA_VFONT_TYPES_H
00036 
00037 #include "DNA_ID.h"
00038 
00039 struct PackedFile;
00040 struct VFontData;
00041 
00042 typedef struct VFont {
00043     ID id;
00044     
00045     char name[256];
00046     
00047     struct VFontData *data;
00048     struct PackedFile * packedfile;
00049 } VFont;
00050 
00051 /* *************** FONT ****************** */
00052 #define FO_EDIT         0
00053 #define FO_CURS         1
00054 #define FO_CURSUP       2
00055 #define FO_CURSDOWN     3
00056 #define FO_DUPLI        4
00057 #define FO_PAGEUP       8
00058 #define FO_PAGEDOWN     9
00059 #define FO_SELCHANGE    10
00060 
00061 #define FO_BUILTIN_NAME "<builtin>"
00062 #endif
00063