1 #ifndef YPREFS_H 2 #define YPREFS_H 3 4 #include "yconfig.h" 5 #include "fontmacro.h" 6 7 XIV(bool, dontRotateMenuPointer, true) 8 XIV(bool, fontPreferFreetype, true) 9 XIV(bool, menuMouseTracking, false) 10 XIV(bool, replayMenuCancelClick, false) 11 XIV(bool, showPopupsAbovePointer, false) 12 XIV(bool, showEllipsis, true) 13 XIV(bool, rightToLeft, false) 14 XIV(bool, leftToRight, true) 15 #ifdef CONFIG_I18N 16 XIV(bool, multiByte, true) 17 #endif 18 XIV(bool, modSuperIsCtrlAlt, false) 19 XIV(bool, doubleBuffer, true) 20 XIV(bool, xrrDisable, false) 21 XIV(int, xineramaPrimaryScreen, 0) 22 XIV(int, MenuActivateDelay, 40) 23 XIV(int, SubmenuActivateDelay, 300) 24 extern int DelayFuzziness; 25 XIV(int, ClickMotionDistance, 4) 26 XIV(int, ClickMotionDelay, 200) 27 XIV(int, MultiClickTime, 400) 28 XIV(int, autoScrollStartDelay, 500) 29 XIV(int, autoScrollDelay, 60) 30 XIV(int, ToolTipDelay, 500) 31 XIV(int, ToolTipTime, 0) 32 33 ///#warning "move this one back to WM" 34 XIV(bool, grabRootWindow, true) 35 36 XSV(const char *, iconPath, 37 "/usr/local/share/icons:" 38 "/usr/local/share/pixmaps:" 39 "/usr/share/icons:" 40 "/usr/share/pixmaps:" 41 ) 42 XSV(const char *, iconThemes, "*:-HighContrast") 43 XSV(const char *, themeName, CONFIG_DEFAULT_THEME) 44 XSV(const char *, xineramaPrimaryScreenName, 0) 45 46 enum WMLook { 47 lookWin95 = 1 << 0, 48 lookMotif = 1 << 1, 49 lookWarp3 = 1 << 2, 50 lookWarp4 = 1 << 3, 51 lookNice = 1 << 4, 52 lookPixmap = 1 << 5, 53 lookMetal = 1 << 6, 54 lookGtk = 1 << 7, 55 lookFlat = 1 << 8, 56 }; 57 #define LOOK(looks) (((looks) & wmLook) != 0) 58 #define CONFIG_DEFAULT_LOOK lookNice 59 XIV(WMLook, wmLook, CONFIG_DEFAULT_LOOK) 60 61 XSV(const char *, clrToolTip, "rgb:E0/E0/00") 62 XSV(const char *, clrToolTipText, "rgb:00/00/00") 63 XFV(const char *, toolTipFontName, FONT(12,120), FSANS) 64 65 #endif 66 67 // vim: set sw=4 ts=4 et: 68