TORCS  1.3.9
The Open Racing Car Simulator
ForeGroundColor Class Reference

#include <gui.h>

Public Member Functions

void setRGBA (const float prgba[4])
 
const float * getRGBA ()
 

Public Attributes

union {
   struct {
      float   r
 
      float   g
 
      float   b
 
      float   a
 
   } 
 
   float   rgba [4]
 
}; 
 

Detailed Description

Definition at line 50 of file gui.h.

Member Function Documentation

◆ getRGBA()

const float* ForeGroundColor::getRGBA ( )
inline

Definition at line 69 of file gui.h.

◆ setRGBA()

void ForeGroundColor::setRGBA ( const float  prgba[4])
inline

Definition at line 63 of file gui.h.

Member Data Documentation

◆ @14

union { ... }

◆ a

float ForeGroundColor::a

Definition at line 72 of file gui.h.

◆ b

float ForeGroundColor::b

Definition at line 72 of file gui.h.

◆ g

float ForeGroundColor::g

Definition at line 72 of file gui.h.

◆ r

float ForeGroundColor::r

Definition at line 72 of file gui.h.

◆ rgba

float ForeGroundColor::rgba[4]

Definition at line 73 of file gui.h.


The documentation for this class was generated from the following file: