diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-28 18:49:44 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-28 18:49:44 +0000 |
commit | ecdf37c6ac7b72761133b2a749d28ded12ed6c03 (patch) | |
tree | 287f8536a4424361e21f491e1c650163f895d74c /amiga/os3support.h | |
parent | fd59fa248a08451d4ff20c4fb91834c13ae405da (diff) | |
download | netsurf-ecdf37c6ac7b72761133b2a749d28ded12ed6c03.tar.gz netsurf-ecdf37c6ac7b72761133b2a749d28ded12ed6c03.tar.bz2 |
Fixup font.c a bit better for OS3
Diffstat (limited to 'amiga/os3support.h')
-rw-r--r-- | amiga/os3support.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/amiga/os3support.h b/amiga/os3support.h index 1e17f861b..a9806eafb 100644 --- a/amiga/os3support.h +++ b/amiga/os3support.h @@ -107,6 +107,7 @@ #define WINDOW_BACKMOST 0 #define DN_FULLPATH 0 #define BGBACKFILL JAM1 +#define OFF_OPEN 0 /* Renamed structures */ #define AnchorPathOld AnchorPath @@ -124,6 +125,10 @@ #define SaveDTObjectA(O,W,R,F,M,I,A) DoDTMethod(O,W,R,DTM_WRITE,F,M,NULL) /* diskfont */ +#define EReleaseInfo ReleaseInfo +#define EObtainInfo ObtainInfo +#define ESetInfo SetInfo + /* Only used in one place we haven't ifdeffed, where it returns the charset name */ #define ObtainCharsetInfo(A,B,C) (const char *)"ISO-8859-1" @@ -175,6 +180,14 @@ struct TimeRequest { struct TimeVal Time; }; +/* OutlineFont */ +struct OutlineFont { + struct BulletBase *BulletBase; + struct GlyphEngine *olf_EEngine; + STRPTR OTagPath; + struct TagItem *olf_OTagList; +}; + /* Compositing */ #define COMPFLAG_IgnoreDestAlpha 0 #define COMPFLAG_SrcAlphaOverride 0 @@ -215,6 +228,10 @@ enum { }; /* Functions */ +/* Diskfont */ +void CloseOutlineFont(struct OutlineFont *of, struct List *list); +struct OutlineFont *OpenOutlineFont(STRPTR fileName, struct List *list, ULONG flags); + /* DOS */ int64 GetFileSize(BPTR fh); void FreeSysObject(ULONG type, APTR obj); |