Krolyxon
Commit bac610d

Branches

Refs →

nsxivconfig.h

28 lines · 1.0 KB · Objective-C

1/* default window dimensions (overwritten via -g option): */
2#define WIN_WIDTH 800
3#define WIN_HEIGHT 600
4
5/* default color for window background: *
6 * (see X(7) "COLOR NAMES" section for valid values) */
7#define BG_COLOR "#999999"
8/* default color for thumbnail selection: */
9#define SEL_COLOR "#0040FF"
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 */
16#define SCALE_MODE SCALE_DOWN
17
18/* levels (percent) to use when zooming via '-' and '+': */
19static const float zoom_levels[] = {
20 12.5, 25.0, 50.0, 75.0,
21 100.0, 150.0, 200.0, 400.0, 800.0
22};
23
24/* default dimension of thumbnails (width == height): */
25#define THUMB_SIZE 60
26
27/* support for external commands (defined in commands.h): */
28#define EXT_COMMANDS 0