|
1 /* |
|
2 * Copyright (c) 2002 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: This file contains all the resources for the BTUI. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <data_caging_paths_strings.hrh> |
|
20 |
|
21 // RESOURCE IDENTIFIER |
|
22 |
|
23 NAME BTUI // 4 letter ID |
|
24 |
|
25 // INCLUDES |
|
26 #include <eikon.rh> |
|
27 #include "btui.hrh" // Enums for these resources |
|
28 #include <btui.loc> // Localisation file |
|
29 #include <btui.mbg> // Icon indexes created by abld |
|
30 #include "eikon.rsg" |
|
31 #include <avkon.rsg> |
|
32 #include <avkon.rh> |
|
33 #include <appinfo.rh> |
|
34 |
|
35 // MACROS |
|
36 |
|
37 // RESOURCE DEFINITIONS |
|
38 |
|
39 RESOURCE RSS_SIGNATURE { } |
|
40 |
|
41 RESOURCE TBUF { buf="BTUI"; } |
|
42 |
|
43 RESOURCE EIK_APP_INFO |
|
44 { |
|
45 status_pane = r_btui_status_pane; |
|
46 } |
|
47 |
|
48 //---------------------------------------------------- |
|
49 // |
|
50 // Hotkeys for BTUI |
|
51 // |
|
52 //---------------------------------------------------- |
|
53 // |
|
54 RESOURCE HOTKEYS r_btui_hotkeys |
|
55 { |
|
56 control= |
|
57 { |
|
58 HOTKEY { command=EAknCmdExit; key='e'; } |
|
59 }; |
|
60 } |
|
61 |
|
62 //---------------------------------------------------- |
|
63 // |
|
64 // The status pane for BTUI application |
|
65 // |
|
66 //---------------------------------------------------- |
|
67 // |
|
68 RESOURCE STATUS_PANE_APP_MODEL r_btui_status_pane |
|
69 { |
|
70 panes = |
|
71 { |
|
72 SPANE_PANE |
|
73 { |
|
74 id = EEikStatusPaneUidNavi; |
|
75 type = EAknCtNaviPane; |
|
76 resource = r_btui_navi_decorator; |
|
77 } |
|
78 }; |
|
79 } |
|
80 |
|
81 //---------------------------------------------------- |
|
82 // |
|
83 // The navi decorator for BTUI application |
|
84 // Defines application views tabs |
|
85 // |
|
86 //---------------------------------------------------- |
|
87 // |
|
88 RESOURCE NAVI_DECORATOR r_btui_navi_decorator |
|
89 { |
|
90 type = ENaviDecoratorControlTabGroup; |
|
91 control = TAB_GROUP |
|
92 { |
|
93 tab_width = EAknTabWidthWithThreeTabs; |
|
94 active = 0; // Initial tab to be active |
|
95 tabs = |
|
96 { |
|
97 TAB |
|
98 { |
|
99 id = EBTUIMainViewTab; |
|
100 bmpfile = btui_bitmap_file_data_caging; |
|
101 bmpid = EMbmBtuiQgn_prop_bt_set_tab3; |
|
102 bmpmask = EMbmBtuiQgn_prop_bt_set_tab3_mask; |
|
103 }, |
|
104 TAB |
|
105 { |
|
106 id = EBTUIPairedDevicesViewTab; |
|
107 bmpfile = btui_bitmap_file_data_caging; |
|
108 bmpid = EMbmBtuiQgn_prop_bt_devices_tab3; |
|
109 bmpmask = EMbmBtuiQgn_prop_bt_devices_tab3_mask; |
|
110 }, |
|
111 |
|
112 TAB |
|
113 { |
|
114 id = EBTUIBlockedDevicesViewTab; |
|
115 bmpfile = btui_bitmap_file_data_caging; |
|
116 bmpid = EMbmBtuiQgn_prop_bt_blocked_tab3; |
|
117 bmpmask = EMbmBtuiQgn_prop_bt_blocked_tab3_mask; |
|
118 } |
|
119 }; |
|
120 }; |
|
121 } |
|
122 |
|
123 |
|
124 |
|
125 //---------------------------------------------------- |
|
126 // |
|
127 // LOCALISABLE_APP_INFO |
|
128 // |
|
129 //---------------------------------------------------- |
|
130 |
|
131 |
|
132 RESOURCE LOCALISABLE_APP_INFO r_btui_localisable_app_info |
|
133 { |
|
134 short_caption = qtn_apps_bluetooth_grid; |
|
135 caption_and_icon = |
|
136 CAPTION_AND_ICON_INFO |
|
137 { |
|
138 caption = qtn_apps_bluetooth_list; |
|
139 #ifdef __SCALABLE_ICONS |
|
140 number_of_icons = 1; |
|
141 icon_file = APP_BITMAP_DIR"\\Btui_aif.mif"; |
|
142 #else |
|
143 number_of_icons = 2; |
|
144 icon_file = APP_BITMAP_DIR"\\Btui_aif.mbm"; |
|
145 #endif |
|
146 }; |
|
147 } |
|
148 |
|
149 |
|
150 |