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

gEDA-cvs: CVS update: i_vars.h



  User: ahvezda 
  Date: 06/08/30 07:06:16

  Modified:    .        i_vars.h prototype.h
  Added:       .        x_print.h
  Log:
  Applied patch by Peter Brett to add a new print dialog to gschem. Patch#1530417
  
  
  
  
  Revision  Changes    Path
  1.37      +1 -0      eda/geda/gaf/gschem/include/i_vars.h
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: i_vars.h
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/include/i_vars.h,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -b -r1.36 -r1.37
  --- i_vars.h	6 Aug 2006 19:23:19 -0000	1.36
  +++ i_vars.h	30 Aug 2006 11:06:16 -0000	1.37
  @@ -90,3 +90,4 @@
   extern int default_drag_can_move;
   extern int default_mousepan_gain;
   extern int default_keyboardpan_gain;
  +
  
  
  
  1.135     +3 -10     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.134
  retrieving revision 1.135
  diff -u -b -r1.134 -r1.135
  --- prototype.h	6 Aug 2006 19:23:19 -0000	1.134
  +++ prototype.h	30 Aug 2006 11:06:16 -0000	1.135
  @@ -1,4 +1,4 @@
  -/* $Id: prototype.h,v 1.134 2006/08/06 19:23:19 ahvezda Exp $ */
  +/* $Id: prototype.h,v 1.135 2006/08/30 11:06:16 ahvezda Exp $ */
   
   /* a_pan.c */
   void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags);
  @@ -15,6 +15,7 @@
   void correct_aspect(TOPLEVEL *w_current);
   /* g_funcs.c */
   SCM g_funcs_print(SCM filename);
  +SCM g_funcs_postscript(SCM filename);
   SCM g_funcs_image(SCM filename);
   SCM g_funcs_exit(void);
   SCM g_funcs_log(SCM msg);
  @@ -275,6 +276,7 @@
   SCM g_rc_drag_can_move(SCM mode);
   SCM g_rc_mousepan_gain(SCM mode);
   SCM g_rc_keyboardpan_gain(SCM mode);
  +SCM g_rc_print_command(SCM mode);
   /* g_register.c */
   void g_register_funcs(void);
   /* globals.c */
  @@ -932,15 +934,6 @@
   void x_preview_setup_rest(TOPLEVEL *preview);
   TOPLEVEL *x_preview_setup(GtkWidget *xfwindow, GtkWidget *drawbox);
   /* x_print.c */
  -gint print_landscape(GtkWidget *w, TOPLEVEL *w_current);
  -gint print_portrait(GtkWidget *w, TOPLEVEL *w_current);
  -gint x_print_set_window(GtkWidget *w, TOPLEVEL *w_current);
  -gint x_print_set_extents(GtkWidget *w, TOPLEVEL *w_current);
  -gint x_print_set_nomargins(GtkWidget *w, TOPLEVEL *w_current);
  -gint x_print_change_size(GtkWidget *gtklist, TOPLEVEL *w_current);
  -gint x_print_print(GtkWidget *w, TOPLEVEL *w_current);
  -gint x_print_cancel(GtkWidget *w, TOPLEVEL *w_current);
  -int x_print_keypress(GtkWidget *widget, GdkEventKey *event, TOPLEVEL *w_current);
   void x_print_setup(TOPLEVEL *w_current, char *filename);
   /* x_script.c */
   void script_selection_ok(GtkWidget *w, TOPLEVEL *w_current);
  
  
  
  1.1                  eda/geda/gaf/gschem/include/x_print.h
  
  Index: x_print.h
  ===================================================================
  /* gEDA - GPL Electronic Design Automation
   * gschem - gEDA Schematic Capture
   * Copyright (C) 1998-2004 Ales V. Hvezda
   *
   * This library is free software; you can redistribute it and/or
   * modify it under the terms of the GNU Library General Public
   * License as published by the Free Software Foundation; either
   * version 2 of the License, or (at your option) any later version.
   *
   * This library is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   * Library General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with this program; if not, write to the Free Software
   * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   */
  
  
  #ifndef __X_PRINT_H__
  #define __X_PRINT_H__
  
  /*
   * PrintDialog class
   */
  
  #define TYPE_PRINT_DIALOG         (print_dialog_get_type())
  #define PRINT_DIALOG(obj)         (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PRINT_DIALOG, PrintDialog))
  #define PRINT_DIALOG_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), TYPE_PRINT_DIALOG))
  #define IS_PRINT_DIALOG(obj)      (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PRINT_DIALOG))
  
  typedef struct _PrintDialogClass PrintDialogClass;
  typedef struct _PrintDialog PrintDialog;
  
  struct _PrintDialogClass
  {
    GtkDialogClass parent_class;
  };
  
  struct _PrintDialog
  {
    GtkDialog parent_instance;
  
    GtkEntry *fnfield, *cmdfield;
    GtkRadioButton *fileradio, *cmdradio;
    GtkButton *saveasbutton;
    GtkComboBox *orientcbox, *typecbox, *papercbox;
  };
  
  GType print_dialog_get_type ();
  
  #endif /* !__X_PRINT_H__ */
  
  
  


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