GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
driver/Color.c File Reference
#include <grass/colors.h>
#include "driver.h"
#include "driverlib.h"
Include dependency graph for driver/Color.c:

Go to the source code of this file.

Functions

int DRV_lookup_color (int r, int g, int b)
 
void DRV_color (int number)
 
void COM_Color_RGB (unsigned char r, unsigned char g, unsigned char b)
 
void COM_Standard_color (int number)
 

Function Documentation

void COM_Color_RGB ( unsigned char  r,
unsigned char  g,
unsigned char  b 
)

Definition at line 19 of file driver/Color.c.

References DRV_color(), and DRV_lookup_color().

Referenced by COM_Standard_color(), LOC_RGB_color(), and process_command().

void COM_Standard_color ( int  number)
void DRV_color ( int  number)

Definition at line 12 of file driver/Color.c.

References driver::color.

Referenced by COM_Color_RGB().

int DRV_lookup_color ( int  r,
int  g,
int  b 
)

Definition at line 5 of file driver/Color.c.

References b, g, driver::lookup_color, and r.

Referenced by COM_Color_RGB().