GRASS Programmer's Manual
6.4.2(2012)
|
00001 #include "driver.h" 00002 #include "driverlib.h" 00003 00004 void COM_Screen_left(int *index) 00005 { 00006 *index = screen_left; 00007 } 00008 00009 void COM_Screen_rite(int *index) 00010 { 00011 *index = screen_right; 00012 } 00013 00014 void COM_Screen_bot(int *index) 00015 { 00016 *index = screen_bottom; 00017 } 00018 00019 void COM_Screen_top(int *index) 00020 { 00021 *index = screen_top; 00022 } 00023 00024 void COM_Number_of_colors(int *ncolors) 00025 { 00026 *ncolors = NCOLORS; 00027 }