version 1.2 | | version 1.3 |
---|
| | |
/* | | /* crossedit.c */ |
* This file was automatically generated by version 1.7 of cextract. | | |
* Manual editing not recommended. | | |
* | | |
* Created: Tue Sep 15 09:34:03 1998 | | |
*/ | | |
#ifndef __CEXTRACT__ | | |
#ifdef __STDC__ | | |
| | |
extern void EditDirtyAc ( Widget w, XEvent * event, String * argv, Cardinal * argc ); | | extern void EditDirtyAc ( Widget w, XEvent * event, String * argv, Cardinal * argc ); |
extern void Nop ( Widget w, XEvent * event, String * argv, Cardinal * argc ); | | extern void Nop ( Widget w, XEvent * event, String * argv, Cardinal * argc ); |
extern void main ( int argc, char **argv, char **env ); | | extern int main(int argc, char **argv, char **env); |
| | /* Attr.c */ |
extern int GetType ( object *tmp ); | | extern int GetType ( object *tmp ); |
| | extern void AppLayout(Attr self, Widget parent, char *name); |
extern Attr AttrCreate ( char *name, App app, object *ob, AttrDef *desc, unsigned long flags, Edit edit ); | | extern Attr AttrCreate ( char *name, App app, object *ob, AttrDef *desc, unsigned long flags, Edit edit ); |
extern void AttrChange ( Attr self, object *ob, unsigned long flags, Edit edit ); | | extern void AttrChange ( Attr self, object *ob, unsigned long flags, Edit edit ); |
extern void AttrDestroy ( Attr self ); | | extern void AttrDestroy ( Attr self ); |
extern void AttrApply ( Attr self ); | | extern void AttrApply ( Attr self ); |
| | /* CrFace.c */ |
| | /* CrEdit.c */ |
extern void CrEditRefresh ( Widget w, XRectangle rect ); | | extern void CrEditRefresh ( Widget w, XRectangle rect ); |
extern void CrEditBorderOff ( Widget w ); | | extern void CrEditBorderOff ( Widget w ); |
extern void CrEditSelect ( Widget w, XRectangle rect ); | | extern void CrEditSelect ( Widget w, XRectangle rect ); |
| | /* CrList.c */ |
extern CrListNode GetYNode ( Widget w, int y ); | | extern CrListNode GetYNode ( Widget w, int y ); |
extern CrListCall GetYCall ( Widget w, int y ); | | extern CrListCall GetYCall ( Widget w, int y ); |
| | /* CrUtil.c */ |
extern void FaceDraw ( Widget w, GC gc, New_Face *face, int x, int y ); | | extern void FaceDraw ( Widget w, GC gc, New_Face *face, int x, int y ); |
extern GC GCCreate ( Widget w ); | | extern GC GCCreate ( Widget w ); |
| | /* Edit.c */ |
| | extern void copy_map(mapstruct *m1, mapstruct *m2); |
| | extern mapstruct *MapMoveScrollResize(mapstruct *source, int width, int height, int dx, int dy); |
| | extern object *MapGetRealObject(mapstruct *emap, int x, int y, int z); |
| | extern int MapInsertObjectZ(mapstruct *emap, object *o, int x, int y, int z); |
| | extern int MapObjectOut(mapstruct *target, object *obj, int x, int y); |
| | extern object *MapGetObjectZ(mapstruct *emap, int x, int y, int z); |
extern void EditResizeScroll ( Edit self, int width, int height, int dx, int dy ); | | extern void EditResizeScroll ( Edit self, int width, int height, int dx, int dy ); |
extern Edit EditCreate ( App app, EditType type, String path ); | | extern Edit EditCreate ( App app, EditType type, String path ); |
extern void EditDestroy ( Edit self ); | | extern void EditDestroy ( Edit self ); |
extern void EditUpdate ( Edit self ); | | extern void EditUpdate ( Edit self ); |
extern EditReturn EditSave ( Edit self ); | | extern EditReturn EditSave ( Edit self ); |
| | extern EditReturn EditLoad(Edit self); |
extern void EditPerformFill ( Edit self, int x, int y ); | | extern void EditPerformFill ( Edit self, int x, int y ); |
extern void EditPerformFillBelow ( Edit self, int x, int y ); | | extern void EditPerformFillBelow ( Edit self, int x, int y ); |
extern void EditFillRectangle ( Edit self, XRectangle rec ); | | extern void EditFillRectangle ( Edit self, XRectangle rec ); |
| | |
extern Boolean EditInsert ( Edit self, int x, int y, int z ); | | extern Boolean EditInsert ( Edit self, int x, int y, int z ); |
extern Boolean EditObjectInsert ( Edit self, object *obj, int x, int y, int z ); | | extern Boolean EditObjectInsert ( Edit self, object *obj, int x, int y, int z ); |
extern void EditSetPath ( Edit self, String path ); | | extern void EditSetPath ( Edit self, String path ); |
| | /* App.c */ |
extern App AppCreate ( XtAppContext appCon, String displayString, XtResource resources[], Cardinal resourcesNum, XrmOptionDescRec *options, Cardinal optionsNum, int *argc, char *argv[] ); | | extern App AppCreate ( XtAppContext appCon, String displayString, XtResource resources[], Cardinal resourcesNum, XrmOptionDescRec *options, Cardinal optionsNum, int *argc, char *argv[] ); |
extern void AppDestroy ( App self ); | | extern void AppDestroy ( App self ); |
extern void AppUpdate ( App self ); | | extern void AppUpdate ( App self ); |
| | |
extern Edit AppEditInsert ( App self, String path, EditType type ); | | extern Edit AppEditInsert ( App self, String path, EditType type ); |
extern void AppEditAttach ( App self, Edit edit ); | | extern void AppEditAttach ( App self, Edit edit ); |
extern void AppEditDeattach ( App self, Edit edit ); | | extern void AppEditDeattach ( App self, Edit edit ); |
| | /* Bitmaps.c */ |
extern void BitmapsCreate ( Display *d ); | | extern void BitmapsCreate ( Display *d ); |
| | /* Str.c */ |
extern char *StrPathNormalize ( char *this, char *src ); | | extern char *StrPathNormalize ( char *this, char *src ); |
extern char *StrPathCd ( char *cwd, const char *cd ); | | extern char *StrPathCd ( char *cwd, const char *cd ); |
extern char *StrPathGenCd ( char *cwd, const char *dstArg ); | | extern char *StrPathGenCd ( char *cwd, const char *dstArg ); |
extern char *StrBasename ( char *basename, const char *filename ); | | extern char *StrBasename ( char *basename, const char *filename ); |
| | /* xutil.c */ |
| | extern long pngx_find_color(Display *display, Colormap *cmap, int red, int green, int blue); |
| | extern int init_pngx_loader(Display *display); |
| | extern int png_to_xpixmap(Display *display, Drawable draw, char *data, int len, Pixmap *pix, Pixmap *mask, Colormap *cmap, unsigned long *width, unsigned long *height); |
extern XChar2b fontindex_to_XChar2b ( Fontindex s ); | | extern XChar2b fontindex_to_XChar2b ( Fontindex s ); |
extern int ReadPixmaps ( Display *gdisp, Pixmap **pixmaps, Pixmap **masks, Colormap *cmap ); | | extern int ReadImages(Display *gdisp, Pixmap **pixmaps, Pixmap **masks, Colormap *cmap, enum DisplayMode type); |
extern void free_pixmaps ( Display *gdisp, Pixmap *pixmaps ); | | extern void free_pixmaps ( Display *gdisp, Pixmap *pixmaps ); |
extern Pixmap *ReadBitmaps ( Display *d ); | | |
extern void set_font_path ( Display *dpy, char *path ); | | |
extern int check_font_path ( Display *dpy ); | | |
extern int fixfontpath ( Display *disp, char *name ); | | |
extern int allocate_colors ( Display *disp, Window w, long screen_num, Colormap *colormap, XColor discolor[13 ] ); | | extern int allocate_colors ( Display *disp, Window w, long screen_num, Colormap *colormap, XColor discolor[13 ] ); |
extern int ReadImages(Display *gdisp, Pixmap **pixmaps, Pixmap **masks, Colormap *cmap, enum DisplayMode type); | | |
| | |
#endif /* __STDC__ */ | | |
#endif /* __CEXTRACT__ */ | | |