wok diff svkbd/stuff/config.def.h @ rev 25365
cpige: apply gibor patch (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 15:03:09 2022 +0000 (2022-07-28) |
parents | f763320a92ed |
children |
line diff
1.1 --- a/svkbd/stuff/config.def.h Fri Apr 18 10:51:46 2014 +0200 1.2 +++ b/svkbd/stuff/config.def.h Thu Jul 28 15:03:09 2022 +0000 1.3 @@ -1,9 +1,28 @@ 1.4 static const Bool wmborder = True; 1.5 -static const char font[] = "-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1"; 1.6 -static const char normbgcolor[] = "#dfdfdf"; 1.7 -static const char normfgcolor[] = "#000000"; 1.8 -static const char pressbgcolor[] = "#111111"; 1.9 -static const char pressfgcolor[] = "#ffffff"; 1.10 -static const char highlightbgcolor[] = "#111111"; 1.11 -static const char highlightfgcolor[] = "#ffffff"; 1.12 +static int fontsize = 22; 1.13 +static double overlay_delay = 1.0; //in seconds 1.14 +static double repeat_delay = 0.75; //in seconds, will not work on keys with overlays 1.15 +static int scan_rate = 50; //scan rate in microseconds, affects key repetition rate 1.16 +static int heightfactor = 14; //one row of keys takes up 1/x of the screen height 1.17 +static int xspacing = 5; 1.18 +static int yspacing = 5; 1.19 +static const char *defaultfonts[] = { 1.20 + "DejaVu Sans:bold:size=22" 1.21 +}; 1.22 +static const char *defaultcolors[SchemeLast][2] = { 1.23 + /* fg bg */ 1.24 + [SchemeNorm] = { "#000000", "#dfdfdf" }, 1.25 + [SchemeNormShift] = { "#008ac0", "#132a33" }, 1.26 + [SchemeNormABC] = { "#ffffff", "#14313d" }, 1.27 + [SchemeNormABCShift] = { "#008ac0", "#14313d" }, 1.28 + [SchemePress] = { "#ffffff", "#111111" }, 1.29 + [SchemePressShift] = { "#00c001", "#259937" }, 1.30 + [SchemeHighlight] = { "#ffffff", "#111111" }, 1.31 + [SchemeHighlightShift] = { "#008ac0", "#005577" }, 1.32 + [SchemeOverlay] = { "#ffffff", "#2b3313" }, 1.33 + [SchemeOverlayShift] = { "#008ac0", "#2b3313" }, 1.34 + [SchemeWindow] = { "#bbbbbb", "#132a33" }, 1.35 +}; 1.36 1.37 +/* static const char font[] = "-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1"; */ 1.38 +