[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: Makefile.am
User: pbernaud
Date: 06/09/23 05:00:53
Modified: . Makefile.am prototype.h
Added: . x_compselect.h
Log:
Rewrote component selection dialog with single tree and filtering
Revision Changes Path
1.12 +2 -1 eda/geda/gaf/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/gaf/gschem/include/Makefile.am,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- Makefile.am 23 Sep 2006 08:41:27 -0000 1.11
+++ Makefile.am 23 Sep 2006 09:00:52 -0000 1.12
@@ -1,10 +1,11 @@
-## $Id: Makefile.am,v 1.11 2006/09/23 08:41:27 pbernaud Exp $
+## $Id: Makefile.am,v 1.12 2006/09/23 09:00:52 pbernaud Exp $
##
## Process this file with automake to produce Makefile.in
noinst_HEADERS = \
globals.h i_vars.h prototype.h x_dialog.h x_event.h x_states.h \
gettext.h \
+ x_compselect.h \
x_log.h x_multiattrib.h x_pagesel.h x_print.h x_preview.h
MOSTLYCLEANFILES = *.log core FILE *~
1.140 +3 -22 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.139
retrieving revision 1.140
diff -u -b -r1.139 -r1.140
--- prototype.h 23 Sep 2006 08:47:45 -0000 1.139
+++ prototype.h 23 Sep 2006 09:00:53 -0000 1.140
@@ -1,4 +1,4 @@
-/* $Id: prototype.h,v 1.139 2006/09/23 08:47:45 pbernaud Exp $ */
+/* $Id: prototype.h,v 1.140 2006/09/23 09:00:53 pbernaud Exp $ */
/* a_pan.c */
void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags);
@@ -848,27 +848,8 @@
gboolean x_event_key_press(GtkWidget *widget, GdkEventKey *event, TOPLEVEL *w_current);
gint x_event_scroll(GtkWidget *widget, GdkEventScroll *event, TOPLEVEL *w_current);
/* x_compselect.c */
-void x_compselect_destroy_window(GtkWidget *widget, FILEDIALOG *f_current);
-int x_compselect_keypress(GtkWidget * widget, GdkEventKey *event, FILEDIALOG* f_current);
-void x_compselect_init_list_buffers(FILEDIALOG *f_current);
-void x_compselect_free_list_buffers(FILEDIALOG *f_current);
-gint default_components(GtkWidget *w, TOPLEVEL *w_current);
-gint embed_components(GtkWidget *w, TOPLEVEL *w_current);
-gint include_components(GtkWidget *w, TOPLEVEL *w_current);
-void x_compselect_comp_fill_libs(TOPLEVEL *w_current, FILEDIALOG *f_current);
-void x_compselect_comp_fill_components(FILEDIALOG *f_current, int row);
-void x_compselect_comp_update_current(FILEDIALOG *f_current, char *library, char *component);
-void x_compselect_change_clib(FILEDIALOG *f_current, char *new_clib, int row);
-void x_compselect_lib_select (GtkWidget *widget, gint row, gint column, GdkEventButton *bevent, FILEDIALOG *f_current);
-void x_compselect_comp_select (GtkWidget *widget, gint row, gint column, GdkEventButton *bevent, FILEDIALOG *f_current);
-void x_compselect_comp_apply(GtkWidget *w, FILEDIALOG *f_current);
-void x_compselect_comp_close (GtkWidget *w, FILEDIALOG *f_current);
-int x_compselect_search_library(FILEDIALOG *f_current, char *library, const char *string) ;
-void x_compselect_comp_search(GtkWidget *w, FILEDIALOG *f_current);
-void x_compselect_setup_list_buffers(FILEDIALOG *f_current, int num_files, int num_directories);
-int x_compselect_preview_checkbox(GtkWidget *widget, FILEDIALOG *f_current);
-void x_compselect_close (GtkWidget *w, FILEDIALOG *f_current);
-void x_compselect_setup (TOPLEVEL *toplevel);
+void x_compselect_open (TOPLEVEL *toplevel);
+void x_compselect_close (TOPLEVEL *toplevel);
/* x_fileselect.c */
void x_fileselect_open(TOPLEVEL *toplevel);
void x_fileselect_save(TOPLEVEL *toplevel);
1.1 eda/geda/gaf/gschem/include/x_compselect.h
Index: x_compselect.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_COMPSELECT_H__
#define __X_COMPSELECT_H__
/*
* CompselectBehavior
*/
typedef enum {
COMPSELECT_BEHAVIOR_REFERENCE,
COMPSELECT_BEHAVIOR_EMBED,
COMPSELECT_BEHAVIOR_INCLUDE,
} CompselectBehavior;
GType compselect_behavior_get_type (void);
#define COMPSELECT_TYPE_BEHAVIOR (compselect_behavior_get_type ())
/*
* Compselect
*/
#define TYPE_COMPSELECT (compselect_get_type())
#define COMPSELECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_COMPSELECT, Compselect))
#define COMPSELECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_COMPSELECT, CompselectClass))
#define IS_COMPSELECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_COMPSELECT))
#define COMPSELECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_COMPSELECT, CompselectClass))
typedef struct _CompselectClass CompselectClass;
typedef struct _Compselect Compselect;
struct _CompselectClass {
GtkDialogClass parent_class;
guint behavior_changed_signal_id;
};
struct _Compselect {
GtkDialog parent_instance;
TOPLEVEL *toplevel;
GtkTreeView *treeview;
Preview *preview;
GtkEntry *entry_filter;
GtkComboBox *combobox_behaviors;
};
GType compselect_get_type (void);
#endif /* __X_COMPSEL_H__ */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs