Slightly changed config.h

This commit is contained in:
Bert 2011-04-14 12:19:20 +02:00
parent c58307ba38
commit 8056ddbfd7

View file

@ -2,32 +2,32 @@
#define WIN_WIDTH 800 #define WIN_WIDTH 800
#define WIN_HEIGHT 600 #define WIN_HEIGHT 600
/* default color for window background: * /* default color for window background: *
* (see X(7) "COLOR NAMES" section for valid values) */ * (see X(7) "COLOR NAMES" section for valid values) */
#define BG_COLOR "#999999" #define BG_COLOR "#999999"
/* default color for thumbnail selection: */ /* default color for thumbnail selection: */
#define SEL_COLOR "#0040FF" #define SEL_COLOR "#0040FF"
/* how should images be scaled when they are loaded?: * /* how should images be scaled when they are loaded?: *
* (also controllable via -d/-s/-Z/-z options) * * (also controllable via -d/-s/-Z/-z options) *
* SCALE_DOWN: 100%, but fit large images into window, * * SCALE_DOWN: 100%, but fit large images into window, *
* SCALE_FIT: fit all images into window, * * SCALE_FIT: fit all images into window, *
* SCALE_ZOOM: use current zoom level, 100% at startup */ * SCALE_ZOOM: use current zoom level, 100% at startup */
#define SCALE_MODE SCALE_DOWN #define SCALE_MODE SCALE_DOWN
/* levels (percent) to use when zooming via '-' and '+': */ /* levels (percent) to use when zooming via '-' and '+': */
static const float zoom_levels[] = { static const float zoom_levels[] = {
12.5, 25.0, 50.0, 75.0, 12.5, 25.0, 50.0, 75.0,
100.0, 150.0, 200.0, 400.0, 800.0 100.0, 150.0, 200.0, 400.0, 800.0
}; };
/* default dimension of thumbnails (width == height): */ /* default dimension of thumbnails (width == height): */
#define THUMB_SIZE 60 #define THUMB_SIZE 60
/* enable support for external commands (see below)?: */ /* enable external commands (defined below)? 0=off, 1=on: */
#define EXT_COMMANDS 0 #define EXT_COMMANDS 0
/* external commands and corresponding key mappings: */ /* external commands and corresponding key mappings: */
#ifdef MAIN_C #ifdef MAIN_C
#if EXT_COMMANDS #if EXT_COMMANDS
static const command_t commands[] = { static const command_t commands[] = {