zfuncs.h (fotoxx-22.30) | : | zfuncs.h (fotoxx-22.35) | ||
---|---|---|---|---|
skipping to change at line 644 | skipping to change at line 644 | |||
void zdialog_save_position(zdialog *zd); // save zdialog window position | void zdialog_save_position(zdialog *zd); // save zdialog window position | |||
int zdialog_inputs(cchar *action); // load or save zdialog input fields | int zdialog_inputs(cchar *action); // load or save zdialog input fields | |||
int zdialog_save_inputs(zdialog *zd); // save zdialog input fields when finished | int zdialog_save_inputs(zdialog *zd); // save zdialog input fields when finished | |||
int zdialog_restore_inputs(zdialog *zd); // restore zdialog inputs from prior use | int zdialog_restore_inputs(zdialog *zd); // restore zdialog inputs from prior use | |||
char * zdialog_text(GtkWidget *parent, cchar *title, cchar *inittext); // get N text input lines from user | char * zdialog_text(GtkWidget *parent, cchar *title, cchar *inittext); // get N text input lines from user | |||
char * zdialog_text1(GtkWidget *parent, cchar *title, cchar *inittext); // get one text input line from user | char * zdialog_text1(GtkWidget *parent, cchar *title, cchar *inittext); // get one text input line from user | |||
int zdialog_choose(GtkWidget *parent, cchar *where, cchar *message, ...); // show message, return button choice | int zdialog_choose(GtkWidget *parent, cchar *where, cchar *message, ...); // show message, return button choice | |||
int zdialog_choose2(GtkWidget *parent, cchar *where, cchar *message, ...); // " " " including KB inputs | int zdialog_choose2(GtkWidget *parent, cchar *where, cchar *message, ...); // " " " including KB inputs | |||
cchar * zdialog_picklist(cchar *title, GtkWidget *parent, char **picklist, int N pick); // show picklist, return with choice | ||||
void zdialog_popup_text(cchar *textfile, GtkWidget *parent); // get chars/text for GtkTextView insert | void zdialog_popup_text(cchar *textfile, GtkWidget *parent); // get chars/text for GtkTextView insert | |||
// write text report in popup window | // write text report in popup window | |||
zdialog * popup_report_open(cchar *title, GtkWidget *parent, int ww, int hh, // open popup report - pixel size, | zdialog * popup_report_open(cchar *title, GtkWidget *parent, int ww, int hh, // open popup report - pixel size, | |||
int Fheader, textwidget_callbackfunc_t CBfunc, ...); // header line, callback function | int Fheader, textwidget_callbackfunc_t CBfunc, ...); // header line, callback function | |||
void popup_report_header(zdialog *zd, int bold, cchar *format, ...); // write non-scrolling header line | void popup_report_header(zdialog *zd, int bold, cchar *format, ...); // write non-scrolling header line | |||
void popup_report_write(zdialog *zd, int bold, cchar *format, ...); // write text line | void popup_report_write(zdialog *zd, int bold, cchar *format, ...); // write text line | |||
void popup_report_write2(zdialog *zd, int bold, cchar *format, ...); // write text line and scroll to end | void popup_report_write2(zdialog *zd, int bold, cchar *format, ...); // write text line and scroll to end | |||
void popup_report_top(zdialog *zd); // go to top of report window | void popup_report_top(zdialog *zd); // go to top of report window | |||
skipping to change at line 679 | skipping to change at line 678 | |||
void popup_report_highlight_word(zdialog *zd, int line, int posn, int cc); // highlight word | void popup_report_highlight_word(zdialog *zd, int line, int posn, int cc); // highlight word | |||
void popup_report_underline_word(zdialog *zd, int line, int posn, int cc); // underline word | void popup_report_underline_word(zdialog *zd, int line, int posn, int cc); // underline word | |||
void popup_report_bold_word(zdialog *zd, int line, int posn, int cc); // bold word | void popup_report_bold_word(zdialog *zd, int line, int posn, int cc); // bold word | |||
void popup_report_font_attributes(zdialog *zd); // font attributes for entire report | void popup_report_font_attributes(zdialog *zd); // font attributes for entire report | |||
void popup_report_close(zdialog *zd, int secs); // close window after seconds | void popup_report_close(zdialog *zd, int secs); // close window after seconds | |||
// shell command to popup window | // shell command to popup window | |||
int popup_command(cchar *command, int ww = 400, int hh = 300, GtkWidget *parent = 0, int top = 0); | int popup_command(cchar *command, int ww = 400, int hh = 300, GtkWidget *parent = 0, int top = 0); | |||
// popup message dialogs | // popups: message, dialog, image, picklist | |||
void zmessageACK(GtkWidget *parent, cchar *format, ... ); // display message, wait for OK | void zmessageACK(GtkWidget *parent, cchar *format, ... ); // display message, wait for OK | |||
int zmessageYN(GtkWidget *parent, cchar *format, ... ); // display message, wait for YES/NO | int zmessageYN(GtkWidget *parent, cchar *format, ... ); // display message, wait for YES/NO | |||
zdialog * zmessage_post(GtkWidget *, cchar *loc, int s, cchar *f, ...); // show message, timeout or cancel | zdialog * zmessage_post(GtkWidget *, cchar *loc, int s, cchar *f, ...); // show message, timeout or cancel | |||
zdialog * zmessage_post_bold(GtkWidget *, cchar *loc, int s, cchar *f, ...); // " " with big red bold font | zdialog * zmessage_post_bold(GtkWidget *, cchar *loc, int s, cchar *f, ...); // " " with big red bold font | |||
void poptext_screen(cchar *text, int px, int py, float s1, float s2); // show popup text at screen posn | void poptext_screen(cchar *text, int px, int py, float s1, float s2); // show popup text at screen posn | |||
void poptext_mouse(cchar *text, int dx, int dy, float s1, float s2); // " " " at mouse posn + offset | void poptext_mouse(cchar *text, int dx, int dy, float s1, float s2); // " " " at mouse posn + offset | |||
void poptext_window(GtkWindow *, cchar *tx, int x, int y, float s1, float s2); // " " " at window posn + offset | void poptext_window(GtkWindow *, cchar *tx, int x, int y, float s1, float s2); // " " " at window posn + offset | |||
void poptext_widget(GtkWidget *, cchar *tx, int x, int y, float s1, float s2); // " " " at widget posn + offset | void poptext_widget(GtkWidget *, cchar *tx, int x, int y, float s1, float s2); // " " " at widget posn + offset | |||
int poptext_killnow(); // kill current popup window | int poptext_killnow(); // kill current popup window | |||
int popup_image(cchar *imagefile, GtkWindow *parent, int Fnewin, int size); // popup window with image | int popup_image(cchar *imagefile, GtkWindow *parent, int Fnewin, int size); // popup window with image | |||
cchar * popup_picklist(GtkWidget *paren, cchar **list, cchar **desc, int Np); // popup picklist, return choice | ||||
// file chooser dialogs for one file, multiple files, or folder | // file chooser dialogs for one file, multiple files, or folder | |||
char * zgetfile(cchar *title, GtkWindow *parent, cchar *action, cchar *file, in t hidden = 0); | char * zgetfile(cchar *title, GtkWindow *parent, cchar *action, cchar *file, in t hidden = 0); | |||
char ** zgetfiles(cchar *title, GtkWindow *parent, cchar *action, cchar *file, i nt hidden = 0); | char ** zgetfiles(cchar *title, GtkWindow *parent, cchar *action, cchar *file, i nt hidden = 0); | |||
char * zgetfolder(cchar *title, GtkWindow *parent, cchar *initfolder); | char * zgetfolder(cchar *title, GtkWindow *parent, cchar *initfolder); | |||
// print an image file, choosing printer, paper, orientation, margins, and scal e | // print an image file, choosing printer, paper, orientation, margins, and scal e | |||
void print_image_file(GtkWidget *parent, cchar *imagefile); | void print_image_file(GtkWidget *parent, cchar *imagefile); | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |