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

gEDA-cvs: CVS update: prototype.h



  User: cnieves 
  Date: 06/10/04 16:11:40

  Modified:    .        prototype.h
  Log:
  Commited patch from Patrick Bernaud, improving the close confirmation
  
  dialog, and adding functions to open, close, save and change page.
  
  
  
  
  Revision  Changes    Path
  1.145     +8 -5      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.144
  retrieving revision 1.145
  diff -u -b -r1.144 -r1.145
  --- prototype.h	4 Oct 2006 19:10:29 -0000	1.144
  +++ prototype.h	4 Oct 2006 20:11:40 -0000	1.145
  @@ -1,4 +1,4 @@
  -/* $Id: prototype.h,v 1.144 2006/10/04 19:10:29 cnieves Exp $ */
  +/* $Id: prototype.h,v 1.145 2006/10/04 20:11:40 cnieves Exp $ */
   
   /* a_pan.c */
   void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags);
  @@ -771,10 +771,6 @@
   void text_edit_dialog(TOPLEVEL *w_current, char *string, int text_size, int text_alignment);
   void line_type_dialog(TOPLEVEL *w_current, GList *objects);
   void fill_type_dialog(TOPLEVEL *w_current, GList *objects);
  -int exit_dialog_keypress(GtkWidget *widget, GdkEventKey *event, TOPLEVEL *w_current);
  -void exit_dialog_ok(GtkWidget *w, TOPLEVEL *w_current);
  -void exit_dialog_cancel(GtkWidget *w, TOPLEVEL *w_current);
  -void exit_dialog(TOPLEVEL *w_current);
   int arc_angles_dialog_keypress(GtkWidget *widget, GdkEventKey *event, TOPLEVEL *w_current);
   void arc_angles_dialog_ok(GtkWidget *w, TOPLEVEL *w_current);
   void arc_angles_dialog_cancel(GtkWidget *w, TOPLEVEL *w_current);
  @@ -838,6 +834,8 @@
   void autonumber_text_done(GtkWidget *w, TOPLEVEL *w_current);
   void autonumber_text_dialog(TOPLEVEL *w_current);
   void major_changed_dialog(TOPLEVEL* w_current);
  +void x_dialog_close_changed_page (TOPLEVEL *toplevel, PAGE *page);
  +gboolean x_dialog_close_window (TOPLEVEL *toplevel);
   /* x_event.c */
   gint x_event_expose(GtkWidget *widget, GdkEventExpose *event, TOPLEVEL *w_current);
   gint x_event_button_pressed(GtkWidget *widget, GdkEventButton *event, TOPLEVEL *w_current);
  @@ -919,3 +917,8 @@
   void x_window_close_all(TOPLEVEL *w_current);
   TOPLEVEL *x_window_get_ptr(int wid);
   TOPLEVEL *x_window_search_page_clist(GtkWidget *findme);
  +PAGE *x_window_open_untitled_page (TOPLEVEL *toplevel);
  +PAGE *x_window_open_page (TOPLEVEL *toplevel, const gchar *filename);
  +void x_window_set_current_page (TOPLEVEL *toplevel, PAGE *page);
  +gint x_window_save_page (TOPLEVEL *toplevel, PAGE *page, const gchar *filename);
  +void x_window_close_page (TOPLEVEL *toplevel, PAGE *page);
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs