TAP_Osd_SetTransparency
Topfield Documentation
int TAP_Osd_SetTransparency(word rgn, char rt);
It sets the transparency level of a region.
- rt : transparency level between 0 to 63
return value : If 0, it is successful. Else, there is an error.
CAUTION : In TF5000PVR, you cannot set each transparency in the individual region. Only the total transparency can be changed with this function.
Additional Documentation
Contrary to the Topfield documentation, valid values are in the range 0 to 255, with 255 being completely opaque. If you change the transparency level, remember to set the original value back. Next is an example of how to do it:
// Save original transparency level (APP start) int tr_orig = TAP_GetSystemVar( SYSVAR_OsdAlpha );
// Change transparency level … TAP_Osd_SetTransparency( rgn, 150 );
// Return original transparency level (APP exit) TAP_Osd_SetTransparency( rgn, 0xFF - tr_orig );
EMJB: The reference to "TF5000" appears to refer to the TF5000-series, including the TF5800.