summaryrefslogtreecommitdiffstats
path: root/config.h
blob: 7a4d43be81ebfd0793f7391ae274d99e2af58fad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* default window dimensions (overwritten via -g option): */
#define WIN_WIDTH    800
#define WIN_HEIGHT   600

/* default color for window background:                   *
 *   (see X(7) "COLOR NAMES" section for valid values)    */
#define BG_COLOR     "#999999"
/* default color for thumbnail selection:                 */
#define SEL_COLOR    "#0040FF"

/* how should images be scaled when they are loaded?:     *
 * (also controllable via -d/-s/-Z/-z options)            *
 *   SCALE_DOWN: 100%, but fit large images into window,  *
 *   SCALE_FIT:  fit all images into window,              *
 *   SCALE_ZOOM: use current zoom level, 100% at startup  */
#define SCALE_MODE   SCALE_DOWN

/* levels (percent) to use when zooming via '-' and '+':  */
static const float zoom_levels[] = {
	 12.5,  25.0,  50.0,  75.0,
	100.0, 150.0, 200.0, 400.0, 800.0
};

/* default dimension of thumbnails (width == height):     */
#define THUMB_SIZE   60

/* support for external commands (defined in commands.h): */
#define EXT_COMMANDS 0