quran: don't use mmap()
[cnoor.git] / config.h
blobaf00056a1b2633b44ed7e034a5fc76b269bc7bcc
1 /* cnoor config file */
3 /* framebuffer depth */
4 typedef unsigned int fbval_t;
6 /* optimized version of fb_val() */
7 #define FB_VAL(r, g, b) fb_val((r), (g), (b))
9 /* you can get it from http://tanzil.info/download */
10 #define QURAN_PATH "/path/to/quran.txt"
11 /* it should be a utf-8 file with one aya per line or NULL */
12 #define TRANS_PATH "/path/to/translation.txt"
14 /* fonts and colors */
15 static struct style {
16 char *name;
17 char *font;
18 char *fg;
19 char *bg;
20 } styles[] = {
21 {"quran", "me_quran 18", "#000000", "#DDDDFF"},
22 {"trans", "DejaVu Sans 8", "#444455", "#FFFFFF"},
23 {"num", "DejaVu Sans Mono 7", "#225599", "#FFFFFF"},
24 {"juz", "DejaVu Sans Mono 7", "#229955", "#FFFFFF"},
25 {"sajda", "DejaVu Sans Mono 7", "#992222", "#FFFFFF"},