proj home

Files   Classes   Functions   Hierarchy  

gobjglColor4ub Class Reference

#include <gobj.h>

Inheritance diagram for gobjglColor4ub:
Collaboration diagram for gobjglColor4ub:

List of all members.

Public Types

typedef GLubyte W

Public Member Functions

 gobjglColor4ub (W const x_, W const y_, W const z_, W const a_)
void set (W const x_, W const y_, W const z_, W const a_)
void draw ()
 Draw the object.

Public Attributes

W x
W y
W z
W a


Detailed Description

Definition at line 210 of file gobj.h.


Member Typedef Documentation

typedef GLubyte gobjglColor4ub::W

Definition at line 214 of file gobj.h.


Constructor & Destructor Documentation

gobjglColor4ub::gobjglColor4ub ( W const   x_,
W const   y_,
W const   z_,
W const   a_ 
) [inline]

Definition at line 222 of file gobj.h.

00228     : x(x_), y(y_), z(z_), a(a_) {}


Member Function Documentation

void gobjglColor4ub::draw (  )  [inline, virtual]

Draw the object.

Implements gobj.

Definition at line 233 of file gobj.h.

References a, GOBJDEBUGCODE, x, y, and z.

00234     { GOBJDEBUGCODE glColor4ub(x,y,z,a); }

void gobjglColor4ub::set ( W const   x_,
W const   y_,
W const   z_,
W const   a_ 
) [inline]

Definition at line 230 of file gobj.h.

References a, x, y, and z.

00231     { x=x_; y=y_; z=z_; a=a_; }


Member Data Documentation

Definition at line 219 of file gobj.h.

Referenced by draw(), and set().

Definition at line 216 of file gobj.h.

Referenced by draw(), and set().

Definition at line 217 of file gobj.h.

Referenced by draw(), and set().

Definition at line 218 of file gobj.h.

Referenced by draw(), and set().


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

Generated on Fri Mar 4 00:49:58 2011 for Chelton Evans Source by  doxygen 1.5.8