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

« back to all changes in this revision

Viewing changes to raster/r.digit/setup_graph.c

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
 
 
2
 
/****************************************************************************
3
 
 *
4
 
 * MODULE:       r.digit
5
 
 *
6
 
 * AUTHOR(S):    Michael Shapiro - CERL
7
 
 *
8
 
 * PURPOSE:      Interactive tool used to draw and save vector features
9
 
 *               on a graphics monitor using a pointing device (mouse)
10
 
 *               and save to a raster map.
11
 
 *
12
 
 * COPYRIGHT:    (C) 2006 by the GRASS Development Team
13
 
 *
14
 
 *               This program is free software under the GNU General Public
15
 
 *               License (>=v2). Read the file COPYING that comes with GRASS
16
 
 *               for details.
17
 
 *
18
 
 ***************************************************************************/
19
 
 
20
 
#include <grass/display.h>
21
 
 
22
 
 
23
 
int move(int x, int y)
24
 
{
25
 
    return 0;
26
 
}
27
 
 
28
 
int cont(int x, int y)
29
 
{
30
 
    return 0;
31
 
}
32
 
 
33
 
int setup_graphics(void)
34
 
{
35
 
    D_setup(0);
36
 
    G_setup_plot(D_get_d_north(), D_get_d_south(), D_get_d_west(),
37
 
                 D_get_d_east(), move, cont);
38
 
 
39
 
    return 0;
40
 
}