aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-21 11:21:09 +0100
committerBert <ber.t@gmx.com>2011-01-21 11:21:09 +0100
commit44921e07aaa36d553f2a4c81d7c431388b5c27e3 (patch)
tree480b23c1f8620813cd88bb0c577bf486d6042b97
parentb900105a4e1039ed2404eb8f01dcb14bcbd07c0e (diff)
Described options in config.h
-rw-r--r--config.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/config.h b/config.h
index 14b2947..0f157b3 100644
--- a/config.h
+++ b/config.h
@@ -1,14 +1,18 @@
-/* */
+/* default window dimensions: */
#define WIN_WIDTH 800
#define WIN_HEIGHT 600
-/* */
+/* default color to use for window background: *
+ * (see X(7) "COLOR NAMES" section for valid values) */
#define BG_COLOR "#888888"
-/* */
+/* default scale mode when loading a new image: *
+ * SCALE_DOWN: 100%, but fit large images into window, *
+ * SCALE_FIT: fit all images into window, *
+ * SCALE_ZOOM: use current zoom level, 100% at startup */
#define SCALE_MODE SCALE_DOWN
-/* */
+/* levels (percent) to use when zooming via '-' and '+': */
static const float zoom_levels[] = {
12.5, 25.0, 50.0, 75.0,
100.0, 150.0, 200.0, 400.0, 800.0