[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: g_rc.c
User: mike
Date: 06/12/02 21:27:13
Modified: . g_rc.c g_register.c i_vars.c
Log:
Changes to enure that lines are drawn at least as thick as nets/pins
Revision Changes Path
1.42 +17 -0 eda/geda/gaf/gschem/src/g_rc.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: g_rc.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/g_rc.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -b -r1.41 -r1.42
--- g_rc.c 7 Sep 2006 02:41:28 -0000 1.41
+++ g_rc.c 3 Dec 2006 02:27:13 -0000 1.42
@@ -455,6 +455,23 @@
* \par Function Description
*
*/
+SCM g_rc_line_style(SCM mode)
+{
+ static const vstbl_entry mode_table[] = {
+ {THIN , "thin" },
+ {THICK, "thick"}
+ };
+
+ RETURN_G_RC_MODE("pin-style",
+ default_line_style,
+ 2);
+}
+
+/*! \todo Finish function documentation!!!
+ * \brief
+ * \par Function Description
+ *
+ */
SCM g_rc_action_feedback_mode(SCM mode)
{
static const vstbl_entry mode_table[] = {
1.48 +1 -0 eda/geda/gaf/gschem/src/g_register.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: g_register.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/g_register.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- g_register.c 3 Oct 2006 16:35:11 -0000 1.47
+++ g_register.c 3 Dec 2006 02:27:13 -0000 1.48
@@ -80,6 +80,7 @@
{ "net-style", 1, 0, 0, g_rc_net_style },
{ "bus-style", 1, 0, 0, g_rc_bus_style },
{ "pin-style", 1, 0, 0, g_rc_pin_style },
+ { "line-style", 1, 0, 0, g_rc_line_style },
{ "zoom-with-pan", 1, 0, 0, g_rc_zoom_with_pan },
{ "action-feedback-mode", 1, 0, 0, g_rc_action_feedback_mode },
{ "text-feedback", 1, 0, 0, g_rc_text_feedback },
1.35 +3 -0 eda/geda/gaf/gschem/src/i_vars.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: i_vars.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/i_vars.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- i_vars.c 4 Sep 2006 16:51:57 -0000 1.34
+++ i_vars.c 3 Dec 2006 02:27:13 -0000 1.35
@@ -46,6 +46,7 @@
int default_pin_style = THICK;
int default_net_style = THICK;
int default_bus_style = THICK;
+int default_line_style = THICK;
int default_grid_color = GRID_COLOR;
int default_background_color = BACKGROUND_COLOR;
int default_select_color = SELECT_COLOR;
@@ -177,6 +178,8 @@
w_current->pin_style = default_pin_style;
w_current->override_pin_color = default_override_pin_color;
+ w_current->line_style = default_line_style;
+
w_current->zoom_with_pan = default_zoom_with_pan;
w_current->actionfeedback_mode = default_actionfeedback_mode;
w_current->text_display_zoomfactor = default_text_display_zoomfactor;
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs