45
|
1 |
/*
|
|
2 |
* Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: slider_api
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
// INCLUDES
|
|
20 |
#include <aknslider.h>
|
|
21 |
#include <aknutils.h>
|
|
22 |
#include <aknsutils.h>
|
|
23 |
|
|
24 |
#include "testsdksliderprotectedclass.h"
|
|
25 |
|
|
26 |
// -----------------------------------------------------------------------------
|
|
27 |
// CTestAknSlider::CTestAknSlider
|
|
28 |
// -----------------------------------------------------------------------------
|
|
29 |
//
|
|
30 |
CTestAknSlider::CTestAknSlider()
|
|
31 |
{
|
|
32 |
|
|
33 |
}
|
|
34 |
// -----------------------------------------------------------------------------
|
|
35 |
// CTestAknSlider::MinimumSize
|
|
36 |
// -----------------------------------------------------------------------------
|
|
37 |
//
|
|
38 |
TSize CTestAknSlider::MinimumSize()
|
|
39 |
{
|
|
40 |
TSize size;
|
|
41 |
return size;
|
|
42 |
}
|
|
43 |
// -----------------------------------------------------------------------------
|
|
44 |
// CTestAknSlider::OfferKeyEventL
|
|
45 |
// -----------------------------------------------------------------------------
|
|
46 |
//
|
|
47 |
TKeyResponse CTestAknSlider::OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,
|
|
48 |
TEventCode /*aType*/)
|
|
49 |
{
|
|
50 |
TKeyResponse key = EKeyWasNotConsumed;
|
|
51 |
return key;
|
|
52 |
}
|
|
53 |
// -----------------------------------------------------------------------------
|
|
54 |
// CTestAknSlider::Draw
|
|
55 |
// -----------------------------------------------------------------------------
|
|
56 |
//
|
|
57 |
void CTestAknSlider::Draw(const TRect& /*aRect*/) const
|
|
58 |
{
|
|
59 |
|
|
60 |
}
|
|
61 |
// -----------------------------------------------------------------------------
|
|
62 |
// CTestAknSlider::SizeChanged
|
|
63 |
// -----------------------------------------------------------------------------
|
|
64 |
//
|
|
65 |
void CTestAknSlider::SizeChanged()
|
|
66 |
{
|
|
67 |
|
|
68 |
}
|
|
69 |
|