SG_SetBackground | |||
Syntax: | |||
SG_SetBackground(Mode_L.l) | |||
Parameters: | |||
| |||
Description: | |||
set the background type for all gadgets created after that command. Mode_L can contain different values: - Mode_L = 0: none, means a transparent background - Mode_L = 1: color; the backgroundcolor can be set with the SG_SetGadgetBackgroundColor() command. - Mode_L = 2: image; the backgroundimage can be set with the SG_SetGagdetBbackgroundImage) command. | |||
Example: | |||
| |||
Remarks: | |||
The backgroundimage is not cutted, instead it resizes to fit the gadget background. This may slow down the framerate. | |||
|