Blame maemo/config.common.h
|
|
451405 |
#ifndef CONFIG_COMMON_H
|
|
|
451405 |
#define CONFIG_COMMON_H
|
|
|
451405 |
|
|
|
451405 |
|
|
|
451405 |
//#define NOBORDER
|
|
|
451405 |
#define NOTITLE
|
|
|
451405 |
#define LOCK_SIZE
|
|
|
451405 |
//#define DOCK
|
|
|
451405 |
//#define TOP_RESIZE
|
|
|
451405 |
//#define TOP
|
|
|
451405 |
#define SCREEN_EVENTS
|
|
|
451405 |
|
|
|
451405 |
#define DOCK_TYPE "_NET_WM_WINDOW_TYPE_TOOLBAR"
|
|
|
451405 |
|
|
|
451405 |
#define WIDTH_SCALE 1/1 // (nominator)/(denomitator)
|
|
|
451405 |
#define HEIGHT_SCALE 2/5
|
|
|
451405 |
#define WIDTH_SCALE_P 1/1 // scales for portrait mode, if you need different
|
|
|
451405 |
#define HEIGHT_SCALE_P 1/3 // you need to comment/uncomment both lines
|
|
|
451405 |
|
|
|
451405 |
#define TITLE "coolkbd"
|
|
|
451405 |
#define MIN_WIDTH 200
|
|
|
451405 |
#define MIN_HEIGHT 100
|
|
|
451405 |
#define LONGPRESS_MS 1500
|
|
|
451405 |
|
|
|
451405 |
#define FONTS { "DejaVu Sans:bold", "DejaVu Sans", "DejaVu" }
|
|
|
451405 |
#define FONT_SIZES { 2, 3, 4, 6, 8, 10, 12, 16, 18, 24, 32, 40, 48 }
|
|
|
451405 |
#define FONT_MAX_SIZES 16
|
|
|
451405 |
|
|
|
451405 |
#define TOUCH_THRESHOLD0 0.3 // threshold for detect a touch should be a bit greater
|
|
|
451405 |
#define TOUCH_THRESHOLD1 0.2 // then threshold to detect resease
|
|
|
451405 |
|
|
|
451405 |
#define LABEL_MAXLEN 32
|
|
|
451405 |
|
|
|
451405 |
#define KEY_BORDER 2 // see also S in layout.defs.h
|
|
|
451405 |
|
|
|
451405 |
|
|
|
451405 |
#endif
|