Logo Search packages:      
Sourcecode: g3data version File versions  Download package

main.h

/*

g3data : A program for grabbing data from scanned graphs
Copyright (C) 2000 Jonas Frantz

    This file is part of g3data.

    g3data 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.

    g3data 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA


Authors email : jonas.frantz@welho.com

*/

#define G_DISABLE_DEPRECATED
#define GDK_DISABLE_DEPRECATED
#define GDK_PIXBUF_DISABLE_DEPRECATED
#define GTK_DISABLE_DEPRECATED

#define ZOOMPIXSIZE 200                         /* Size of zoom in window */
#define ZOOMFACTOR 4                            /* Zoom factor of zoom window */
#define INNERSIZE 1                             /* Size of point marker white inner square */
#define OUTERSIZE 3                             /* Size of point marker red outer square */
#define MARKERLENGTH 6                          /* Axis marker length */
#define MARKERTHICKNESS 2                       /* Axis marker thickness */
#define MAXPOINTS 256                           /* Maximum number of points per memory allocation */
#define MAXNUMTABS 128                          /* Maximum number of open tabs */
#define VERSION "1.5.1"                         /* Version number */
#define MOVETRESHOLD 3

#define ACTIONBNUM 2
#define ORDERBNUM 3
#define LOGBNUM 2

#define URI_IDENTIFIER "file://"

struct PointValue {
  gdouble   Xv,Yv,Xerr,Yerr;
};

typedef enum {
  PRINT2STDOUT = 0,
  PRINT2FILE
} ACTION;

typedef enum {
    URI_LIST,
    PNG_DATA,
    JPEG_DATA,
    APP_X_COLOR,
    NUM_IMAGE_DATA,
} UI_DROP_TARGET_INFO;

Generated by  Doxygen 1.6.0   Back to index