config.h (637B)
1 #ifndef _CONFIG_H_ 2 #define _CONFIG_H_ 3 4 /************************* 5 * General configuration * 6 *************************/ 7 8 /* Note: These have to be less than one second */ 9 10 /* 11 * minimum time between redraws (nanoseconds) 12 */ 13 #define TICK (long long)20000000 14 15 /* 16 * minimum time between processing of mouse events - 17 * mouse movement events inbetween are discarded, 18 * scroll events are added up (nanoseconds) 19 */ 20 #define MOUSE_TICK (long long)100000000 21 22 /* 23 * minimum time between processing of window resize 24 * events - events inbetween are discarded (nanoseconds) 25 */ 26 #define RESIZE_TICK (long long)200000000 27 28 #endif /* _CONFIG_H_ */