Krolyxon
Commit 090ee54

Branches

Refs →

nsxivconfig.h

26 lines · 984 B · Objective-C

1/* default window dimensions: *
2 * (also controllable via -g option) */
3#define WIN_WIDTH 800
4#define WIN_HEIGHT 600
5
6/* default color for window background: *
7 * (see X(7) "COLOR NAMES" section for valid values) */
8#define BG_COLOR "#999999"
9/* default color for thumbnail selection: */
10#define SEL_COLOR "#0040FF"
11
12/* how should images be scaled when they are loaded?: *
13 * (also controllable via -d/-s/-Z/-z options) *
14 * SCALE_DOWN: 100%, but fit large images into window, *
15 * SCALE_FIT: fit all images into window, *
16 * SCALE_ZOOM: use current zoom level, 100% at startup */
17#define SCALE_MODE SCALE_DOWN
18
19/* levels (percent) to use when zooming via '-' and '+': */
20static const float zoom_levels[] = {
21 12.5, 25.0, 50.0, 75.0,
22 100.0, 150.0, 200.0, 400.0, 800.0
23};
24
25/* default dimension of thumbnails (width == height): */
26#define THUMB_SIZE 60