Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csBackground Class Reference

This class is meant for displaying textured or gradiented backgrounds. More...

#include <csbackgr.h>

List of all members.

Public Methods

 csBackground ()
 Create a black background object.

 ~csBackground ()
 Destroy the object.

void Free ()
 Free the background.

void SetTexture (iTextureHandle *iTex)
 Set background texture.

iTextureHandleGetTexture ()
 Query background texture.

void SetColor (int iIndex, csRGBcolor &iColor)
 Set Nth (0-3) color of the background.

csRGBcolorGetColor (int iIndex)
 Get Nth (0-3) color of the background.

void SetColor (int iColor)
 Set the flat color of this background.

int GetColor ()
 Get the flat color of this background.

void SetType (csBackgroundType iType)
 Set background type.

csBackgroundType GetType ()
 Query background type.

void Draw (csComponent &This, int x, int y, int w, int h, int xorg, int yorg, uint8 iAlpha)
 Draw the background.


Detailed Description

This class is meant for displaying textured or gradiented backgrounds.

This is not a component; it is mainly meant for use by skins.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000