Set a layer's brightness
void gf_layer_set_brightness( gf_layer_t layer,
int brightness );
- A pointer to the gf_layer_t handle of the layer you want to set the brightness for.
- The brightness level of layer, in the range of -127 to 128, with 0 indicating normal brightness.
This function controls the brightness of a layer.
- This function only affects layers in YUV format.
- Changes to the layer's parameters are enqueued. You need to call gf_layer_update() to make them take effect. The gf_layer_update() call will return something other than GF_ERR_OK if the layer doesn't have the GF_LAYER_CAP_SET_BRIGHTNESS attribute (see gf_layer_query()).
QNX Graphics Framework