… | |
… | |
34 | #include <sys/time.h> |
34 | #include <sys/time.h> |
35 | #include <time.h> |
35 | #include <time.h> |
36 | |
36 | |
37 | #include <dirent.h> |
37 | #include <dirent.h> |
38 | |
38 | |
39 | #include <X11/Intrinsic.h> /* Xlib, Xutil, Xresource, Xfuncproto */ |
39 | #include <X11/Xlib.h> |
|
|
40 | #include <X11/Xutil.h> |
40 | |
41 | |
41 | #define APL_CLASS "Clock" |
42 | #define APL_CLASS "Clock" |
42 | #define APL_NAME "rclock" |
43 | #define APL_NAME "rclock" |
43 | #define MSG_CLASS "Appointment" |
44 | #define MSG_CLASS "Appointment" |
44 | #define MSG_NAME "Appointment" |
45 | #define MSG_NAME "Appointment" |
… | |
… | |
195 | |
196 | |
196 | #define fgColor 0 |
197 | #define fgColor 0 |
197 | #define bgColor 1 |
198 | #define bgColor 1 |
198 | static const char *rs_color[2] = { FG_COLOR_NAME, BG_COLOR_NAME }; |
199 | static const char *rs_color[2] = { FG_COLOR_NAME, BG_COLOR_NAME }; |
199 | |
200 | |
200 | static Pixel PixColors[2]; |
201 | static unsigned long PixColors[2]; |
201 | static const char *rs_geometry = NULL; |
202 | static const char *rs_geometry = NULL; |
202 | |
203 | |
203 | #ifdef ICONWIN |
204 | #ifdef ICONWIN |
204 | static const char *rs_iconGeometry = NULL; |
205 | static const char *rs_iconGeometry = NULL; |
205 | static mywindow_t Icon = { None, 65, 65 }; /* icon window */ |
206 | static mywindow_t Icon = { None, 65, 65 }; /* icon window */ |