[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: prototype.h
User: cnieves
Date: 07/02/22 12:18:29
Modified: . prototype.h
Log:
Refactored the export image dialog.
* include/prototype.h, src/g_funcs.c, src/i_callbacks.c,
src/x_image.c:
Changed the export image dialog by a new one using a GTK
file chooser dialog with image size and image type drop-down
lists.
If compiled without libgd support (therefore using libgdk-pixbuf),
gschem will support several image types (like PNG, JPEG and ICO).
Revision Changes Path
1.161 +4 -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.160
retrieving revision 1.161
diff -u -b -r1.160 -r1.161
--- prototype.h 11 Feb 2007 07:39:50 -0000 1.160
+++ prototype.h 22 Feb 2007 17:18:28 -0000 1.161
@@ -1,4 +1,4 @@
-/* $Id: prototype.h,v 1.160 2007/02/11 07:39:50 werner Exp $ */
+/* $Id: prototype.h,v 1.161 2007/02/22 17:18:28 cnieves Exp $ */
/* a_pan.c */
void a_pan_general(TOPLEVEL *w_current, double world_cx, double world_cy,
@@ -824,18 +824,9 @@
void x_grid_draw(TOPLEVEL *w_current);
void x_draw_tiles(TOPLEVEL *w_current);
/* x_image.c */
-gint image_320(GtkWidget *w, TOPLEVEL *w_current);
-gint image_640(GtkWidget *w, TOPLEVEL *w_current);
-gint image_800(GtkWidget *w, TOPLEVEL *w_current);
-gint image_1024(GtkWidget *w, TOPLEVEL *w_current);
-gint image_1280(GtkWidget *w, TOPLEVEL *w_current);
-gint image_1600(GtkWidget *w, TOPLEVEL *w_current);
-gint image_3200(GtkWidget *w, TOPLEVEL *w_current);
-void x_image_lowlevel(TOPLEVEL *w_current, const char* filename);
-gint x_image_write(GtkWidget *w, TOPLEVEL *w_current);
-gint x_image_cancel(GtkWidget *w, TOPLEVEL *w_current);
-int x_image_keypress(GtkWidget *widget, GdkEventKey *event, TOPLEVEL *w_current);
-void x_image_setup(TOPLEVEL *w_current, char *filename);
+void x_image_lowlevel(TOPLEVEL *w_current, const char* filename,
+ int desired_width, int desired_height, char *filetype);
+void x_image_setup(TOPLEVEL *w_current);
GdkPixbuf *x_image_get_pixbuf (TOPLEVEL *w_current);
/* x_log.c */
void x_log_open ();
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs