spmenu/libs/xrdb.h
2023-05-08 23:00:45 +02:00

18 lines
339 B
C

#if USEXRESOURCES
enum resource_type {
STRING = 0,
INTEGER = 1,
FLOAT = 2
};
typedef struct {
char *name;
enum resource_type type;
void *dst;
} ResourcePref;
// declare functions
static void load_xresources(void);
static void resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst);
#endif