~ubuntu-branches/ubuntu/warty/xmedcon/warty

« back to all changes in this revision

Viewing changes to source/xdefs.c

  • Committer: Bazaar Package Importer
  • Author(s): Roland Marcus Rutschmann
  • Date: 2004-06-07 09:00:14 UTC
  • Revision ID: james.westby@ubuntu.com-20040607090014-t39n52qc9zjqqqkh
Tags: upstream-0.9.6
ImportĀ upstreamĀ versionĀ 0.9.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 
2
 * filename: xdefs.c                                                       *
 
3
 *                                                                         *
 
4
 * UTIL C-source: Medical Image Conversion Utility                         *
 
5
 *                                                                         *
 
6
 * purpose      : global defines                                           *
 
7
 *                                                                         *
 
8
 * project      : (X)MedCon by Erik Nolf                                   *
 
9
 *                                                                         *
 
10
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
11
/* $Id: xdefs.c,v 1.15 2004/01/04 22:36:17 enlf Exp $
 
12
 */
 
13
 
 
14
/*
 
15
   Copyright (C) 1997-2004 by Erik Nolf
 
16
 
 
17
   This program is free software; you can redistribute it and/or modify it
 
18
   under the terms of the GNU General Public License as published by the
 
19
   Free Software Foundation; either version 2, or (at your option) any later
 
20
   version.
 
21
 
 
22
   This program is distributed in the hope that it will be useful, but
 
23
   WITHOUT ANY WARRANTY; without even the implied warranty of
 
24
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 
25
   Public License for more details.
 
26
 
 
27
   You should have received a copy of the GNU General Public License along
 
28
   with this program; if not, write to the Free Software Foundation, Inc.,
 
29
   59 Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
30
 
 
31
/****************************************************************************
 
32
                              H E A D E R S
 
33
****************************************************************************/
 
34
 
 
35
#include <stdio.h>
 
36
 
 
37
#include "xmedcon.h"
 
38
 
 
39
/****************************************************************************
 
40
                              D E F I N E S 
 
41
****************************************************************************/
 
42
 
 
43
Uint8 XMDC_FILE_OPEN=MDC_NO;
 
44
Uint8 XMDC_FILE_TYPE=XMDC_NORMAL;
 
45
 
 
46
Uint8 XMDC_IMAGE_BORDER = 1; /* border between images in viewer window */
 
47
 
 
48
GdkColor Red;
 
49
GdkColor Green;
 
50
GdkColor Blue;
 
51
GdkColor Yellow;
 
52
 
 
53
GdkCursor *handcursor;
 
54
GdkCursor *fleurcursor;
 
55
 
 
56
GdkFont *sfixed;
 
57
 
 
58
MyMainStruct my;
 
59
OptionsMedConStruct sOptionsMedCon;
 
60
ColormapSelectionStruct sColormapSelection;
 
61
MapPlaceSelectionStruct sMapPlaceSelection;
 
62
LabelSelectionStruct sLabelSelection;
 
63
RenderSelectionStruct sRenderSelection;
 
64
ExtractSelectionStruct sExtractSelection;
 
65
RawReadSelectionStruct sRawReadSelection;
 
66
ResizeSelectionStruct  sResizeSelection;
 
67
PagesSelectionStruct   sPagesSelection;
 
68
ColGbcCorrectStruct    sGbc;
 
69
EditFileInfoStruct     sEditFI;
 
70
 
 
71
char   labelindex[25];
 
72
char   labeltimes[50];
 
73
Uint32 write_counter=0;
 
74
char   xmdcstr[MDC_2KB_OFFSET];
 
75
char  *XMEDCONLUT=NULL; /* environ var: dir to color lookup tables    */
 
76
char  *XMEDCONRPI=NULL; /* environ var: dir to raw predef input files */ 
 
77