"Fossies" - the Fresh Open Source Software Archive 
Member "g3data-1.5.4/g3data/main.h" (8 Jan 2011, 1423 Bytes) of package /linux/privat/old/g3data-1.5.4.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "main.h" see the
Fossies "Dox" file reference documentation.
1 /*
2
3 g3data : A program for grabbing data from scanned graphs
4 Copyright (C) 2000 Jonas Frantz
5
6 This file is part of g3data.
7
8 g3data is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 g3data is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
22
23 Authors email : jonas.frantz@welho.com
24
25 */
26
27 #define ZOOMPIXSIZE 200 /* Size of zoom in window */
28 #define ZOOMFACTOR 4 /* Zoom factor of zoom window */
29 #define MAXPOINTS 256 /* Maximum number of points per memory allocation */
30 #define MAXNUMTABS 128 /* Maximum number of open tabs */
31 #define MOVETRESHOLD 3
32 #define ACTIONBNUM 2
33 #define ORDERBNUM 3
34 #define LOGBNUM 2
35
36 #define URI_IDENTIFIER "file://"
37
38 struct PointValue {
39 double Xv,Yv,Xerr,Yerr;
40 };
41
42 typedef enum {
43 URI_LIST,
44 PNG_DATA,
45 JPEG_DATA,
46 APP_X_COLOR,
47 NUM_IMAGE_DATA,
48 } UI_DROP_TARGET_INFO;