1 #if !defined( CONFIG_H )
5 * User configuration file
6 * Copyright (C) 2018 Michael Goehler
8 * This file is part of mdp.
10 * This program is free software: you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation, either version 3 of the License, or
13 * (at your option) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program. If not, see <http://www.gnu.org/licenses/>.
25 // unordered list characters
27 // you can also override via env vars:
28 // export MDP_LIST_OPEN1=" " MDP_LIST_OPEN2=" " MDP_LIST_OPEN3=" "
29 // export MDP_LIST_HEAD1=" ■ " MDP_LIST_HEAD2=" ● " MDP_LIST_HEAD3=" ▫ "
30 // or export MDP_LIST_OPEN to override all MDP_LIST_OPENx variables
31 // and similarly for MDP_LIST_HEAD
32 static const char *list_open1 = " | ";
33 static const char *list_open2 = " | ";
34 static const char *list_open3 = " | ";
35 static const char *list_head1 = " +- ";
36 static const char *list_head2 = " +- ";
37 static const char *list_head3 = " +- ";
39 #define FADE_DELAY 15000 // micro seconds
40 #define GOTO_SLIDE_DELAY 5 // tenths of seconds
42 // colors - you can only set in 8-bit color mode
44 /* Use the ncurses defined colors, here's a list of them:
54 #define FG_COLOR COLOR_WHITE
55 #define BG_COLOR COLOR_BLACK
56 #define TITLE_COLOR COLOR_YELLOW
57 #define HEADER_COLOR COLOR_BLUE
58 #define BOLD_COLOR COLOR_RED
61 static const int prev_slide_binding[] = {
65 8, // BACKSPACE (ascii)
66 127, // BACKSPACE (xterm)
67 263, // BACKSPACE (getty)
72 static const int next_slide_binding[] = {
82 static const int first_slide_binding[] = {
87 static const int last_slide_binding[] = {
92 static const int reload_binding[] = {
96 static const int quit_binding[] = {
101 #endif // !defined( CONFIG_H )