|
1 /* |
|
2 * Copyright (c) 1997-1999 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #if !defined(__EIKSCBUT_H__) |
|
20 #define __EIKSCBUT_H__ |
|
21 |
|
22 #include <eikbutb.h> |
|
23 #include <lafpublc.h> |
|
24 |
|
25 /** |
|
26 * CEikScrollButton |
|
27 * |
|
28 * @deprecated Do not use |
|
29 */ |
|
30 class CEikScrollButton : public CEikButtonBase |
|
31 { |
|
32 public: |
|
33 /** @deprecated */ |
|
34 enum TType |
|
35 { |
|
36 ENudgeLeft=SLafScrollButton::ENudgeLeft, /** @deprecated */ |
|
37 ENudgeUp=SLafScrollButton::ENudgeUp, /** @deprecated */ |
|
38 ENudgeRight=SLafScrollButton::ENudgeRight, /** @deprecated */ |
|
39 ENudgeDown=SLafScrollButton::ENudgeDown, /** @deprecated */ |
|
40 EPageLeft=SLafScrollButton::EPageLeft, /** @deprecated */ |
|
41 EPageUp=SLafScrollButton::EPageUp, /** @deprecated */ |
|
42 EPageRight=SLafScrollButton::EPageRight, /** @deprecated */ |
|
43 EPageDown=SLafScrollButton::EPageDown, /** @deprecated */ |
|
44 EHome=SLafScrollButton::EHome, /** @deprecated */ |
|
45 ETop=SLafScrollButton::ETop, /** @deprecated */ |
|
46 EEnd=SLafScrollButton::EEnd, /** @deprecated */ |
|
47 EBottom=SLafScrollButton::EBottom /** @deprecated */ |
|
48 }; |
|
49 |
|
50 public: |
|
51 |
|
52 /** @deprecated */ |
|
53 enum TTypeOfScrollBar |
|
54 { |
|
55 ENormal =0x00, /** @deprecated */ |
|
56 EArrowHead =0x01 /** @deprecated */ |
|
57 }; |
|
58 |
|
59 public: // class specific functions |
|
60 |
|
61 /** @deprecated */ |
|
62 IMPORT_C ~CEikScrollButton(); |
|
63 |
|
64 /** @deprecated */ |
|
65 IMPORT_C CEikScrollButton(TType aType); |
|
66 |
|
67 /** @deprecated */ |
|
68 IMPORT_C TType Type() const; |
|
69 |
|
70 public: // From CCoeControl |
|
71 IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent); |
|
72 private: |
|
73 /** |
|
74 * From CAknControl |
|
75 */ |
|
76 IMPORT_C void* ExtensionInterface( TUid aInterface ); |
|
77 private: |
|
78 TInt iSpare; |
|
79 }; |
|
80 |
|
81 |
|
82 /** |
|
83 * CEikArrowHeadScrollButton |
|
84 * |
|
85 * @deprecated Do not use |
|
86 */ |
|
87 |
|
88 class CEikArrowHeadScrollButton : public CEikScrollButton |
|
89 { |
|
90 |
|
91 public: |
|
92 |
|
93 /** @deprecated */ |
|
94 IMPORT_C static CEikArrowHeadScrollButton* NewL(const CCoeControl* aParent, TType aType); |
|
95 private: |
|
96 CEikArrowHeadScrollButton(); |
|
97 }; |
|
98 |
|
99 |
|
100 |
|
101 #endif |