Logo Search packages:      
Sourcecode: mozilla-traybiff version File versions  Download package

NS_IMETHOD nsIWidget10::UpdateTranslucentWindowAlpha ( const nsRect &  aRect,
PRUint8 *  aAlphas 
) [pure virtual]

Update the alpha channel for some pixels of the top-level window that contains this widget. The window must have been made translucent using SetWindowTranslucency.

aRect the rect to update
aAlphas the alpha values, in w x h array, row-major order, in units of 1/255. nsBlender::GetAlphas is a good way to compute this array.

Generated by  Doxygen 1.6.0   Back to index