A Simple X Image Viewer
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
14 лет назад
123456789101112131415161718192021222324252627282930
  1. /* default window dimensions: *
  2. * (also controllable via -g option) */
  3. #define WIN_WIDTH 800
  4. #define WIN_HEIGHT 600
  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. /* how should images be scaled when they are loaded?: *
  11. * (also controllable via -d/-s/-Z/-z options) *
  12. * SCALE_DOWN: 100%, but fit large images into window, *
  13. * SCALE_FIT: fit all images into window, *
  14. * SCALE_ZOOM: use current zoom level, 100% at startup */
  15. #define SCALE_MODE SCALE_DOWN
  16. /* levels (percent) to use when zooming via '-' and '+': */
  17. static const float zoom_levels[] = {
  18. 12.5, 25.0, 50.0, 75.0,
  19. 100.0, 150.0, 200.0, 400.0, 800.0
  20. };
  21. /* default dimension of thumbnails (width == height): */
  22. #define THUMB_SIZE 60
  23. /* remove this line to disable external commands: *
  24. * (otherwise have a look at commands.h to define them) */
  25. #define EXT_COMMANDS