chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
print vprogress messages to files if any -D options specified
[ypp-sc-tools.main.git]
/
pctb
/
convert.h
diff --git
a/pctb/convert.h
b/pctb/convert.h
index 0ab09dbccb7ac56b2076cb870d9956f701af6f09..0dc2255ddaea9c9a1cc214e04c3487c5255a145a 100644
(file)
--- a/
pctb/convert.h
+++ b/
pctb/convert.h
@@
-69,10
+69,14
@@
static inline Rgb ri_rgb(const RgbImage *ri, int x, int y) {
/*----- from structure.c -----*/
/*----- from structure.c -----*/
-void find_structure(CanonImage *im, int *max_relevant_y_r);
+void find_structure(CanonImage *im, int *max_relevant_y_r,
+ Point *commod_focus_point_r,
+ Point *commod_page_point_r,
+ Point *commod_focuslast_point_r);
Rect find_sunshine_widget(void);
Rect find_sunshine_widget(void);
-void find_islandname(RgbImage *ri);
+void canon_colour_prepare(void);
+void find_islandname(void);
void check_correct_commodities(void);
void read_screenshots(void);
void read_one_screenshot(void);
void check_correct_commodities(void);
void read_screenshots(void);
void read_one_screenshot(void);
@@
-81,7
+85,8
@@
void analyse(FILE *tsv_output);
/*----- from convert.c -----*/
extern FILE *screenshot_file;
/*----- from convert.c -----*/
extern FILE *screenshot_file;
-extern void fetch_with_rsync(const char *stem);
+void fetch_with_rsync(const char *stem);
+void fetch_with_rsync_gz(const char *stem);
void vwarning(const char *fmt, va_list) FMT(1,0);
void warning(const char *fmt, ...) FMT(1,2);
void vwarning(const char *fmt, va_list) FMT(1,0);
void warning(const char *fmt, ...) FMT(1,2);
@@
-96,20
+101,24
@@
void vprogress_spinner(const char *fmt, va_list) FMT(1,0);
void progress_spinner(const char *fmt, ...) FMT(1,2);
enum flags {
void progress_spinner(const char *fmt, ...) FMT(1,2);
enum flags {
- ff_editcharset= 00001,
- ff_singlepage= 00002,
- ff_testservers= 00004,
+ ff_singlepage= 000002,
+ ff_testservers= 000004,
+
+ ff_charset_edit= 000010,
+ ff_charset_allowedit= 000020,
+ ff_charset_havelocal= 000040,
+ ffm_charset= 000070,
- ff_dict_fetch=
0001
0,
- ff_dict_submit=
0002
0,
- ff_dict_pirate=
0004
0,
- ffs_dict=
0007
0,
-
- ff_needisland=
001
00,
- ff_printisland=
002
00,
- ff_upload=
004
00,
- ffs_printisland=
003
00,
- ffs_upload=
005
00,
+ ff_dict_fetch=
00010
0,
+ ff_dict_submit=
00020
0,
+ ff_dict_pirate=
00040
0,
+ ffs_dict=
00070
0,
+
+ ff_needisland=
0010
00,
+ ff_printisland=
0020
00,
+ ff_upload=
0040
00,
+ ffs_printisland=
0030
00,
+ ffs_upload=
0050
00,
};
extern enum flags o_flags;
};
extern enum flags o_flags;
@@
-124,7
+133,7
@@
void find_yppclient_window(void);
void take_screenshots(void);
void take_one_screenshot(void);
void take_screenshots(void);
void take_one_screenshot(void);
-#define MAX_PAGES 100
+#define MAX_PAGES 100
0
extern CanonImage *page_images[MAX_PAGES];
extern int npages;
extern CanonImage *page_images[MAX_PAGES];
extern int npages;