1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-14 21:15:50 +01:00

Added a missing enum that made compilation fail

This commit is contained in:
dan
2000-06-22 22:06:33 +00:00
parent ab801f3141
commit 738c72324b

View File

@@ -203,6 +203,12 @@ enum {
} WMRulerMargins; } WMRulerMargins;
/* Insert type for WMText */
typedef enum {
itAppend=0,
itPrepend
} InsertType;
/* drag operations */ /* drag operations */
typedef enum { typedef enum {
@@ -513,12 +519,12 @@ typedef void WMParseAction(WMWidget *self, void *clientData, short type);
/* these are the things parsers (for text) do */ /* these are the things parsers (for text) do */
typedef struct _parserActions { typedef struct _parserActions {
void *(*createParagraph) (short fmargin, short bmargin, void *(*createParagraph) (short fmargin, short bmargin, short rmargin,
short rmargin, short *tabstops, short numTabs, WMAlignment a); short *tabstops, short numTabs, WMAlignment a);
void (*insertParagraph) (WMText *tPtr, void *para, InsertType type); void (*insertParagraph) (WMText *tPtr, void *para, InsertType type);
void *(*createPChunk) (WMPixmap *pixmap, short script, ushort ul); void *(*createPChunk) (WMPixmap *pixmap, short script, ushort ul);
void *(*createTChunk) (char *text, short chars, WMFont *font, void *(*createTChunk) (char *text, short chars, WMFont *font,
WMColor *color, short script, ushort ul); WMColor *color, short script, ushort ul);
void (*insertChunk) (WMText *tPtr, void *chunk, InsertType type); void (*insertChunk) (WMText *tPtr, void *chunk, InsertType type);
} WMParserActions; } WMParserActions;