#include <csbackgr.h>
Public Methods | |
csBackground () | |
Create a black background object. | |
~csBackground () | |
Destroy the object. | |
void | Free () |
Free the background. | |
void | SetTexture (iTextureHandle *iTex) |
Set background texture. | |
iTextureHandle* | GetTexture () |
Query background texture. | |
void | SetColor (int iIndex, csRGBcolor &iColor) |
Set Nth (0-3) color of the background. | |
csRGBcolor& | GetColor (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. |
This is not a component; it is mainly meant for use by skins.