Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

vgui_color_text.h File Reference


Detailed Description

Converts a string naming a colour to the RGB values.

Author:
K.Y.McGaul
e.g. "blue" is converted to "0.000 0.000 1.000".

    Modifications
     K.Y.McGaul     25-FEB-2000   Initial version
     26-APR-2002  K.Y.McGaul - Added doxygen style comments.
   

Definition in file vgui_color_text.h.

#include <vcl_string.h>

Go to the source code of this file.

Functions

vcl_string text_to_color (vcl_string)
 Convert a string naming a colour to a string of the RGB values.
float red_value (vcl_string)
 Given a string naming a colour, return its red value.
float green_value (vcl_string)
 Given a string naming a colour, return its green value.
float blue_value (vcl_string)
 Given a string naming a colour, return its blue value.


Function Documentation

float blue_value vcl_string   ) 
 

Given a string naming a colour, return its blue value.

Definition at line 88 of file vgui_color_text.cxx.

float green_value vcl_string   ) 
 

Given a string naming a colour, return its green value.

Definition at line 82 of file vgui_color_text.cxx.

float red_value vcl_string   ) 
 

Given a string naming a colour, return its red value.

Definition at line 76 of file vgui_color_text.cxx.

vcl_string text_to_color vcl_string   ) 
 

Convert a string naming a colour to a string of the RGB values.

Definition at line 53 of file vgui_color_text.cxx.


Generated on Thu Jan 10 14:42:08 2008 for core/vgui by  doxygen 1.4.4