GRASS Programmer's Manual  6.4.3(2013)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties 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 }