[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: globals.h
User: cnieves
Date: 06/09/28 14:00:31
Modified: . globals.h prototype.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.15 +1 -0 eda/geda/gaf/gschem/include/globals.h
(In the diff below, changes in quantity of whitespace are not shown.)
Index: globals.h
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/include/globals.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- globals.h 23 Apr 2006 03:48:27 -0000 1.14
+++ globals.h 28 Sep 2006 18:00:31 -0000 1.15
@@ -84,6 +84,7 @@
extern SCM deselect_all_hook;
extern SCM select_component_hook;
extern SCM select_net_hook;
+extern SCM new_page_hook;
#include "gettext.h"
#ifdef ENABLE_NLS
1.141 +3 -1 eda/geda/gaf/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/gaf/gschem/include/prototype.h,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -b -r1.140 -r1.141
--- prototype.h 23 Sep 2006 09:00:53 -0000 1.140
+++ prototype.h 28 Sep 2006 18:00:31 -0000 1.141
@@ -1,4 +1,4 @@
-/* $Id: prototype.h,v 1.140 2006/09/23 09:00:53 pbernaud Exp $ */
+/* $Id: prototype.h,v 1.141 2006/09/28 18:00:31 cnieves Exp $ */
/* a_pan.c */
void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags);
@@ -40,6 +40,8 @@
SCM scm_y);
SCM g_get_object_bounds (SCM object_smob, SCM scm_inc_attribs);
SCM g_get_object_pins (SCM object_smob);
+SCM g_add_component(SCM page_smob, SCM scm_comp_name, SCM scm_x, SCM scm_y,
+ SCM scm_angle, SCM scm_selectable, SCM scm_mirror);
/* g_keys.c */
void set_window_current_key(TOPLEVEL *w_current);
int g_keys_execute(int state, int keyval);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs