doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
idGLDrawableMaterial Class Reference

#include <GLWidget.h>

Inheritance diagram for idGLDrawableMaterial:
idGLDrawableWorld idGLDrawable

Public Member Functions

 idGLDrawableMaterial (const idMaterial *mat)
 
 idGLDrawableMaterial ()
 
 ~idGLDrawableMaterial ()
 
virtual void setMedia (const char *name)
 
virtual void draw (int x, int y, int w, int h)
 
virtual void buttonUp (int button)
 
virtual void buttonDown (int button, float x, float y)
 
virtual void mouseMove (float x, float y)
 
virtual void Update ()
 
- Public Member Functions inherited from idGLDrawableWorld
 idGLDrawableWorld ()
 
 ~idGLDrawableWorld ()
 
void AddTris (srfTriangles_t *tris, const idMaterial *mat)
 
void InitWorld ()
 
- Public Member Functions inherited from idGLDrawable
 idGLDrawable ()
 
 ~idGLDrawable ()
 
virtual void buttonUp (int button, float x, float y)
 
virtual int getRealTime ()
 
virtual bool ScreenCoords ()
 
void SetRealTime (int i)
 
float getScale ()
 
void setScale (float f)
 

Protected Attributes

const idMaterialmaterial
 
bool worldDirty
 
float light
 
- Protected Attributes inherited from idGLDrawableWorld
idRenderWorldworld
 
idRenderModelworldModel
 
qhandle_t worldModelDef
 
qhandle_t lightDef
 
qhandle_t modelDef
 
- Protected Attributes inherited from idGLDrawable
float scale
 
float xOffset
 
float yOffset
 
float zOffset
 
float pressX
 
float pressY
 
bool handleMove
 
int button
 
int realTime
 

Detailed Description

Definition at line 88 of file GLWidget.h.

Constructor & Destructor Documentation

idGLDrawableMaterial::idGLDrawableMaterial ( const idMaterial mat)
inline

Definition at line 91 of file GLWidget.h.

idGLDrawableMaterial::idGLDrawableMaterial ( )
inline

Definition at line 98 of file GLWidget.h.

idGLDrawableMaterial::~idGLDrawableMaterial ( )
inline

Definition at line 105 of file GLWidget.h.

Member Function Documentation

void idGLDrawableMaterial::buttonDown ( int  button,
float  x,
float  y 
)
virtual

Reimplemented from idGLDrawable.

Definition at line 288 of file GLWidget.cpp.

virtual void idGLDrawableMaterial::buttonUp ( int  button)
inlinevirtual

Definition at line 110 of file GLWidget.h.

void idGLDrawableMaterial::draw ( int  x,
int  y,
int  w,
int  h 
)
virtual

Reimplemented from idGLDrawableWorld.

Definition at line 354 of file GLWidget.cpp.

void idGLDrawableMaterial::mouseMove ( float  x,
float  y 
)
virtual

Reimplemented from idGLDrawable.

Definition at line 294 of file GLWidget.cpp.

void idGLDrawableMaterial::setMedia ( const char *  name)
virtual

Reimplemented from idGLDrawable.

Definition at line 476 of file GLWidget.cpp.

virtual void idGLDrawableMaterial::Update ( void  )
inlinevirtual

Reimplemented from idGLDrawable.

Definition at line 113 of file GLWidget.h.

Member Data Documentation

float idGLDrawableMaterial::light
protected

Definition at line 118 of file GLWidget.h.

const idMaterial* idGLDrawableMaterial::material
protected

Definition at line 113 of file GLWidget.h.

bool idGLDrawableMaterial::worldDirty
protected

Definition at line 117 of file GLWidget.h.


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