File: globals.h

package info (click to toggle)
libgeda 20061020-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,116 kB
  • ctags: 1,519
  • sloc: ansic: 23,461; sh: 8,889; makefile: 135
file content (69 lines) | stat: -rw-r--r-- 1,875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/* gEDA - GPL Electronic Design Automation
 * libgeda - gEDA's library
 * Copyright (C) 1998-2004 Ales V. Hvezda
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program 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 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 _GLOBALS_H_INCL
#define _GLOBALS_H_INCL


#if 0 /* none of this is needed? */
/* color stuff */
extern GdkColormap *colormap; 
extern GdkVisual *visual; 

/* colors */
extern GdkColor white;
extern GdkColor black;
extern GdkColor red;
extern GdkColor green;
extern GdkColor blue;
extern GdkColor cyan;
extern GdkColor yellow;
extern GdkColor grey;
extern GdkColor grey90;
extern GdkColor darkgreen;
extern GdkColor darkred;
extern GdkColor darkyellow;
extern GdkColor darkcyan;
extern GdkColor darkblue;
extern GdkColor darkgrey; 

/* color structure */
extern COLOR colors[MAX_COLORS];

extern char rc_filename[256]; /* size is hack */
#endif

extern int do_logging;
extern int logging_dest;

/* colors which are used in o_image */
extern int image_black;
extern int image_white;

#ifdef HAS_LIBGD
/* I hate to include an include inside an include (ha!) however, I don't */
/* see an easy way to get this to build right */
#include <gd.h>
extern gdImagePtr current_im_ptr;
#endif

/* Size of a tab in characters */
extern int tab_in_chars;

#endif