1 /* gEDA - GPL Electronic Design Automation
2 * gattrib -- gEDA component and net attribute manipulation using spreadsheet.
3 * Copyright (C) 2003 Stuart D. Brorson.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA
23 /*------------------------------------------------------------------
24 * Gattrib specific includes
25 *------------------------------------------------------------------*/
26 #include <libgeda/libgeda.h> /* geda library fcns */
27 #include "../include/struct.h" /* typdef and struct declarations */
28 #include "../include/prototype.h" /* function prototypes */
29 #include "../include/globals.h"
32 char *rc_filename
= NULL
;
35 GdkColormap
*colormap
;
44 int logging_dest
=LOG_WINDOW
;
46 /* these are required by libgeda */
47 /* I have made most of these NULL because they aren't needed
48 * for gattrib -- no drawing is done. */
49 void (*arc_draw_func
)() = NULL
;
50 void (*box_draw_func
)() = NULL
;
51 void (*circle_draw_func
)() = NULL
;
52 void (*complex_draw_func
)() = NULL
;
53 void (*line_draw_func
)() = NULL
;
54 void (*net_draw_func
)() = NULL
;
55 void (*bus_draw_func
)() = NULL
;
56 void (*text_draw_func
)() = NULL
;
57 void (*pin_draw_func
)() = NULL
;
58 void (*select_func
)() = s_toplevel_select_object
;
59 void (*x_log_update_func
)() = NULL
;
60 void (*quit_func
)() = gattrib_quit
;
61 void (*variable_set_func
)() = i_vars_set
;
64 /* gattrib specific variables */
67 /* command line arguments */
68 int verbose_mode
=FALSE
;