equal
deleted
inserted
replaced
|
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 #include <gulfont.h> |
|
19 #include "laftxlbx.h" |
|
20 #include <lafmain.h> |
|
21 #include <uiklaf/private/lafenv.h> |
|
22 |
|
23 // |
|
24 //class LafTextListBox |
|
25 // |
|
26 |
|
27 EXPORT_C const CFont* LafTextListBox::Font(const MLafEnv& aLafEnv) |
|
28 {//static |
|
29 TLogicalFont logicalFont; |
|
30 logicalFont.iFontId=TUid::Uid(KLafUidNormalFontVal); |
|
31 return (aLafEnv.Font(TLogicalFont(logicalFont))); |
|
32 } |
|
33 |
|
34 |
|
35 // |
|
36 // class LafSnakingTextListBox |
|
37 // |
|
38 |
|
39 EXPORT_C const CFont* LafSnakingTextListBox::Font(const MLafEnv& aLafEnv) |
|
40 {//static |
|
41 TLogicalFont logicalFont; |
|
42 logicalFont.iFontId=TUid::Uid(KLafUidNormalFontVal); |
|
43 return (aLafEnv.Font(TLogicalFont(logicalFont))); |
|
44 } |
|
45 |