[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: globals.c



  User: cnieves 
  Date: 05/02/19 18:26:59

  Modified:    .        globals.c gnetlist.c
  Log:
  Added support for pictures within schematics and symbols.
  
  
  
  
  
  
  Revision  Changes    Path
  1.20      +1 -0      eda/geda/devel/gnetlist/src/globals.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: globals.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gnetlist/src/globals.c,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- globals.c	11 Feb 2005 18:26:42 -0000	1.19
  +++ globals.c	19 Feb 2005 23:26:58 -0000	1.20
  @@ -47,6 +47,7 @@
   /* these are required by libgeda */
   void (*arc_draw_func)() = o_arc_recalc;
   void (*box_draw_func)() = o_box_recalc;
  +void (*picture_draw_func)() = o_picture_recalc;
   void (*circle_draw_func)() = o_circle_recalc;
   void (*complex_draw_func)() = o_complex_recalc;
   void (*line_draw_func)() = o_line_recalc;
  
  
  
  1.45      +3 -0      eda/geda/devel/gnetlist/src/gnetlist.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: gnetlist.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gnetlist/src/gnetlist.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -b -r1.44 -r1.45
  --- gnetlist.c	13 Feb 2005 02:10:55 -0000	1.44
  +++ gnetlist.c	19 Feb 2005 23:26:58 -0000	1.45
  @@ -29,6 +29,7 @@
   #endif
   
   #include <libgeda/libgeda.h>
  +#include <gtk/gtk.h>
   
   #include "../include/globals.h"
   #include "../include/prototype.h"
  @@ -61,6 +62,8 @@
   
       TOPLEVEL *pr_current;
   
  +    gtk_init(&argc, &argv);
  +  
       /* set default output filename */
       output_filename =
   	(char *) malloc(sizeof(char) * (strlen("output.net") + 1));