Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

Background
[Graphic components]


Detailed Description

background graphic objects

Author:
benjamin gerard


Files

file  background.lua
 Background image.


Data Structures

struct  background
 Background object. More...


Functions

 background_set_texture (var bkg, var texture, var type)
 Set background texture.

 background_set_colors (var bkg, var color1, var color2, var color3, var color4)
 Set background colors.

 background_draw (var bkg, var dl)
 Draw background.

 background_create ()
 Create a background object.

 background_shutdown (var bkg)
 background_kill (var bkg)
 Kill background.


Function Documentation

background_set_texture var  bkg,
var  texture,
var  type
 

Set background texture.

Parameters:
bkg Background
texture Image file or texture-id
type One of [ "scale", "center", "tile" ] default : "scale"

background_kill var  bkg  ) 
 

Kill background.

Parameters:
bkg background to kill (nil for default background)


dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6