Krolyxon
Commit 44921e0

Branches

Refs →

nsxiv44921e0

Described options in config.h

Author
Bert
Date
2011-01-21 11:21 +0100
Parent
b900105
Commit
44921e07aaa36d553f2a4c81d7c431388b5c27e3

+8 −4

1 file changed

  1. M config.h +8 −4
M config.h View
@@ -1,14 +1,18 @@
1−/* */
1+/* default window dimensions: */
22 #define WIN_WIDTH 800
33 #define WIN_HEIGHT 600
44
5−/* */
5+/* default color to use for window background: *
6+ * (see X(7) "COLOR NAMES" section for valid values) */
67 #define BG_COLOR "#888888"
78
8−/* */
9+/* default scale mode when loading a new image: *
10+ * SCALE_DOWN: 100%, but fit large images into window, *
11+ * SCALE_FIT: fit all images into window, *
12+ * SCALE_ZOOM: use current zoom level, 100% at startup */
913 #define SCALE_MODE SCALE_DOWN
1014
11−/* */
15+/* levels (percent) to use when zooming via '-' and '+': */
1216 static const float zoom_levels[] = {
1317 12.5, 25.0, 50.0, 75.0,
1418 100.0, 150.0, 200.0, 400.0, 800.0