|
1 /* |
|
2 * Copyright (c) 2002-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 definitions for project EIKON Server UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 NAME ESRV |
|
19 |
|
20 #include <fontids.hrh> |
|
21 #include <eikon.rh> |
|
22 #include "EIKSRV.HRH" |
|
23 #include <avkon.hrh> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.loc> |
|
27 #include <avkon.mbg> |
|
28 |
|
29 #define help_database_path "z:\\resource\\help" |
|
30 |
|
31 RESOURCE RSS_SIGNATURE { } |
|
32 |
|
33 // OOM messages may be displayed in HandleOomEvent in eiksrvui.cpp |
|
34 RESOURCE TBUF r_eiksrv_oom_event_top { buf = qtn_err_eikon_mem; } |
|
35 RESOURCE TBUF r_eiksrv_oom_event_bot { buf = ""; } |
|
36 |
|
37 // |
|
38 // Notifier resources |
|
39 // |
|
40 |
|
41 RESOURCE DIALOG r_eikserv_notifier_dialog |
|
42 { |
|
43 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
44 EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow | |
|
45 EEikDialogFlagNotifyEsc | EEikDialogFlagNoBackup; |
|
46 title = ""; |
|
47 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
48 items = |
|
49 { |
|
50 DLG_LINE |
|
51 { |
|
52 type = EAknCtNote; |
|
53 id = EESrvNotifyAlertLabel; |
|
54 control = AVKON_NOTE |
|
55 { |
|
56 layout = ETextualNotificationLayout; |
|
57 singular_label = ""; |
|
58 plural_label = ""; |
|
59 }; |
|
60 } |
|
61 }; |
|
62 } |
|
63 |
|
64 // Window server logging errors. |
|
65 // For developers eyes only, users will never see it :^) |
|
66 |
|
67 RESOURCE TBUF80 r_eiksrv_wserv_logging_error { buf = "WSERV logging error number. %d"; } |
|
68 |
|
69 // Help database path. |
|
70 RESOURCE TBUF256 r_eiksrv_help_database_path { buf = help_database_path; } |
|
71 |
|
72 RESOURCE TBUF r_confirm_close_app_message { buf = qtn_memlo_confirm_close; } |
|
73 |
|
74 RESOURCE DIALOG r_confirm_close_app_query |
|
75 { |
|
76 flags = EGeneralQueryFlags; |
|
77 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
78 items = |
|
79 { |
|
80 DLG_LINE |
|
81 { |
|
82 type = EAknCtQuery; |
|
83 id = EGeneralQuery; |
|
84 control = AVKON_CONFIRMATION_QUERY |
|
85 { |
|
86 layout = EConfirmationQueryLayout; |
|
87 }; |
|
88 } |
|
89 }; |
|
90 } |
|
91 |
|
92 // For panic note. |
|
93 RESOURCE TBUF r_program_closed { buf = qtn_err_program_closed; } |
|
94 |
|
95 // For bitmap cursors. |
|
96 // These resource types are read by CEikServAppUi::LoadBitmapCursorsL(). |
|
97 STRUCT AVKON_CUSTOM_TEXT_CURSOR |
|
98 { |
|
99 LONG cursorId; |
|
100 LONG bmpId; |
|
101 LONG maskId = -1; |
|
102 |
|
103 // See eiksrv.hrh, EAknCustomTextCursorFlagInvertMask, etc. |
|
104 WORD flags = 0; |
|
105 |
|
106 // See eiksrv.hrh, TAknCustomTextCursorDrawMode, etc. Only has effect if no mask bitmap is set. |
|
107 WORD drawMode = EAknCustomTextCursorDrawModePEN; |
|
108 |
|
109 WORD offsetX = 0; |
|
110 WORD offsetY = 0; |
|
111 WORD align = EAknCustomTextCursorAlignTop; |
|
112 } |
|
113 |
|
114 STRUCT AVKON_CUSTOM_TEXT_CURSORS |
|
115 { |
|
116 LTEXT bmpFile = ""; |
|
117 STRUCT cursors[]; // AVKON_CUSTOM_TEXT_CURSOR |
|
118 } |
|
119 |
|
120 // Same icons are used in the two pairs of cursors if the icon is supplied as SVG. |
|
121 RESOURCE AVKON_CUSTOM_TEXT_CURSORS r_akn_custom_text_cursors |
|
122 { |
|
123 bmpFile = AVKON_BITMAP_FILE; |
|
124 cursors = |
|
125 { |
|
126 AVKON_CUSTOM_TEXT_CURSOR |
|
127 { |
|
128 cursorId = KAknCustomTextCursorIdLeftToRight; |
|
129 bmpId = EMbmAvkonQgn_indi_cursor_lr; |
|
130 // Mask is not defined as XOR mode drawing is desired. |
|
131 drawMode = EAknCustomTextCursorDrawModeXOR; |
|
132 offsetX = -2; |
|
133 }, |
|
134 AVKON_CUSTOM_TEXT_CURSOR |
|
135 { |
|
136 cursorId = KAknCustomTextCursorIdRightToLeft; |
|
137 bmpId = EMbmAvkonQgn_indi_cursor_rl; |
|
138 // Mask is not defined as XOR mode drawing is desired. |
|
139 drawMode = EAknCustomTextCursorDrawModeXOR; |
|
140 offsetX = -5; |
|
141 }, |
|
142 AVKON_CUSTOM_TEXT_CURSOR |
|
143 { |
|
144 cursorId = KAknCustomTextCursorIdLeftToRightThin; |
|
145 bmpId = EMbmAvkonQgn_indi_cursor_lr; |
|
146 // Mask is not defined as XOR mode drawing is desired. |
|
147 drawMode = EAknCustomTextCursorDrawModeXOR; |
|
148 offsetX = -1; |
|
149 }, |
|
150 AVKON_CUSTOM_TEXT_CURSOR |
|
151 { |
|
152 cursorId = KAknCustomTextCursorIdRightToLeftThin; |
|
153 bmpId = EMbmAvkonQgn_indi_cursor_rl; |
|
154 // Mask is not defined as XOR mode drawing is desired. |
|
155 drawMode = EAknCustomTextCursorDrawModeXOR; |
|
156 offsetX = -3; |
|
157 } |
|
158 }; |
|
159 } |
|
160 |
|
161 RESOURCE CBA r_akn_notifyui_buttons |
|
162 { |
|
163 buttons = |
|
164 { |
|
165 CBA_BUTTON {id = EAknAlertWinButton1; txt = text_softkey_empty;}, |
|
166 CBA_BUTTON {id = EAknAlertWinButton2; txt = text_softkey_empty;} |
|
167 }; |
|
168 } |
|
169 |
|
170 |
|
171 RESOURCE DIALOG r_eikserv_notifier_dialog2 |
|
172 { |
|
173 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
174 EEikDialogFlagCbaButtons | EEikDialogFlagNoShadow | |
|
175 EEikDialogFlagNotifyEsc | EEikDialogFlagNoBackup | |
|
176 EEikDialogFlagAllKeysToButtons; |
|
177 title = ""; |
|
178 buttons = r_akn_notifyui_buttons; |
|
179 items = |
|
180 { |
|
181 DLG_LINE |
|
182 { |
|
183 type = EAknCtPopupHeadingPane; |
|
184 id = EAknMessageQueryHeaderId; |
|
185 control = AVKON_HEADING |
|
186 { |
|
187 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
188 }; |
|
189 }, |
|
190 DLG_LINE |
|
191 { |
|
192 type = EAknCtMessageQuery; |
|
193 id = EAknMessageQueryContentId; |
|
194 control = AVKON_MESSAGE_QUERY |
|
195 { |
|
196 }; |
|
197 } |
|
198 }; |
|
199 } |
|
200 |
|
201 // End of file |