2011-01-28 12:34:16 +00:00
|
|
|
/* default window dimensions: *
|
2011-02-11 09:24:59 +00:00
|
|
|
* (also controllable via -g option) */
|
2011-01-21 11:58:02 +00:00
|
|
|
#define WIN_WIDTH 800
|
|
|
|
#define WIN_HEIGHT 600
|
2011-01-17 13:57:59 +00:00
|
|
|
|
2011-02-19 08:51:45 +00:00
|
|
|
/* default color for window background: *
|
2011-01-21 10:21:09 +00:00
|
|
|
* (see X(7) "COLOR NAMES" section for valid values) */
|
2011-02-09 15:32:40 +00:00
|
|
|
#define BG_COLOR "#999999"
|
2011-02-19 08:51:45 +00:00
|
|
|
/* default color for thumbnail selection: */
|
|
|
|
#define SEL_COLOR "#0040FF"
|
2011-01-17 13:57:59 +00:00
|
|
|
|
2011-01-21 11:58:02 +00:00
|
|
|
/* how should images be scaled when they are loaded?: *
|
2011-01-28 12:34:16 +00:00
|
|
|
* (also controllable via -d/-s/-Z/-z options) *
|
2011-01-21 10:21:09 +00:00
|
|
|
* 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 */
|
2011-01-21 11:58:02 +00:00
|
|
|
#define SCALE_MODE SCALE_DOWN
|
2011-01-17 13:57:59 +00:00
|
|
|
|
2011-01-21 10:21:09 +00:00
|
|
|
/* levels (percent) to use when zooming via '-' and '+': */
|
2011-01-21 09:29:31 +00:00
|
|
|
static const float zoom_levels[] = {
|
|
|
|
12.5, 25.0, 50.0, 75.0,
|
|
|
|
100.0, 150.0, 200.0, 400.0, 800.0
|
|
|
|
};
|
2011-02-16 15:47:12 +00:00
|
|
|
|
2011-02-19 23:28:28 +00:00
|
|
|
/* default dimension of thumbnails (width == height): */
|
|
|
|
#define THUMB_SIZE 60
|