~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to vector/v.digit/proto.h

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Driver */
2
 
int driver_open(void);
3
 
int driver_close(void);
4
 
int driver_refresh(void);
5
 
void driver_rgb_color(int r, int g, int b);
6
 
void driver_line_width(int w);
7
 
void driver_plot_line(double x1, double y1, double x2, double y2);
8
 
void driver_plot_icon(double x, double y, const char *icon);
9
 
 
10
 
/* Miscellaneous */
11
 
void tool_centre(void);
12
 
void next_tool(void);
13
 
void update(int, int);
14
 
void end(void);
15
 
 
16
 
/* Symbology */
17
 
int get_symb_code(char *);
18
 
char *get_symb_name(int);
19
 
void symb_init(void);
20
 
void symb_init_gui(void);
21
 
void symb_set_driver_color(int);
22
 
 
23
 
int symb_line_from_map(int);
24
 
void symb_line_set_from_map(int);
25
 
void symb_lines_init(void);
26
 
void symb_updated_lines_set_from_map(void);
27
 
 
28
 
int symb_node_from_map(int);
29
 
void symb_node_set_from_map(int);
30
 
void symb_nodes_init(void);
31
 
void symb_updated_nodes_set_from_map(void);
32
 
 
33
 
void updated_lines_and_nodes_erase_refresh_display(void);
34
 
 
35
 
/* Edit */
36
 
int snap(double *, double *);
37
 
void new_line(int);
38
 
void move_vertex(void);
39
 
void add_vertex(void);
40
 
void rm_vertex(void);
41
 
void split_line(void);
42
 
void move_line(void);
43
 
void delete_line(void);
44
 
void edit_line(void);
45
 
 
46
 
/* Attributes */
47
 
void copy_cats(void);
48
 
void display_cats(void);
49
 
int del_cat(int, int, int);
50
 
int add_cat(int, int, int);
51
 
void display_attributes(void);
52
 
int new_record(int, int);
53
 
int check_record(int, int);
54
 
 
55
 
/* Display */
56
 
void display_points(struct line_pnts *, int);
57
 
void display_icon(double, double, int, double, int, int);
58
 
void display_line(int, int, int);
59
 
void display_updated_lines(int);
60
 
void display_node(int, int, int);
61
 
void display_updated_nodes(int);
62
 
void display_map(void);
63
 
void display_bg(void);
64
 
void display_erase(void);
65
 
void display_redraw(void);
66
 
 
67
 
/* Zoom */
68
 
void zoom_window(void);
69
 
int zoom_centre(double factor);
70
 
void zoom_pan(void);
71
 
int zoom_default(void);
72
 
int zoom_region(void);
73
 
 
74
 
/* c_face.c */
75
 
int c_cancel(ClientData, Tcl_Interp *, int, char **);
76
 
int c_next_tool(ClientData, Tcl_Interp *, int, char **);
77
 
int c_tool_centre(ClientData, Tcl_Interp *, int, char **);
78
 
int c_set_color(ClientData, Tcl_Interp *, int, char **);
79
 
int c_set_on(ClientData, Tcl_Interp *, int, char **);
80
 
int c_create_table(ClientData, Tcl_Interp *, int, char **);
81
 
int c_table_definition(ClientData, Tcl_Interp *, int, char **);
82
 
int c_var_set(ClientData, Tcl_Interp *, int, char **);
83
 
int c_create_bgcmd(ClientData, Tcl_Interp *, int, char **);
84
 
int c_set_bgcmd(ClientData, Tcl_Interp *, int, char **);
85
 
int c_add_blank_bgcmd(ClientData, Tcl_Interp *, int, char **);
86
 
int c_del_cat(ClientData, Tcl_Interp *, int, char **);
87
 
int c_add_cat(ClientData, Tcl_Interp *, int, char **);
88
 
 
89
 
/* i_face.c */
90
 
int i_prompt(char *);
91
 
int i_prompt_buttons(char *, char *, char *);
92
 
int i_coor(double, double);
93
 
int i_set_color(char *, int, int, int);
94
 
int i_set_on(char *, int);
95
 
int i_update(void);
96
 
void i_new_line_options(int);
97
 
void i_set_cat_mode(void);
98
 
void i_var_seti(int, int);
99
 
void i_var_setd(int, double);
100
 
void i_var_setc(int, char *);
101
 
int i_message(int, int, char *);
102
 
void i_add_bgcmd(int);
103
 
 
104
 
/* Cats */
105
 
void cat_init(void);
106
 
int cat_max_get(int);
107
 
void cat_max_set(int, int);
108
 
 
109
 
/* Variables */
110
 
void var_init(void);
111
 
int var_seti(int, int);
112
 
int var_setd(int, double);
113
 
int var_setc(int, char *);
114
 
int var_get_type_by_name(char *);
115
 
int var_get_code_by_name(char *);
116
 
char *var_get_name_by_code(int code);
117
 
int var_geti(int);
118
 
double var_getd(int);
119
 
char *var_getc(int);
120
 
 
121
 
/* Background */
122
 
int bg_add(char *);
123
 
 
124
 
/* Utilities */
125
 
char *get_line_type_name(int type);
126
 
void set_location(int x, int y);
127
 
void set_mode(int m);
128
 
 
129
 
typedef int tool_func_begin(void *closure);
130
 
typedef int tool_func_update(void *closure, int sxn, int syn, int button);
131
 
typedef int tool_func_end(void *closure);
132
 
 
133
 
void set_tool(tool_func_begin * begin,
134
 
              tool_func_update * update, tool_func_end * end, void *closure);
135
 
void cancel_tool(void);
136
 
int c_update_tool(ClientData, Tcl_Interp *, int, char **);
137
 
 
138
 
double get_thresh();
139
 
 
140
 
/* form */
141
 
int reset_values(ClientData, Tcl_Interp *, int, char **);
142
 
int set_value(ClientData, Tcl_Interp *, int, char **);
143
 
int submit(ClientData, Tcl_Interp *, int, char **);
144
 
int F_open(char *, char *);
145
 
void F_clear(void);
146
 
void F_close(void);