spmenu/libs/x11/xrdb.h

20 lines
395 B
C
Raw Normal View History

2023-05-14 00:21:16 +02:00
/* See LICENSE file for copyright and license details. */
2023-08-07 06:37:38 +02:00
#if XRESOURCES
enum resource_type {
2023-05-08 23:00:45 +02:00
STRING = 0,
INTEGER = 1,
FLOAT = 2
};
typedef struct {
2023-05-08 23:00:45 +02:00
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