From 738c72324bfbc9413064506bfe1a7945375b8397 Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 22 Jun 2000 22:06:33 +0000 Subject: [PATCH] Added a missing enum that made compilation fail --- WINGs/WINGs.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/WINGs/WINGs.h b/WINGs/WINGs.h index 059e7e86..45878b8c 100644 --- a/WINGs/WINGs.h +++ b/WINGs/WINGs.h @@ -203,6 +203,12 @@ enum { } WMRulerMargins; +/* Insert type for WMText */ +typedef enum { + itAppend=0, + itPrepend +} InsertType; + /* drag operations */ typedef enum { @@ -513,12 +519,12 @@ typedef void WMParseAction(WMWidget *self, void *clientData, short type); /* these are the things parsers (for text) do */ typedef struct _parserActions { - void *(*createParagraph) (short fmargin, short bmargin, - short rmargin, short *tabstops, short numTabs, WMAlignment a); + void *(*createParagraph) (short fmargin, short bmargin, short rmargin, + short *tabstops, short numTabs, WMAlignment a); void (*insertParagraph) (WMText *tPtr, void *para, InsertType type); void *(*createPChunk) (WMPixmap *pixmap, short script, ushort ul); - void *(*createTChunk) (char *text, short chars, WMFont *font, - WMColor *color, short script, ushort ul); + void *(*createTChunk) (char *text, short chars, WMFont *font, + WMColor *color, short script, ushort ul); void (*insertChunk) (WMText *tPtr, void *chunk, InsertType type); } WMParserActions;