xresources.h (366B)
1 #include <X11/Xresource.h> 2 3 /* Xresources preferences */ 4 enum resource_type { 5 STRING = 0, 6 INTEGER = 1, 7 FLOAT = 2 8 }; 9 10 typedef struct { 11 char *name; 12 enum resource_type type; 13 void *dst; 14 } ResourcePref; 15 16 static void load_xresources(void); 17 static void resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst); 18 static void xrdb(const Arg *arg);