A Simple X Image Viewer
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 13 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 11 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 13 gadiem
pirms 13 gadiem
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* Copyright 2011 Bert Muennich
  2. *
  3. * This file is part of sxiv.
  4. *
  5. * sxiv is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published
  7. * by the Free Software Foundation; either version 2 of the License,
  8. * or (at your option) any later version.
  9. *
  10. * sxiv is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with sxiv. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef OPTIONS_H
  19. #define OPTIONS_H
  20. #include "types.h"
  21. #include "image.h"
  22. typedef struct {
  23. /* file list: */
  24. char **filenames;
  25. bool from_stdin;
  26. bool recursive;
  27. int filecnt;
  28. int startnum;
  29. /* image: */
  30. scalemode_t scalemode;
  31. float zoom;
  32. bool aa;
  33. /* window: */
  34. bool fixed_win;
  35. bool fullscreen;
  36. bool hide_bar;
  37. char *geometry;
  38. char *res_name;
  39. /* misc flags: */
  40. bool quiet;
  41. bool thumb_mode;
  42. bool clean_cache;
  43. } options_t;
  44. extern const options_t *options;
  45. void print_usage(void);
  46. void print_version(void);
  47. void parse_options(int, char**);
  48. #endif /* OPTIONS_H */