Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Shadowing

Top-level windows (i.e., those whose parent is a window group) are by default displayed with a shadow to the right and bottom of the window. The offset between the bottom right corner of the window and the bottom right corner of the shadow is equal to the session's shadow vector multiplied by the difference in height of the window casting the shadow and the window the shadow is cast upon. The RWsSession::SetShadowVector() function sets the shadow vector.

You have to specify that you want a window to cast a shadow, and say how high the window is. RWindowBase::SetShadowHeight() sets a window's shadow height. The shadow actually falls on the window(s) behind the one which you specify casts shadows. The RWindowBase::SetShadowDisabled() function can be used to prevent the shadow being displayed.