update to 1.10.4
[profile/ivi/clutter.git] / clutter / x11 / clutter-settings-x11.h
1 #ifndef __CLUTTER_SETTINGS_X11_H__
2 #define __CLUTTER_SETTINGS_X11_H__
3
4 /* XSETTINGS key names to ClutterSettings properties */
5 static const struct {
6   const char *xsetting_name;
7   const char *settings_property;
8 } _clutter_settings_map[] = {
9   { "Net/DoubleClickTime",     "double-click-time" },
10   { "Net/DoubleClickDistance", "double-click-distance" },
11   { "Net/DndDragThreshold",    "dnd-drag-threshold" },
12   { "Gtk/FontName",            "font-name" },
13   { "Xft/Antialias",           "font-antialias" },
14   { "Xft/DPI",                 "font-dpi" },
15   { "Xft/Hinting",             "font-hinting" },
16   { "Xft/HintStyle",           "font-hint-style" },
17   { "Xft/RGBA",                "font-subpixel-order" },
18   { "Fontconfig/Timestamp",    "fontconfig-timestamp" },
19 };
20
21 static const gint _n_clutter_settings_map = G_N_ELEMENTS (_clutter_settings_map);
22
23 #define CLUTTER_SETTING_X11_NAME(id)    (_clutter_settings_map[(id)].xsetting_name)
24 #define CLUTTER_SETTING_PROPERTY(id)    (_clutter_settings_map[(id)].settings_property)
25
26 #endif /* __CLUTTER_SETTINGS_X11_H__ */