navigator_window_cover_label_set_color()

Set the label text color.

Synopsis:

#include <bps/navigator.h>
 
BPS_API int navigator_window_cover_label_set_color(navigator_window_cover_label_t *label,
                                                   uint8_t red,
                                                   uint8_t green,
                                                   uint8_t blue)

Since:

BlackBerry 10.0.0

Arguments:

label

The window cover label handle.

red

Red color component.

green

Green color component.

blue

Blue color component.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

Sets the color to use for the label text.

Returns:

On success, BPS_SUCCESS. Otherwise, BPS_FAILURE with errno set and the label will not be changed.