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

13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
13 лет назад
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* sxiv: options.h
  2. * Copyright (c) 2011 Bert Muennich <muennich at informatik.hu-berlin.de>
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License
  6. * as published by the Free Software Foundation; either version 2
  7. * of the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301, USA.
  17. */
  18. #ifndef OPTIONS_H
  19. #define OPTIONS_H
  20. #include "image.h"
  21. #include "types.h"
  22. typedef struct {
  23. char **filenames;
  24. unsigned char from_stdin;
  25. int filecnt;
  26. int startnum;
  27. scalemode_t scalemode;
  28. float zoom;
  29. unsigned char aa;
  30. unsigned char thumbnails;
  31. unsigned char fixed;
  32. unsigned char fullscreen;
  33. char *geometry;
  34. unsigned char quiet;
  35. unsigned char clean_cache;
  36. unsigned char recursive;
  37. } options_t;
  38. extern const options_t *options;
  39. void print_usage();
  40. void print_version();
  41. void parse_options(int, char**);
  42. #endif /* OPTIONS_H */