API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <aknvolumecontrol.h>
Inherits CAknControl, and MAknNaviDecoratorObserver.
Public Member Functions |
|
IMPORT_C | CAknVolumeControl () |
C++ default constructor. |
|
IMPORT_C | ~CAknVolumeControl () |
Destructor. |
|
IMPORT_C void | SetValue (TInt aValue) |
Sets volume. |
|
IMPORT_C TInt | Value () const |
Gets volume. |
|
IMPORT_C void | SetRange (TInt aMinimumValue, TInt aMaximumValue) |
Sets the range of the volume control. |
|
IMPORT_C void | GetRange (TInt &aMinimumValue, TInt &aMaximumValue) |
Gets the range of the volume control. |
|
TSize | MinimumSize () |
From CCoeControl . |
|
TKeyResponse | OfferKeyEventL (const TKeyEvent &aKeyEvent, TEventCode aType) |
From CCoeControl . |
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
From CCoeControl . |
|
IMPORT_C void | HandleResourceChange (TInt aType) |
From CCoeControl . |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl . |
|
IMPORT_C void | HandleNaviDecoratorEventL (TInt aEventID) |
From MAknNaviDecoratorObserver . |
|
Static Public Member Functions |
|
static IMPORT_C CFbsBitmap * | CreateBitmapL (TInt aValue) |
Creates volume bitmap to "list pane for setting item" (setting option item volume graphic). |
|
static IMPORT_C CGulIcon * | CreateSetStyleListBoxIconL (TInt aValue) |
Creates general volume icon to "list pane for setting item" (setting option item volume graphic). |
|
static IMPORT_C CGulIcon * | CreateSetDynRangeStyleListBoxIconL (TInt aValue, TInt aMinimum, TInt aMaximum) |
Creates Hi-res volume icon to "list pane for setting item" (setting option item volume graphic). |
|
Protected Member Functions |
|
void | SizeChanged () |
From CCoeControl . |
|
void | Draw (const TRect &aRect) const |
From CCoeControl . |
|
C++ default constructor. |
|
Destructor. |
|
From Construct item from given resource.
|
|
Creates volume bitmap to "list pane for setting item" (setting option item volume graphic). Ownership of the returned bitmap is transfered to the caller.
|
|
Creates Hi-res volume icon to "list pane for setting item" (setting option item volume graphic). Ownership of the returned icon is transfered to the caller.
|
|
Creates general volume icon to "list pane for setting item" (setting option item volume graphic). Ownership of the returned icon is transfered to the caller.
|
|
From Draws every visible item into the specified rectangle.
|
|
Gets the range of the volume control.
|
|
From Handles Navidecorator events (Arrow left and arrow right)
Implements MAknNaviDecoratorObserver. |
|
From Handles pointer events.
|
|
From
Handles the change of
|
|
From Gets minimun size of layout rectangle.
|
|
From Handles key events.
|
|
Sets the range of the volume control. Maximum value must be greater than the minimum value, or the method will Panic.
|
|
Sets volume.
|
|
From Handles layout change. |
|
Gets volume.
|