1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 #ifndef XSETTINGS_H
21 #define XSETTINGS_H
22
23 #ifndef HAVE_PGTK
24 #include "dispextern.h"
25 #include <X11/Xlib.h>
26 #else
27 #include <cairo.h>
28 #endif
29
30 struct x_display_info;
31 struct pgtk_display_info;
32
33 #ifdef HAVE_PGTK
34 typedef struct pgtk_display_info Display_Info;
35 #endif
36
37 extern void xsettings_initialize (Display_Info *);
38 #ifndef HAVE_PGTK
39 extern bool xft_settings_event (Display_Info *, const XEvent *);
40 #endif
41 extern const char *xsettings_get_system_font (void);
42 #ifdef USE_LUCID
43 extern const char *xsettings_get_system_normal_font (void);
44 #endif
45
46 #ifdef HAVE_PGTK
47 extern cairo_font_options_t *xsettings_get_font_options (void);
48 #endif
49
50 #endif