GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
com_get.c
Go to the documentation of this file.
1 #include <grass/gis.h>
2 
3 #include <grass/raster.h>
4 #include <grass/graphics.h>
5 #include "transport.h"
6 
7 void R_get_location_with_box(int cx, int cy, int *wx, int *wy, int *button)
8 {
9  trans->get_location_with_box(cx, cy, wx, wy, button);
10 }
11 
12 void R_get_location_with_line(int cx, int cy, int *wx, int *wy, int *button)
13 {
14  trans->get_location_with_line(cx, cy, wx, wy, button);
15 }
16 
17 void R_get_location_with_pointer(int *wx, int *wy, int *button)
18 {
19  trans->get_location_with_pointer(wx, wy, button);
20 }
struct transport * trans
Definition: com_io.c:143
void(* get_location_with_pointer)(int *, int *, int *)
Definition: transport.h:198
void(* get_location_with_line)(int, int, int *, int *, int *)
Definition: transport.h:197
void R_get_location_with_line(int cx, int cy, int *wx, int *wy, int *button)
Definition: com_get.c:12
void R_get_location_with_pointer(int *wx, int *wy, int *button)
Definition: com_get.c:17
void R_get_location_with_box(int cx, int cy, int *wx, int *wy, int *button)
Definition: com_get.c:7
void(* get_location_with_box)(int, int, int *, int *, int *)
Definition: transport.h:196