From 9892736206676c5b7fabc8d1184f9655511ff2dd Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 12 May 2012 20:39:39 +0000 Subject: code cleanup: header cleanup and remove some duplicate defines. --- source/blender/blenlib/BLI_vfontdata.h | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'source/blender/blenlib/BLI_vfontdata.h') diff --git a/source/blender/blenlib/BLI_vfontdata.h b/source/blender/blenlib/BLI_vfontdata.h index 0020ba308af..a63ec8e9f61 100644 --- a/source/blender/blenlib/BLI_vfontdata.h +++ b/source/blender/blenlib/BLI_vfontdata.h @@ -47,20 +47,19 @@ typedef struct VFontData { // float resol[MAX_VF_CHARS]; // float width[MAX_VF_CHARS]; // float *points[MAX_VF_CHARS]; - char name[128]; + char name[128]; } VFontData; typedef struct VChar { struct VChar *next, *prev; - ListBase nurbsbase; - intptr_t index; - float resol; - float width; + ListBase nurbsbase; + intptr_t index; + float resol; + float width; float *points; } VChar; -struct TmpFont -{ +struct TmpFont { struct TmpFont *next, *prev; struct PackedFile *pf; struct VFont *vfont; @@ -74,13 +73,9 @@ struct TmpFont * \retval A new VFontData structure, or NULL * if unable to load. */ - VFontData* -BLI_vfontdata_from_freetypefont( - struct PackedFile *pf); +VFontData *BLI_vfontdata_from_freetypefont(struct PackedFile *pf); - int -BLI_vfontchar_from_freetypefont( - struct VFont *vfont, unsigned long character); +int BLI_vfontchar_from_freetypefont(struct VFont *vfont, unsigned long character); #endif -- cgit v1.2.3