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 /* 12 */ 13 14 /* 15 Copyright (C) 1997-2021 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 MyMainStruct my; 57 OptionsMedConStruct sOptionsMedCon; 58 ColormapSelectionStruct sColormapSelection; 59 MapPlaceSelectionStruct sMapPlaceSelection; 60 LabelSelectionStruct sLabelSelection; 61 RenderSelectionStruct sRenderSelection; 62 ExtractSelectionStruct sExtractSelection; 63 RawReadSelectionStruct sRawReadSelection; 64 ResizeSelectionStruct sResizeSelection; 65 PagesSelectionStruct sPagesSelection; 66 ColGbcCorrectStruct sGbc; 67 EditFileInfoStruct sEditFI; 68 69 char labelindex[50]; 70 char labeltimes[50]; 71 Uint32 write_counter=0; 72 char xmdcstr[MDC_2KB_OFFSET]; 73 char *XMEDCONLUT=NULL; /* environ var: dir to color lookup tables */ 74 char *XMEDCONRPI=NULL; /* environ var: dir to raw predef input files */ 75 76