[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: prototype.h
User: danmc
Date: 06/04/25 18:26:56
Modified: . prototype.h
Log:
- add gschem-log, gschem-msg, gschem-confirm scheme functions for logging
to the log, displaying a message in a dialog box and executing a confirm
dialog box from scheme.
- make the pcb mode take advantage of these new features.
Revision Changes Path
1.128 +9 -0 eda/geda/devel/gschem/include/prototype.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: prototype.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/prototype.h,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -b -r1.127 -r1.128
--- prototype.h 24 Apr 2006 17:21:12 -0000 1.127
+++ prototype.h 25 Apr 2006 22:26:56 -0000 1.128
@@ -1,3 +1,5 @@
+/* $Id: prototype.h,v 1.128 2006/04/25 22:26:56 danmc Exp $ */
+
/* a_pan.c */
void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags);
void a_pan_calc(TOPLEVEL *w_current, int x, int y);
@@ -15,6 +17,9 @@
SCM g_funcs_print(SCM filename);
SCM g_funcs_image(SCM filename);
SCM g_funcs_exit(void);
+SCM g_funcs_log(SCM msg);
+SCM g_funcs_msg(SCM msg);
+SCM g_funcs_confirm(SCM msg);
SCM g_funcs_use_rc_values(void);
SCM g_funcs_key_name(SCM keystring);
SCM g_funcs_key_value(SCM keystring);
@@ -800,6 +805,10 @@
void x_dialog_hotkeys_fill(char *string);
void x_dialog_hotkeys(TOPLEVEL *w_current);
void x_dialog_raise_all(TOPLEVEL *w_current);
+
+void generic_msg_dialog(const char *);
+int generic_confirm_dialog(const char *);
+
void generic_text_input_ok(GtkWidget *w, TOPLEVEL *w_current);
void generic_text_input_dialog(TOPLEVEL *w_current);
int find_text_keypress(GtkWidget *widget, GdkEventKey *event, TOPLEVEL *w_current);