|
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 |
|
20 #ifndef __LAFSCBUT_H__ |
|
21 #define __LAFSCBUT_H__ |
|
22 |
|
23 #include <e32std.h> |
|
24 #include <gulbordr.h> |
|
25 #include <coecntrl.h> |
|
26 #include <lafpublc.h> |
|
27 |
|
28 class MLafEnv; |
|
29 |
|
30 /** |
|
31 * @internal |
|
32 * Do not use |
|
33 */ |
|
34 class LafScrollButton |
|
35 { |
|
36 public: |
|
37 IMPORT_C static void GetBorder(TGulBorder& aBorder, TBool aIsPressed); |
|
38 IMPORT_C static void GetBorderColors(TGulBorder::TColors& aBorderColors,const MLafEnv& aEnv,const CCoeControl& aMatchedControl); |
|
39 IMPORT_C static void DrawButton(const MLafEnv& aLafEnv,CWindowGc& aGc,const CCoeControl& aScrollButton,const TRect& aRect,TInt aButtonType,TBool aPressed); |
|
40 IMPORT_C static TInt ButtonBreadth(); |
|
41 IMPORT_C static void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList); |
|
42 }; |
|
43 |
|
44 /** |
|
45 * @internal |
|
46 * Do not use |
|
47 */ |
|
48 class LafArrowHeadScrollButton |
|
49 { |
|
50 public: |
|
51 IMPORT_C static void GetBorder(TGulBorder& aBorder, TBool aIsPressed); |
|
52 IMPORT_C static void GetBorderColors(TGulBorder::TColors& aBorderColors,const MLafEnv& aEnv,const CCoeControl& aMatchedControl); |
|
53 IMPORT_C static void DrawButton(const MLafEnv& aLafEnv,CWindowGc& aGc,const CCoeControl& aScrollButton,const TRect& aRect,TInt aButtonType,TBool aPressed); |
|
54 IMPORT_C static TInt ButtonBreadth(); |
|
55 }; |
|
56 |
|
57 #endif |