equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2006-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: Resource headers for project FMRadio |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef FMRADIO_RH |
|
20 #define FMRADIO_RH |
|
21 |
|
22 #include <avkon.hrh> |
|
23 |
|
24 // --------------------------------------------------------------------------- |
|
25 // Frequency editor struct |
|
26 // --------------------------------------------------------------------------- |
|
27 // |
|
28 STRUCT FMRADIO_FREQUENCY_EDITOR |
|
29 { |
|
30 BYTE flags = 0; |
|
31 } |
|
32 |
|
33 // --------------------------------------------------------------------------- |
|
34 // Struct for defining a fadable icon |
|
35 // --------------------------------------------------------------------------- |
|
36 // |
|
37 STRUCT FMRADIO_FADABLE_ICON |
|
38 { |
|
39 LTEXT bmpfile; |
|
40 LONG bitmap; |
|
41 LONG mask; |
|
42 WORD fadetime = 1000; // fading time in milliseconds, defaults to one second |
|
43 BYTE invisible_percentage = 0; // Percentage how much the icon is shown when it is faded out |
|
44 } |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // Struct for defining a bitmap animation composed of fadable icons. |
|
48 // --------------------------------------------------------------------------- |
|
49 // |
|
50 STRUCT FMRADIO_BITMAP_ANIMATION |
|
51 { |
|
52 LONG frameInterval; // Interval between frames. |
|
53 STRUCT frames[]; // Bitmap animation frames of type FMRADIO_FADABLE_ICON. |
|
54 } |
|
55 |
|
56 #endif // FMRADIO_RH |