options.h (scrot-0.8) | : | options.h (scrot-1.6.tar.bz2) | ||
---|---|---|---|---|
/* options.h | /* options.h | |||
Copyright (C) 1999,2000 Tom Gilbert. | Copyright 1999-2000 Tom Gilbert <tom@linuxbrit.co.uk, | |||
gilbertt@linuxbrit.co.uk, | ||||
scrot_sucks@linuxbrit.co.uk> | ||||
Copyright 2009 James Cameron <quozl@us.netrek.org> | ||||
Copyright 2010 Ibragimov Rinat <ibragimovrinat@mail.ru> | ||||
Copyright 2017 Stoney Sauce <stoneysauce@gmail.com> | ||||
Copyright 2019-2021 Daniel T. Borelli <daltomi@disroot.org> | ||||
Copyright 2020 Sean Brennan <zettix1@gmail.com> | ||||
Permission is hereby granted, free of charge, to any person obtaining a copy | Permission is hereby granted, free of charge, to any person obtaining a copy | |||
of this software and associated documentation files (the "Software"), to | of this software and associated documentation files (the "Software"), to | |||
deal in the Software without restriction, including without limitation the | deal in the Software without restriction, including without limitation the | |||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or | |||
sell copies of the Software, and to permit persons to whom the Software is | sell copies of the Software, and to permit persons to whom the Software is | |||
furnished to do so, subject to the following conditions: | furnished to do so, subject to the following conditions: | |||
The above copyright notice and this permission notice shall be included in | The above copyright notice and this permission notice shall be included in | |||
all copies of the Software and its documentation and acknowledgment shall be | all copies of the Software and its documentation and acknowledgment shall be | |||
skipping to change at line 35 | skipping to change at line 42 | |||
#ifndef OPTIONS_H | #ifndef OPTIONS_H | |||
#define OPTIONS_H | #define OPTIONS_H | |||
struct __scrotoptions | struct __scrotoptions | |||
{ | { | |||
int debug_level; | int debug_level; | |||
int delay; | int delay; | |||
int countdown; | int countdown; | |||
int select; | int select; | |||
int focused; | ||||
int quality; | int quality; | |||
int border; | int border; | |||
int silent; | ||||
int multidisp; | int multidisp; | |||
int thumb; | int thumb; | |||
int thumb_width; | int thumb_width; | |||
int thumb_height; | int thumb_height; | |||
int pointer; | ||||
int freeze; | ||||
int overwrite; | ||||
int line_style; | ||||
int line_width; | ||||
int line_opacity; | ||||
int stack; | ||||
char *line_color; | ||||
char *line_mode; | ||||
char *output_file; | char *output_file; | |||
char *thumb_file; | char *thumb_file; | |||
char *exec; | char *exec; | |||
char *display; | ||||
char *note; | ||||
char *window_class_name; | ||||
char *script; | ||||
int autoselect; | ||||
int autoselect_x; | ||||
int autoselect_y; | ||||
int autoselect_h; | ||||
int autoselect_w; | ||||
}; | }; | |||
void init_parse_options(int argc, char **argv); | void init_parse_options(int argc, char **argv); | |||
char *name_thumbnail(char *name); | char *name_thumbnail(char *name); | |||
void options_parse_thumbnail(char *optarg); | void options_parse_thumbnail(char *optarg); | |||
void options_parse_autoselect(char *optarg); | ||||
void options_parse_display(char *optarg); | ||||
void options_parse_note(char *optarg); | ||||
int options_parse_required_number(char *str); | ||||
int options_cmp_window_class_name(const char* target_class_name); | ||||
extern scrotoptions opt; | extern scrotoptions opt; | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
1 lines changed or deleted | 33 lines changed or added |