Function libnotcurses_sys::ncchannels_set_bg_rgb8 [−][src]
pub fn ncchannels_set_bg_rgb8(
channels: &mut NcChannels,
r: NcComponent,
g: NcComponent,
b: NcComponent
) -> NcChannels
Expand description
Sets the three background RGB NcComponent
s of an NcChannels
, and
marks it as NOT using the “default color”, retaining the other bits unchanged.
Unlike the original C API, it also returns the new NcChannels.
Method: NcChannels.set_bg_rgb8()