|
1 /* |
|
2 * Copyright (c) 2008 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: derived from eikscrlb.h |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // [ INCLUDE FILES] |
|
20 #include <eikscrlb.h> |
|
21 #include <coecntrl.h> |
|
22 |
|
23 #include "testsdkscrollereikscrlb.h" |
|
24 |
|
25 // ============================ MEMBER FUNCTIONS =============================== |
|
26 |
|
27 // ----------------------------------------------------------------------------- |
|
28 // CEikScrollBarExt::DoComponentControl |
|
29 // ----------------------------------------------------------------------------- |
|
30 // |
|
31 CCoeControl* CEikScrollBarExt::DoComponentControl(TInt aIndex) const |
|
32 { |
|
33 return ComponentControl( aIndex ); |
|
34 } |
|
35 |
|
36 // ----------------------------------------------------------------------------- |
|
37 // CEikScrollBarExt::DoComponentControl |
|
38 // ----------------------------------------------------------------------------- |
|
39 // |
|
40 TInt CEikScrollBarExt::DoCountComponentControls() const |
|
41 { |
|
42 return CountComponentControls(); |
|
43 } |
|
44 |
|
45 // ----------------------------------------------------------------------------- |
|
46 // CEikScrollBarExt::DoSetButtonPositionL |
|
47 // ----------------------------------------------------------------------------- |
|
48 // |
|
49 void CEikScrollBarExt::DoSetButtonPositionL(CAknScrollButton* aButton) |
|
50 { |
|
51 SetButtonPositionL( aButton ); |
|
52 } |
|
53 |
|
54 // ----------------------------------------------------------------------------- |
|
55 // CEikScrollBarExt::SizeChanged |
|
56 // ----------------------------------------------------------------------------- |
|
57 // |
|
58 void CEikScrollBarExt::SizeChanged() |
|
59 { |
|
60 } |
|
61 |
|
62 // ----------------------------------------------------------------------------- |
|
63 // CAknDouSpanScBarExt::CAknDouSpanScBarExt |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 CAknDouSpanScBarExt::CAknDouSpanScBarExt( CCoeControl* aParentWindow ):CAknDoubleSpanScrollBar( aParentWindow ) |
|
67 { |
|
68 } |
|
69 |
|
70 // ----------------------------------------------------------------------------- |
|
71 // CAknDouSpanScBarExt::~CAknDouSpanScBarExt |
|
72 // ----------------------------------------------------------------------------- |
|
73 // |
|
74 CAknDouSpanScBarExt::~CAknDouSpanScBarExt() |
|
75 { |
|
76 } |
|
77 |
|
78 // ----------------------------------------------------------------------------- |
|
79 // CAknDouSpanScBarExt::CreateButtonL |
|
80 // ----------------------------------------------------------------------------- |
|
81 // |
|
82 void CAknDouSpanScBarExt::CreateButtonL( CAknScrollButton*& /*aButton*/, |
|
83 CAknScrollButton::TType /*aType*/ ) |
|
84 { |
|
85 } |
|
86 |
|
87 // ----------------------------------------------------------------------------- |
|
88 // CAknDouSpanScBarExt::SetButtonPositionL |
|
89 // ----------------------------------------------------------------------------- |
|
90 // |
|
91 void CAknDouSpanScBarExt::SetButtonPositionL( CAknScrollButton* /*aButton*/ ) |
|
92 { |
|
93 } |
|
94 |
|
95 // ----------------------------------------------------------------------------- |
|
96 // CAknDouSpanScBarExt::DoComponentControl |
|
97 // ----------------------------------------------------------------------------- |
|
98 // |
|
99 CCoeControl* CAknDouSpanScBarExt::DoComponentControl(TInt aIndex) const |
|
100 { |
|
101 return ComponentControl( aIndex ); |
|
102 } |
|
103 |
|
104 // ----------------------------------------------------------------------------- |
|
105 // CAknDouSpanScBarExt::DoComponentControl |
|
106 // ----------------------------------------------------------------------------- |
|
107 // |
|
108 TInt CAknDouSpanScBarExt::DoCountComponentControls() const |
|
109 { |
|
110 return CountComponentControls(); |
|
111 } |
|
112 |