VgaGames4

VgaGames4 - window man-pages

[.. upper level ..]

# vg4->window->setbrightness()

Set common window brightness.

SYNTAX
void vg4->window->setbrightness(int brightness)
FUNCTION PARAMETERS

brightness | Brightness, from 0 to VG_MAX_BRIGHTNESS, (default = 100)

DESCRIPTION
Set common window brightness. The default value of brightness is 100. Any other value will cause showing window contents darker or lighter. This function is meant to set a common brightness for the window. To set a temporary brightness use vg4->window->setattr().
SEE ALSO
vg4->window->getbrightness()