1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-17 20:34:18 +01:00

lot's a cleavage...

This commit is contained in:
nwanua
2000-10-14 01:45:16 +00:00
parent 2bc40c47eb
commit 9b0e0c6c54
2 changed files with 743 additions and 888 deletions

View File

@@ -481,20 +481,9 @@ typedef struct WMTextFieldDelegate {
typedef struct WMTextDelegate {
void *data;
void (*didBeginEditing)(struct WMTextDelegate *self,
WMNotification *notif);
Bool (*didDoubleClickOnPicture)(struct WMTextDelegate *self,
void *description);
void (*didChange)(struct WMTextDelegate *self,
WMNotification *notif);
void (*didEndEditing)(struct WMTextDelegate *self,
WMNotification *notif);
Bool (*shouldBeginEditing)(struct WMTextDelegate *self,
WMText *tPtr);
Bool (*shouldEndEditing)(struct WMTextDelegate *self,
WMText *tPtr);
} WMTextDelegate;
@@ -703,8 +692,11 @@ WMFont *WMBoldSystemFontOfSize(WMScreen *scrPtr, int size);
XFontSet WMGetFontFontSet(WMFont *font);
WMFont * WMConvertFontToPlain(WMScreen *scr, WMFont *font);
WMFont * WMConvertFontToBold(WMScreen *scr, WMFont *font);
WMFont * WMConvertFontToItalic(WMScreen *scr, WMFont *font);
WMFont * WMGetFontOfSize(WMScreen *scr, WMFont *font, int size);
/* ....................................................................... */
@@ -1476,9 +1468,12 @@ void WMSetRulerReleaseAction(WMRuler *rPtr, WMAction *action, void *clientData);
/* ....................................................................... */
WMText *WMCreateText(WMWidget *parent);
void WMRefreshText(WMText *tPtr, int vpos, int hpos);
#define WMCreateText(parent) WMCreateTextForDocumentType \
((parent), (NULL), (NULL))
WMText *WMCreateTextForDocumentType(WMWidget *parent,
WMAction *parser, WMAction *writer);
void WMFreezeText(WMText *tPtr);
@@ -1528,10 +1523,10 @@ void WMAppendTextStream(WMText *tPtr, char *text);
char * WMGetTextStream(WMText *tPtr);
/* free the text */
char * WMGetTextSelected(WMText *tPtr);
char * WMGetTextSelectedStream(WMText *tPtr);
/* destroy the array */
WMArray * WMGetTextStreamObjects(WMText *tPtr);
WMArray * WMGetTextObjects(WMText *tPtr);
/* destroy the array */
WMArray* WMGetTextSelectedObjects(WMText *tPtr);
@@ -1547,10 +1542,6 @@ Bool WMFindInTextStream(WMText *tPtr, char *needle, Bool direction,
/* parser related stuff... use only if implementing a new parser */
void WMSetTextParser(WMText *tPtr, WMAction *parser);
void WMSetTextWriter(WMText *tPtr, WMAction *writer);
void *WMCreateTextBlockWithObject(WMText *tPtr, WMWidget *w, char *description,
WMColor *color, unsigned short first, unsigned short extraInfo);

File diff suppressed because it is too large Load Diff