… | |
… | |
31 | |
31 | |
32 | /**********************************************************************/ |
32 | /**********************************************************************/ |
33 | |
33 | |
34 | typedef struct { |
34 | typedef struct { |
35 | Widget w; |
35 | Widget w; |
36 | char *name; |
36 | const char *name; |
37 | unsigned long flags; |
37 | unsigned long flags; |
38 | } ArchFlagsRec; |
38 | } ArchFlagsRec; |
39 | |
39 | |
40 | |
40 | |
41 | typedef struct { |
41 | typedef struct { |
… | |
… | |
118 | |
118 | |
119 | /* |
119 | /* |
120 | * Function interface |
120 | * Function interface |
121 | */ |
121 | */ |
122 | extern App AppCreate ( XtAppContext appCon, String displayString, XtResource resources[], Cardinal resourcesNum, XrmOptionDescRec *options, Cardinal optionsNum, int *argc, char *argv[] ); |
122 | extern App AppCreate ( XtAppContext appCon, String displayString, XtResource resources[], Cardinal resourcesNum, XrmOptionDescRec *options, Cardinal optionsNum, int *argc, char *argv[] ); |
123 | extern void AppDestroy ( App self ); |
|
|
124 | extern void AppUpdate ( App self ); |
123 | extern void AppUpdate ( App self ); |
125 | extern void AppSelectSet ( App self, Edit edit, XRectangle rect ); |
124 | extern void AppSelectSet ( App self, Edit edit, XRectangle rect ); |
126 | extern void AppSelectUnset ( App self ); |
125 | extern void AppSelectUnset ( App self ); |
127 | extern void AppItemSet ( App self, Edit edit, object *obj, int wallSet ); |
126 | extern void AppItemSet ( App self, Edit edit, object *obj, int wallSet ); |
128 | extern char PixelFromAlias ( char *name ); |
|
|
129 | extern void InitializeColors ( Display *dpy ); |
|
|
130 | extern Edit AppEditInsert ( App self, String path, EditType type ); |
|
|
131 | extern void AppEditAttach ( App self, Edit edit ); |
|
|
132 | extern void AppEditDeattach ( App self, Edit edit ); |
127 | extern void AppEditDeattach ( App self, Edit edit ); |
133 | |
128 | |
134 | #endif /* _App_h */ |
129 | #endif /* _App_h */ |
135 | |
130 | |
136 | |
131 | |