Planeshift
Public Member Functions | Public Attributes

psEffect2DTextElement Class Reference

A 2D Text Effect Element. More...

#include <pseffect2drenderer.h>

List of all members.

Public Member Functions

virtual void Draw (iGraphics3D *g3d, iGraphics2D *g2d)
 psEffect2DTextElement (int zOrder, iFont *font, const char *text, int x, int y, int fgColor, int bgColor, int outlineColor, int shadowColor, int alpha)
virtual ~psEffect2DTextElement ()

Public Attributes

int bgColor
int fgColor
csRef< iFont > font
int outlineColor
int shadowColor
char text [PS_EFFECT_2D_TEXT_MAX_CHARS]
int x
int y

Detailed Description

A 2D Text Effect Element.

Definition at line 60 of file pseffect2drenderer.h.


Constructor & Destructor Documentation

psEffect2DTextElement::psEffect2DTextElement ( int  zOrder,
iFont *  font,
const char *  text,
int  x,
int  y,
int  fgColor,
int  bgColor,
int  outlineColor,
int  shadowColor,
int  alpha 
)
virtual psEffect2DTextElement::~psEffect2DTextElement ( ) [virtual]

Member Function Documentation

virtual void psEffect2DTextElement::Draw ( iGraphics3D *  g3d,
iGraphics2D *  g2d 
) [virtual]

Reimplemented from psEffect2DElement.


Member Data Documentation

Definition at line 68 of file pseffect2drenderer.h.

Definition at line 67 of file pseffect2drenderer.h.

Definition at line 63 of file pseffect2drenderer.h.

Definition at line 70 of file pseffect2drenderer.h.

Definition at line 69 of file pseffect2drenderer.h.

char psEffect2DTextElement::text[PS_EFFECT_2D_TEXT_MAX_CHARS]

Definition at line 64 of file pseffect2drenderer.h.

Definition at line 65 of file pseffect2drenderer.h.

Definition at line 66 of file pseffect2drenderer.h.


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