draw: draw.c is now independent of framebuffer depth
[cnoor.git] / config.h
blobd6962dd1c8f94450f44755809ef142dc20167d2f
1 /* cnoor config file */
3 /* framebuffer depth */
4 typedef unsigned int fbval_t;
6 /* you can get it from http://tanzil.info/download */
7 #define QURAN_PATH "/path/to/quran.txt"
8 /* it should be a utf-8 file with one aya per line or NULL */
9 #define TRANS_PATH "/path/to/translation.txt"
11 /* fonts and colors */
12 static struct style {
13 char *name;
14 char *font;
15 char *fg;
16 char *bg;
17 } styles[] = {
18 {"quran", "me_quran 18", "#000000", "#DDDDFF"},
19 {"trans", "DejaVu Sans 8", "#444455", "#FFFFFF"},
20 {"num", "DejaVu Sans Mono 7", "#225599", "#FFFFFF"},
21 {"juz", "DejaVu Sans Mono 7", "#229955", "#FFFFFF"},
22 {"sajda", "DejaVu Sans Mono 7", "#992222", "#FFFFFF"},