Public Member Functions | |
CTransparentUtil () | |
~CTransparentUtil () | |
void | ConstructL () |
void | ClearWindow (RWsSession &aSession, RWindow &aWindow, CWindowGc *aGc, TRgb aColor) |
void | DrawWindow (RWindow &aWindow, TRgb aColor1, TRgb aColor2, TRect aRect, const TDesC &aText) |
void | DrawWindowRegion (RWindow &aWindow, TRgb aColor1, TRgb aColor2, TRect aChopRect, TRect aRect, const TDesC &aText, const TPoint &aPoint) |
void | TransparencyVarianceL () |
void | TransparentRegionL () |
TBool | DoChangeTransparencyL () |
TBool | DoSetTransparentRegion () |
Static Public Member Functions | |
static CTransparentUtil * | NewL () |
static TBool | Flag () |
Public Attributes | |
TRegionFix< 2 > | iRegion |
View class
Definition at line 64 of file transparent.h.
CTransparentUtil::CTransparentUtil | ( | ) |
Constructor
Definition at line 45 of file transparent_util.cpp.
CTransparentUtil::~CTransparentUtil | ( | ) |
Destructor
Definition at line 65 of file transparent_util.cpp.
CTransparentUtil * CTransparentUtil::NewL | ( | ) | [static] |
Creates an object of type CTransparentUtil
Definition at line 53 of file transparent_util.cpp.
void CTransparentUtil::ConstructL | ( | ) |
Initializations for window server session, screen device, graphics context window group, background window, foreground window, event handler, blank window and active object for delay. KErrNoMemory System-wide error codes.
Definition at line 93 of file transparent_util.cpp.
void CTransparentUtil::ClearWindow | ( | RWsSession & | aSession, | |
RWindow & | aWindow, | |||
CWindowGc * | aGc, | |||
TRgb | aColor | |||
) |
Clears the window to the selected colour
aSession | The window server session | |
aWindow | The handle to the window | |
aGc | Graphics context of the window | |
aColor | Colour to be used when the window is cleared |
Definition at line 217 of file transparent_util.cpp.
void CTransparentUtil::DrawWindow | ( | RWindow & | aWindow, | |
TRgb | aColor1, | |||
TRgb | aColor2, | |||
TRect | aRect, | |||
const TDesC & | aText | |||
) |
Clears the window to the selected colour and redraws the background window
aWindow | The handle to the window | |
aColor1 | Colour to be used when the window is cleared | |
aColor2 | Colour in which the window must be drawn | |
aRect | Area to be drawn |
Definition at line 171 of file transparent_util.cpp.
void CTransparentUtil::DrawWindowRegion | ( | RWindow & | aWindow, | |
TRgb | aColor1, | |||
TRgb | aColor2, | |||
TRect | aChopRect, | |||
TRect | aRect, | |||
const TDesC & | aText, | |||
const TPoint & | aPoint | |||
) |
Clears the window to the selected colour and redraws the region of the foreground window
aWindow | The handle to the window | |
aColor1 | Colour to be used when the window is cleared | |
aColor2 | Colour in which the window must be drawn | |
aChopRect | Region of the foreground window to be drawn. | |
aRect | Area to be drawn | |
aText | Text to be drawn. | |
aPoint | Point at which text should be drawn. |
Definition at line 314 of file transparent_util.cpp.
void CTransparentUtil::TransparencyVarianceL | ( | ) |
Creates an opaque background window and draws a circle onto it. Creates a transparent foreground window and draws an ellipse onto it. Waits for button press events and starts the active scheduler upon the corresponding button being pressed. System-wide error codes.
Definition at line 197 of file transparent_util.cpp.
void CTransparentUtil::TransparentRegionL | ( | ) |
Creates an transparent foreground window with some region of it made opaque. Waits for button press events and starts the active scheduler upon the corresponding button being pressed. System-wide error codes.
Definition at line 263 of file transparent_util.cpp.
TBool CTransparentUtil::DoChangeTransparencyL | ( | ) |
Varies the alpha value of the window up to 255 i.e. until the window turns opaque
Definition at line 234 of file transparent_util.cpp.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.