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

gEDA-cvs: CVS update: Makefile.am



  User: pbernaud
  Date: 05/02/22 12:59:58

  Modified:    .        Makefile.am prototype.h
  Added:       .        x_multiattrib.h
  Log:
  Modified the multiattrib dialog to permit direct edition of attributes from the list.
  
  
  
  
  Revision  Changes    Path
  1.8       +1 -1      eda/geda/devel/gschem/include/Makefile.am
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/include/Makefile.am,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- Makefile.am	20 Feb 2005 17:07:21 -0000	1.7
  +++ Makefile.am	22 Feb 2005 17:59:58 -0000	1.8
  @@ -3,7 +3,7 @@
   noinst_HEADERS = \
   	globals.h i_vars.h prototype.h x_event.h x_states.h \
   	gettext.h \
  -	x_log.h x_pagesel.h
  +	x_log.h x_multiattrib.h x_pagesel.h
   
   MOSTLYCLEANFILES = *.log core FILE *~
   CLEANFILES = *.log core FILE *~
  
  
  
  1.116     +1 -11     eda/geda/devel/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/devel/gschem/include/prototype.h,v
  retrieving revision 1.115
  retrieving revision 1.116
  diff -u -b -r1.115 -r1.116
  --- prototype.h	20 Feb 2005 17:07:21 -0000	1.115
  +++ prototype.h	22 Feb 2005 17:59:58 -0000	1.116
  @@ -880,17 +880,7 @@
   void x_menus_sensitivity(TOPLEVEL *w_current, const char *buf, int flag);
   void x_menus_popup_sensitivity(TOPLEVEL *w_current, const char *buf, int flag);
   /* x_multiattrib.c */
  -int multi_attrib_edit_keypress(GtkWidget *widget, GdkEventKey *event, TOPLEVEL *w_current);
  -char *multi_attrib_edit_parser(GtkWidget *w, char **text, int *vis, int *show);
  -void multi_attrib_edit_set_values(GtkWindow *window, OBJECT *attrib);
  -void multi_attrib_edit_clear(GtkWidget *w, GtkWindow *window);
  -void multi_attrib_edit_select_row(GtkCList *clist, gint row, gint col, GdkEventButton *event, TOPLEVEL *w_current);
  -void multi_attrib_edit_add(GtkWidget *w, TOPLEVEL *w_current);
  -void multi_attrib_edit_change(GtkWidget *w, TOPLEVEL *w_current);
  -void multi_attrib_edit_delete(GtkWidget *w, TOPLEVEL *w_current);
  -void multi_attrib_edit_close(GtkWidget *w, TOPLEVEL *w_current);
  -void multi_attrib_edit(TOPLEVEL *w_current, SELECTION *list);
  -void multi_attrib_parse_attribute(GtkWidget *w, GtkWidget *w_current);
  +void x_multiattrib_open (TOPLEVEL *toplevel, OBJECT *object);
   /* x_multimulti.c */
   /* x_pagesel.c */
   void x_pagesel_open (TOPLEVEL *toplevel);
  
  
  
  1.1                  eda/geda/devel/gschem/include/x_multiattrib.h
  
  Index: x_multiattrib.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.
   */
  
  
  
  typedef enum {
    MULTIATTRIB_RESPONSE_CLOSE  = 1
  } MultiattribResponseType;
  
  
  #define TYPE_MULTIATTRIB         (multiattrib_get_type())
  #define MULTIATTRIB(obj)         (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MULTIATTRIB, Multiattrib))
  #define MULTIATTRIB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MULTIATTRIB, MultiattribClass))
  #define IS_MULTIATTRIB(obj)      (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MULTIATTRIB))
  
  
  typedef struct _MultiattribClass MultiattribClass;
  typedef struct _Multiattrib      Multiattrib;
  
  
  struct _MultiattribClass {
    GtkDialogClass parent_class;
    
  };
  
  struct _Multiattrib {
    GtkDialog parent_instance;
  
    TOPLEVEL *toplevel;
    OBJECT *object;
  
    GtkTreeView    *treeview;
  
    GtkCombo       *combo_name;
    GtkEntry       *entry_value;
    GtkCheckButton *button_visible;
    GtkOptionMenu  *optionmenu_shownv;
    
  };
  
  
  GType multiattrib_get_type (void);
  
  void multiattrib_update (Multiattrib *multiattrib);