1 |
root |
1.1 |
/* crossedit.c */ |
2 |
|
|
extern void EditDirtyAc(Widget w, XEvent *event, String *argv, Cardinal *argc); |
3 |
|
|
extern void Nop(Widget w, XEvent *event, String *argv, Cardinal *argc); |
4 |
|
|
extern int main(int argc, char **argv, char **env); |
5 |
|
|
/* Attr.c */ |
6 |
|
|
extern int GetType(object *tmp); |
7 |
|
|
extern void AppLayout(Attr self, Widget parent, char *name); |
8 |
|
|
extern Attr AttrCreate(char *name, App app, object *ob, AttrDef *desc, unsigned long flags, Edit edit); |
9 |
|
|
extern void AttrChange(Attr self, object *ob, unsigned long flags, Edit edit); |
10 |
|
|
extern void AttrDestroy(Attr self); |
11 |
|
|
extern void AttrApply(Attr self); |
12 |
|
|
/* CrFace.c */ |
13 |
|
|
/* CrEdit.c */ |
14 |
|
|
extern void CrEditRefresh(Widget w, XRectangle rect); |
15 |
|
|
extern void CrEditBorderOff(Widget w); |
16 |
|
|
extern void CrEditSelect(Widget w, XRectangle rect); |
17 |
|
|
/* CrList.c */ |
18 |
|
|
extern CrListNode GetYNode(Widget w, int y); |
19 |
|
|
extern CrListCall GetYCall(Widget w, int y); |
20 |
|
|
/* CrUtil.c */ |
21 |
|
|
extern void FaceDraw(Widget w, GC gc, New_Face *face, int x, int y); |
22 |
|
|
extern GC GCCreate(Widget w); |
23 |
|
|
/* Edit.c */ |
24 |
|
|
extern void copy_map(mapstruct *m1, mapstruct *m2); |
25 |
|
|
extern mapstruct *MapMoveScrollResize(mapstruct *source, int width, int height, int dx, int dy); |
26 |
|
|
extern object *MapGetRealObject(mapstruct *emap, int x, int y, int z); |
27 |
|
|
extern int MapInsertObjectZ(mapstruct *emap, object *o, int x, int y, int z); |
28 |
|
|
extern int MapObjectOut(mapstruct *target, object *obj, int x, int y); |
29 |
|
|
extern object *MapGetObjectZ(mapstruct *emap, int x, int y, int z); |
30 |
|
|
extern void EditResizeScroll(Edit self, int width, int height, int dx, int dy); |
31 |
|
|
extern Edit EditCreate(App app, EditType type, String path); |
32 |
|
|
extern void EditDestroy(Edit self); |
33 |
|
|
extern void EditUpdate(Edit self); |
34 |
|
|
extern EditReturn EditSave(Edit self); |
35 |
|
|
extern EditReturn EditLoad(Edit self); |
36 |
|
|
extern void EditPerformFill(Edit self, int x, int y); |
37 |
|
|
extern void EditPerformFillBelow(Edit self, int x, int y); |
38 |
|
|
extern void EditFillRectangle(Edit self, XRectangle rec); |
39 |
|
|
extern void EditWipeRectangle(Edit self, XRectangle rec); |
40 |
|
|
extern void EditShaveRectangle(Edit self, XRectangle rec); |
41 |
|
|
extern void EditShaveRectangleBelow(Edit self, XRectangle rec); |
42 |
|
|
extern void EditCopyRectangle(Edit self, Edit src, XRectangle rect, int sx, int sy); |
43 |
|
|
extern void EditDeletePoint(Edit self, int x, int y); |
44 |
|
|
extern void EditModified(Edit self); |
45 |
|
|
extern void EditUnmodified(Edit self); |
46 |
|
|
extern Boolean EditDelete(Edit self, int x, int y, int z); |
47 |
|
|
extern Boolean EditObjectDelete(Edit self, int x, int y, int z); |
48 |
|
|
extern object *EditCloneInsert(Edit self, object *obj, int x, int y, int z); |
49 |
|
|
extern Boolean EditInsert(Edit self, int x, int y, int z); |
50 |
|
|
extern Boolean EditObjectInsert(Edit self, object *obj, int x, int y, int z); |
51 |
|
|
extern void EditSetPath(Edit self, String path); |
52 |
|
|
/* App.c */ |
53 |
|
|
extern App AppCreate(XtAppContext appCon, String displayString, XtResource resources[], Cardinal resourcesNum, XrmOptionDescRec *options, Cardinal optionsNum, int *argc, char *argv[]); |
54 |
|
|
extern void AppDestroy(App self); |
55 |
|
|
extern void AppUpdate(App self); |
56 |
|
|
extern void AppSelectSet(App self, Edit edit, XRectangle rect); |
57 |
|
|
extern void AppSelectUnset(App self); |
58 |
|
|
extern void AppItemSet(App self, Edit edit, object *obj, int wallSet); |
59 |
|
|
extern char PixelFromAlias(char *name); |
60 |
|
|
extern void InitializeColors(Display *dpy); |
61 |
|
|
extern Edit AppEditInsert(App self, String path, EditType type); |
62 |
|
|
extern void AppEditAttach(App self, Edit edit); |
63 |
|
|
extern void AppEditDeattach(App self, Edit edit); |
64 |
|
|
/* Bitmaps.c */ |
65 |
|
|
extern void BitmapsCreate(Display *d); |
66 |
|
|
/* Str.c */ |
67 |
|
|
extern char *StrPathNormalize(char *this, char *src); |
68 |
|
|
extern char *StrPathCd(char *cwd, const char *cd); |
69 |
|
|
extern char *StrPathGenCd(char *cwd, const char *dstArg); |
70 |
|
|
extern char *StrBasename(char *basename, const char *filename); |
71 |
|
|
/* xutil.c */ |
72 |
|
|
extern long pngx_find_color(Display *display, Colormap *cmap, int red, int green, int blue); |
73 |
|
|
extern int init_pngx_loader(Display *display); |
74 |
|
|
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); |
75 |
|
|
extern XChar2b fontindex_to_XChar2b(Fontindex s); |
76 |
|
|
extern int ReadImages(Display *gdisp, Pixmap **pixmaps, Pixmap **masks, Colormap *cmap, enum DisplayMode type); |
77 |
|
|
extern void free_pixmaps(Display *gdisp, Pixmap *pixmaps); |
78 |
|
|
extern int allocate_colors(Display *disp, Window w, long screen_num, Colormap *colormap, XColor discolor[13]); |