1 #ifndef CLIB_DISKFONT_PROTOS_H
    2 #define CLIB_DISKFONT_PROTOS_H
    3 
    4 /*
    5 	diskfont.library C prototypes
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 #ifndef DOS_DOS_H
   11 # include <dos/dos.h>
   12 #endif
   13 
   14 #ifndef LIBRARIES_DISKFONT_H
   15 # include <libraries/diskfont.h>
   16 #endif
   17 
   18 #ifndef UTILITY_TAGITEM_H
   19 # include <utility/tagitem.h>
   20 #endif
   21 
   22 
   23 #ifdef __cplusplus
   24 extern "C" {
   25 #endif /* __cplusplus */
   26 
   27 struct TextFont *OpenDiskFont( struct TextAttr *textAttr );
   28 LONG AvailFonts( STRPTR buffer, LONG bufBytes, LONG flags );
   29 struct FontContentsHeader *NewFontContents( BPTR fontsLock, STRPTR fontName );
   30 VOID DisposeFontContents( struct FontContentsHeader *fontContentsHeader );
   31 struct DiskFontHeader *NewScaledDiskFont( struct TextFont *sourceFont, struct TextAttr *destTextAttr );
   32 
   33 /*** V45 ***/
   34 
   35 LONG GetDiskFontCtrl( LONG tagid );
   36 VOID SetDiskFontCtrlA( struct TagItem *taglist );
   37 #if !defined(USE_INLINE_STDARG)
   38 VOID SetDiskFontCtrl( Tag tag1, ... );
   39 #endif
   40 
   41 #ifdef __cplusplus
   42 }
   43 #endif /* __cplusplus */
   44 
   45 
   46 #endif /* CLIB_DISKFONT_PROTOS_H */