GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Returns.c
Go to the documentation of this file.
1 #include "driver.h"
2 #include "driverlib.h"
3 
4 void COM_Screen_left(int *index)
5 {
6  *index = screen_left;
7 }
8 
9 void COM_Screen_rite(int *index)
10 {
11  *index = screen_right;
12 }
13 
14 void COM_Screen_bot(int *index)
15 {
16  *index = screen_bottom;
17 }
18 
19 void COM_Screen_top(int *index)
20 {
21  *index = screen_top;
22 }
23 
24 void COM_Number_of_colors(int *ncolors)
25 {
26  *ncolors = NCOLORS;
27 }
int screen_top
Definition: driver/init.c:35
void COM_Screen_rite(int *)
Definition: Returns.c:9
void COM_Screen_top(int *)
Definition: Returns.c:19
int screen_left
Definition: driver/init.c:32
void COM_Screen_left(int *)
Definition: Returns.c:4
int NCOLORS
Definition: driver/init.c:30
int screen_right
Definition: driver/init.c:33
void COM_Screen_bot(int *)
Definition: Returns.c:14
void COM_Number_of_colors(int *)
Definition: Returns.c:24
int screen_bottom
Definition: driver/init.c:34