~ubuntu-branches/ubuntu/wily/grass/wily

« back to all changes in this revision

Viewing changes to imagery/i.ortho.photo/photo.2target/defs.h

Tags: 7.0.0~rc1+ds1-1~exp1
* New upstream release candidate.
* Repack upstream tarball, remove precompiled Python objects.
* Add upstream metadata.
* Update gbp.conf and Vcs-Git URL to use the experimental branch.
* Update watch file for GRASS 7.0.
* Drop build dependencies for Tcl/Tk, add build dependencies:
  python-numpy, libnetcdf-dev, netcdf-bin, libblas-dev, liblapack-dev
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Update paths to use grass70.
* Add configure options: --with-netcdf, --with-blas, --with-lapack,
  remove --with-tcltk-includes.
* Update patches for GRASS 7.
* Update copyright file, changes:
  - Update copyright years
  - Group files by license
  - Remove unused license sections
* Add patches for various typos.
* Fix desktop file with patch instead of d/rules.
* Use minimal dh rules.
* Bump Standards-Version to 3.9.6, no changes.
* Use dpkg-maintscript-helper to replace directories with symlinks.
  (closes: #776349)
* Update my email to use @debian.org address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include "orthophoto.h"
2
 
#include <grass/rowio.h>
3
 
#include <curses.h>
4
 
 
5
 
/* this is a curses structure */
6
 
typedef struct
7
 
{
8
 
    int top, left, bottom, right;
9
 
} Window;
10
 
 
11
 
/* this is a graphics structure */
12
 
typedef struct
13
 
{
14
 
    int top, bottom, left, right;
15
 
    int nrows, ncols;
16
 
    struct
17
 
    {
18
 
        int configured;
19
 
        struct Cell_head head;
20
 
        struct Colors colors;
21
 
        char name[30];
22
 
        char mapset[30];
23
 
        int top, bottom, left, right;
24
 
        double ew_res, ns_res;  /* original map resolution */
25
 
    } cell;
26
 
} View;
27
 
 
28
 
 
29
 
typedef struct
30
 
{
31
 
    int type;                   /* object type */
32
 
    int (*handler) ();          /* routine to handle the event */
33
 
    char *label;                /* label to display if MENU or OPTION */
34
 
    int binding;                /* OPTION bindings */
35
 
    int *status;                /* MENU,OPTION status */
36
 
    int top, bottom, left, right;
37
 
} Objects;
38
 
 
39
 
#define MENU_OBJECT 1
40
 
#define OPTION_OBJECT 2
41
 
#define INFO_OBJECT 3
42
 
#define OTHER_OBJECT 4
43
 
 
44
 
 
45
 
#define MENU(label,handler,status) \
46
 
        {MENU_OBJECT,handler,label,0,status,0,0,0,0}
47
 
#define OPTION(label,binding,status) \
48
 
        {OPTION_OBJECT,NULL,label,binding,status,0,0,0,0}
49
 
#define INFO(label,status) \
50
 
        {INFO_OBJECT,NULL,label,0,status,0,0,0,0}
51
 
#define OTHER(handler,status) \
52
 
        {OTHER_OBJECT,handler,NULL,0,status,0,0,0,0}