nsxiv8056ddb
Slightly changed config.h
+12 −12
1 file changed
- M config.h +12 −12
| @@ -2,32 +2,32 @@ | |||
| 2 | 2 | #define WIN_WIDTH 800 | |
| 3 | 3 | #define WIN_HEIGHT 600 | |
| 4 | 4 | ||
| 5 | − | /* default color for window background: * | |
| 6 | − | * (see X(7) "COLOR NAMES" section for valid values) */ | |
| 5 | + | /* default color for window background: * | |
| 6 | + | * (see X(7) "COLOR NAMES" section for valid values) */ | |
| 7 | 7 | #define BG_COLOR "#999999" | |
| 8 | − | /* default color for thumbnail selection: */ | |
| 8 | + | /* default color for thumbnail selection: */ | |
| 9 | 9 | #define SEL_COLOR "#0040FF" | |
| 10 | 10 | ||
| 11 | − | /* how should images be scaled when they are loaded?: * | |
| 12 | − | * (also controllable via -d/-s/-Z/-z options) * | |
| 13 | − | * SCALE_DOWN: 100%, but fit large images into window, * | |
| 14 | − | * SCALE_FIT: fit all images into window, * | |
| 15 | − | * SCALE_ZOOM: use current zoom level, 100% at startup */ | |
| 11 | + | /* how should images be scaled when they are loaded?: * | |
| 12 | + | * (also controllable via -d/-s/-Z/-z options) * | |
| 13 | + | * SCALE_DOWN: 100%, but fit large images into window, * | |
| 14 | + | * SCALE_FIT: fit all images into window, * | |
| 15 | + | * SCALE_ZOOM: use current zoom level, 100% at startup */ | |
| 16 | 16 | #define SCALE_MODE SCALE_DOWN | |
| 17 | 17 | ||
| 18 | − | /* levels (percent) to use when zooming via '-' and '+': */ | |
| 18 | + | /* levels (percent) to use when zooming via '-' and '+': */ | |
| 19 | 19 | static const float zoom_levels[] = { | |
| 20 | 20 | 12.5, 25.0, 50.0, 75.0, | |
| 21 | 21 | 100.0, 150.0, 200.0, 400.0, 800.0 | |
| 22 | 22 | }; | |
| 23 | 23 | ||
| 24 | − | /* default dimension of thumbnails (width == height): */ | |
| 24 | + | /* default dimension of thumbnails (width == height): */ | |
| 25 | 25 | #define THUMB_SIZE 60 | |
| 26 | 26 | ||
| 27 | − | /* enable support for external commands (see below)?: */ | |
| 27 | + | /* enable external commands (defined below)? 0=off, 1=on: */ | |
| 28 | 28 | #define EXT_COMMANDS 0 | |
| 29 | 29 | ||
| 30 | − | /* external commands and corresponding key mappings: */ | |
| 30 | + | /* external commands and corresponding key mappings: */ | |
| 31 | 31 | #ifdef MAIN_C | |
| 32 | 32 | #if EXT_COMMANDS | |
| 33 | 33 | static const command_t commands[] = { | |