[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: Makefile.am
User: pbernaud
Date: 06/09/23 04:41:28
Modified: . Makefile.am prototype.h
Added: . x_preview.h
Log:
Refactored preview as a GTK widget
Revision Changes Path
1.11 +2 -2 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.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- Makefile.am 7 Sep 2006 03:12:27 -0000 1.10
+++ Makefile.am 23 Sep 2006 08:41:27 -0000 1.11
@@ -1,11 +1,11 @@
-## $Id: Makefile.am,v 1.10 2006/09/07 03:12:27 ahvezda Exp $
+## $Id: Makefile.am,v 1.11 2006/09/23 08:41:27 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_log.h x_multiattrib.h x_pagesel.h x_print.h
+ x_log.h x_multiattrib.h x_pagesel.h x_print.h x_preview.h
MOSTLYCLEANFILES = *.log core FILE *~
CLEANFILES = *.log core FILE *~
1.138 +1 -13 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.137
retrieving revision 1.138
diff -u -b -r1.137 -r1.138
--- prototype.h 23 Sep 2006 08:32:46 -0000 1.137
+++ prototype.h 23 Sep 2006 08:41:27 -0000 1.138
@@ -1,4 +1,4 @@
-/* $Id: prototype.h,v 1.137 2006/09/23 08:32:46 pbernaud Exp $ */
+/* $Id: prototype.h,v 1.138 2006/09/23 08:41:27 pbernaud Exp $ */
/* a_pan.c */
void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags);
@@ -930,18 +930,6 @@
void x_pagesel_update (TOPLEVEL *toplevel);
GtkWidget *e_gtk_button_new_with_icon(const char *text, const char *stock);
/* x_preview.c */
-void x_preview_update(TOPLEVEL *preview, const char *directory, const char *filename);
-#if ((GTK_MAJOR_VERSION > 2) || \
- ((GTK_MAJOR_VERSION == 2) && (GTK_MINOR_VERSION >= 4)) )
-void x_preview_update_gtk24 (GtkFileChooser *file_chooser, gpointer data);
-#endif
-void x_preview_close(TOPLEVEL *w_current);
-gint x_preview_expose(GtkWidget *widget, GdkEventExpose *event, TOPLEVEL *w_current);
-gint x_preview_button_pressed(GtkWidget *widget, GdkEventButton *event, TOPLEVEL *w_current);
-gint x_preview_motion(GtkWidget *widget, GdkEventMotion *event, TOPLEVEL *w_current);
-void x_preview_create_drawing(GtkWidget *drawbox, TOPLEVEL *w_current);
-void x_preview_setup_rest(TOPLEVEL *preview);
-TOPLEVEL *x_preview_setup(GtkWidget *xfwindow, GtkWidget *drawbox);
/* x_print.c */
void x_print_setup(TOPLEVEL *w_current, char *filename);
/* x_script.c */
1.1 eda/geda/gaf/gschem/include/x_preview.h
Index: x_preview.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_PREVIEW_H__
#define __X_PREVIEW_H__
/*
* Preview
*/
#define TYPE_PREVIEW (preview_get_type())
#define PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREVIEW, Preview))
#define PREVIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREVIEW, PreviewClass))
#define IS_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREVIEW))
typedef struct _PreviewClass PreviewClass;
typedef struct _Preview Preview;
struct _PreviewClass {
GtkDrawingAreaClass parent_class;
};
struct _Preview {
GtkDrawingArea parent_instance;
TOPLEVEL *preview_toplevel;
gchar *filename;
gboolean active;
};
GType preview_get_type (void);
#endif /* __X_PREVIEW_H__ */
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs