~ubuntu-branches/ubuntu/karmic/g3data/karmic

« back to all changes in this revision

Viewing changes to main.h

  • Committer: Bazaar Package Importer
  • Author(s): Peter S Galbraith
  • Date: 2004-12-14 22:12:00 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041214221200-9c372jt3hu56i055
Tags: 1:1.4.0.1-1
* New upstream release (merges-in man page provided uptream, thanks!)
* Removed debian/g3data.sgml since now merged in package upstream.
* Bug fix: "g3data: 404 on http link in the package description", thanks
  to Fabrice Lorrain for reporting it and providing the new URL, now
  used in the copyright and package description (Closes: #269136).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#define G_DISABLE_DEPRECATED
 
2
#define GDK_DISABLE_DEPRECATED
 
3
#define GDK_PIXBUF_DISABLE_DEPRECATED
 
4
#define GTK_DISABLE_DEPRECATED
 
5
 
 
6
#define ZOOMPIXSIZE 200                                 /* Size of zoom in window */
 
7
#define ZOOMFACTOR 4                                    /* Zoom factor of zoom window */
 
8
#define INNERSIZE 1                                     /* Size of point marker white inner square */
 
9
#define OUTERSIZE 3                                     /* Size of point marker red outer square */
 
10
#define MARKERLENGTH 6                                  /* Axis marker length */
 
11
#define MARKERTHICKNESS 2                               /* Axis marker thickness */
 
12
#define MAXPOINTS 256                                   /* Maximum number of points that can be put out */
 
13
#define VERSION "1.4.0.1"                               /* Version number */
 
14
 
 
15
#if GTK_MAJOR_VERSION == 2
 
16
  #if GTK_MINOR_VERSION >= 2
 
17
    #define GTK22X
 
18
  #else
 
19
    #define GTK20X
 
20
  #endif
 
21
#else
 
22
  #error "You need to have gtk+ version 2.0.0 or higher installed to compile and run g3data "VERSION"."
 
23
#endif
 
24
 
 
25
struct PointValue {
 
26
  gdouble       Xv,Yv,Xerr,Yerr;
 
27
};
 
28
 
 
29
#define ACTIONBNUM 2
 
30
#define ORDERBNUM 3
 
31
#define LOGBNUM 2
 
32
 
 
33
enum ACTION {
 
34
  PRINT2STDOUT = 0,
 
35
  PRINT2FILE
 
36
};
 
37