[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: prototype.h
User: cnieves
Date: 06/09/28 14:00:32
Modified: . prototype.h struct.h
Log:
Added a new page hook, a new add-component function for scheme,
and some lines in the system-gschemrc file (commented by default),
so gschem can add automatically a symbol when creating a new page.
Commenting out these lines can solven bug #1443806 (gschem
zoomed out way to much on startup).
Revision Changes Path
1.107 +4 -0 eda/geda/gaf/libgeda/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/gaf/libgeda/include/prototype.h,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -b -r1.106 -r1.107
--- prototype.h 4 Sep 2006 16:51:57 -0000 1.106
+++ prototype.h 28 Sep 2006 18:00:32 -0000 1.107
@@ -76,6 +76,10 @@
void g_init_object_smob(void);
gboolean g_get_data_from_object_smob(SCM object_smob, TOPLEVEL **toplevel,
OBJECT **object);
+SCM g_make_page_smob(TOPLEVEL *curr_w, PAGE *page);
+void g_init_page_smob(void);
+gboolean g_get_data_from_page_smob(SCM object_smob, TOPLEVEL **toplevel,
+ PAGE **object);
/* i_vars.c */
void i_vars_libgeda_set(TOPLEVEL *w_current);
1.91 +5 -0 eda/geda/gaf/libgeda/include/struct.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: struct.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/include/struct.h,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -b -r1.90 -r1.91
--- struct.h 23 Sep 2006 08:54:52 -0000 1.90
+++ struct.h 28 Sep 2006 18:00:32 -0000 1.91
@@ -963,4 +963,9 @@
OBJECT *object;
};
+struct st_page_smob {
+ TOPLEVEL *world; /* We need this when updating schematic */
+ PAGE *page;
+};
+
#endif
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs