diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_transparent_util.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_transparent_util.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_transparent_util.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,143 +1,130 @@ - - -TB10.1 Example Applications: CTransparentUtil Class Reference - - - - + + + + +TB9.2 Example Applications: CTransparentUtil Class Reference + + + + + +

CTransparentUtil Class Reference

-

-List of all members. - - - - - - - - - - - - - +

List of all members.

+

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)
+ + + + + + + + + + + + + + + + +

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 CTransparentUtilNewL ()
+static TBool Flag ()

Public Attributes

+TRegionFix< 2 > iRegion
+


Detailed Description

+

View class

-void TransparencyVarianceL () - -void TransparentRegionL () - -TBool DoChangeTransparencyL () - - -TBool DoSetTransparentRegion () - -

Static Public Member Functions

-static CTransparentUtilNewL () - - -static TBool Flag () - -

Public Attributes

- -TRegionFix< 2 > iRegion - - -

Detailed Description

-View class -

Definition at line 64 of file transparent.h.

-

Constructor & Destructor Documentation

- +

Definition at line 64 of file transparent.h.

+

Constructor & Destructor Documentation

+
- + - + - +
CTransparentUtil::CTransparentUtil CTransparentUtil::CTransparentUtil (  ) 
+

Constructor

-

-Constructor -

Definition at line 45 of file transparent_util.cpp.

+

Definition at line 45 of file transparent_util.cpp.

-

- +

+
- + - + - +
CTransparentUtil::~CTransparentUtil CTransparentUtil::~CTransparentUtil (  ) 
+

Destructor

-

-Destructor -

Definition at line 65 of file transparent_util.cpp.

+

Definition at line 65 of file transparent_util.cpp.

-

-


Member Function Documentation

- + +

Member Function Documentation

+
- + - + - +
CTransparentUtil * CTransparentUtil::NewL CTransparentUtil * CTransparentUtil::NewL (  )  [static] [static]
+

Creates an object of type CTransparentUtil

+
Returns:
New CTransparentUtil object
-

-Creates an object of type CTransparentUtil

Returns:
New CTransparentUtil object
- -

Definition at line 53 of file transparent_util.cpp.

+

Definition at line 53 of file transparent_util.cpp.

-

- + +

- + - + - +
void CTransparentUtil::ConstructL 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.

-

-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.

+

Definition at line 93 of file transparent_util.cpp.

-

- + +

- + @@ -163,32 +150,32 @@ - +
void CTransparentUtil::ClearWindow void CTransparentUtil::ClearWindow ( RWsSession &  aSession,
)
- -

-Clears the window to the selected colour

Parameters:
+

Clears the window to the selected colour

+
Parameters:
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.

+

Definition at line 217 of file transparent_util.cpp.

-

- + +

- + @@ -220,32 +207,32 @@ - +
void CTransparentUtil::DrawWindow void CTransparentUtil::DrawWindow ( RWindow &  aWindow,
)
- -

-Clears the window to the selected colour and redraws the background window

Parameters:
+

Clears the window to the selected colour and redraws the background window

+
Parameters:
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.

+

Definition at line 171 of file transparent_util.cpp.

-

- + +

- + @@ -289,14 +276,13 @@ - +
void CTransparentUtil::DrawWindowRegion void CTransparentUtil::DrawWindowRegion ( RWindow &  aWindow,
)
- -

-Clears the window to the selected colour and redraws the region of the foreground window

Parameters:
+

Clears the window to the selected colour and redraws the region of the foreground window

+
Parameters:
@@ -306,78 +292,77 @@
aWindow The handle to the window
aColor1 Colour to be used when the window is cleared
aText Text to be drawn.
aPoint Point at which text should be drawn.
+
-

Definition at line 314 of file transparent_util.cpp.

+

Definition at line 314 of file transparent_util.cpp.

-

- + +

- + - + - +
void CTransparentUtil::TransparencyVarianceL 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.

-

-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.

+

Definition at line 197 of file transparent_util.cpp.

-

- + +

- + - + - +
void CTransparentUtil::TransparentRegionL 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.

-

-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.

+

Definition at line 263 of file transparent_util.cpp.

-

- + +

- + - + - +
TBool CTransparentUtil::DoChangeTransparencyL TBool CTransparentUtil::DoChangeTransparencyL (  ) 
+

Varies the alpha value of the window up to 255 i.e. until the window turns opaque

+
Returns:
ETrue if the alpha value is less than its maximum limit otherwise return EFalse.
-

-Varies the alpha value of the window up to 255 i.e. until the window turns opaque

Returns:
ETrue if the alpha value is less than its maximum limit otherwise return EFalse.
- -

Definition at line 234 of file transparent_util.cpp.

+

Definition at line 234 of file transparent_util.cpp.

-

-


Generated on Thu Jan 21 10:33:07 2010 for TB10.1 Example Applications by  + + +
Generated by  -doxygen 1.5.3
+doxygen 1.6.2