* rework export svg/pdf/ps functionality to export images with 1:1 scale. Previously...
[geda-gerbv.git] / src / interface.h
blob607a68d4326e4fdda3133e445ae5e037aa68d202
1 /*
2 * gEDA - GNU Electronic Design Automation
3 * This file is a part of gerbv.
5 * Copyright (C) 2000-2003 Stefan Petersen (spe@stacken.kth.se)
7 * $Id$
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
24 /** \file interface.h
25 \brief Header info for the GUI building functions for Gerber Viewer
26 \ingroup gerbv
30 void
31 interface_create_gui (int req_width, int req_height);
33 void
34 interface_set_render_type (int);
36 void rename_main_window(char const* filename, GtkWidget* main_win);
38 void
39 set_window_icon (GtkWidget * this_window);
41 gboolean
42 interface_get_alert_dialog_response (gchar *primaryText,
43 gchar *secondaryText,
44 gboolean show_checkbox,
45 gboolean *ask_to_show_again );
47 void
48 interface_show_alert_dialog (gchar *primaryText,
49 gchar *secondaryText,
50 gboolean show_checkbox,
51 gboolean *ask_to_show_again );
53 void
54 interface_show_modify_orientation_dialog (gerbv_user_transformation_t *transform, gerbv_unit_t screenUnit);