|
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 Instant Messanger's |
|
15 * SmileUtility. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #include "IMSmileUtilityNG.hrh" |
|
22 #include "IMSmileUtilityNG.rh" |
|
23 #include <chatNG.mbg> |
|
24 |
|
25 RESOURCE IM_SMILE_ARRAY r_smile_array_resource |
|
26 { |
|
27 smiles = |
|
28 { |
|
29 IM_SMILE |
|
30 { |
|
31 icon_id = EMbmChatngQgn_prop_im_smileys_happy; |
|
32 mask_id = EMbmChatngQgn_prop_im_smileys_happy_mask; |
|
33 strings = { LBUF { txt = ":-)"; }, |
|
34 LBUF { txt = ":)"; } }; |
|
35 }, |
|
36 IM_SMILE |
|
37 { |
|
38 icon_id = EMbmChatngQgn_prop_im_smileys_sad; |
|
39 mask_id = EMbmChatngQgn_prop_im_smileys_sad_mask; |
|
40 strings = { LBUF { txt = ":-("; }, |
|
41 LBUF { txt = ":("; } }; |
|
42 }, |
|
43 IM_SMILE |
|
44 { |
|
45 icon_id = EMbmChatngQgn_prop_im_smileys_laugh; |
|
46 mask_id = EMbmChatngQgn_prop_im_smileys_laugh_mask; |
|
47 strings = { LBUF { txt = ":-D"; } }; |
|
48 }, |
|
49 IM_SMILE |
|
50 { |
|
51 icon_id = EMbmChatngQgn_prop_im_smileys_wink; |
|
52 mask_id = EMbmChatngQgn_prop_im_smileys_wink_mask; |
|
53 strings = { LBUF { txt = ";-)"; } }; |
|
54 }, |
|
55 IM_SMILE |
|
56 { |
|
57 icon_id = EMbmChatngQgn_prop_im_smileys_kiss; |
|
58 mask_id = EMbmChatngQgn_prop_im_smileys_kiss_mask; |
|
59 strings = { LBUF { txt = ":-x"; } }; |
|
60 }, |
|
61 IM_SMILE |
|
62 { |
|
63 icon_id = EMbmChatngQgn_prop_im_smileys_angry; |
|
64 mask_id = EMbmChatngQgn_prop_im_smileys_angry_mask; |
|
65 strings = { LBUF { txt = "X-("; } }; |
|
66 }, |
|
67 IM_SMILE |
|
68 { |
|
69 icon_id = EMbmChatngQgn_prop_im_smileys_bored; |
|
70 mask_id = EMbmChatngQgn_prop_im_smileys_bored_mask; |
|
71 strings = { LBUF { txt = ":oI"; } }; |
|
72 }, |
|
73 IM_SMILE |
|
74 { |
|
75 icon_id = EMbmChatngQgn_prop_im_smileys_crying; |
|
76 mask_id = EMbmChatngQgn_prop_im_smileys_crying_mask; |
|
77 strings = { LBUF { txt = ":'("; } }; |
|
78 }, |
|
79 IM_SMILE |
|
80 { |
|
81 icon_id = EMbmChatngQgn_prop_im_smileys_glasses; |
|
82 mask_id = EMbmChatngQgn_prop_im_smileys_glasses_mask; |
|
83 strings = { LBUF { txt = "8-]"; } }; |
|
84 }, |
|
85 IM_SMILE |
|
86 { |
|
87 icon_id = EMbmChatngQgn_prop_im_smileys_indif; |
|
88 mask_id = EMbmChatngQgn_prop_im_smileys_indif_mask; |
|
89 strings = { LBUF { txt = ":-I"; } }; |
|
90 }, |
|
91 IM_SMILE |
|
92 { |
|
93 icon_id = EMbmChatngQgn_prop_im_smileys_robot; |
|
94 mask_id = EMbmChatngQgn_prop_im_smileys_robot_mask; |
|
95 strings = { LBUF { txt = "[:]"; } }; |
|
96 }, |
|
97 IM_SMILE |
|
98 { |
|
99 icon_id = EMbmChatngQgn_prop_im_smileys_shock; |
|
100 mask_id = EMbmChatngQgn_prop_im_smileys_shock_mask; |
|
101 strings = { LBUF { txt = "8-)"; } }; |
|
102 }, |
|
103 IM_SMILE |
|
104 { |
|
105 icon_id = EMbmChatngQgn_prop_im_smileys_skeptical; |
|
106 mask_id = EMbmChatngQgn_prop_im_smileys_skeptical_mask; |
|
107 strings = { LBUF { txt = ":-/"; } }; |
|
108 }, |
|
109 IM_SMILE |
|
110 { |
|
111 icon_id = EMbmChatngQgn_prop_im_smileys_sleepy; |
|
112 mask_id = EMbmChatngQgn_prop_im_smileys_sleepy_mask; |
|
113 strings = { LBUF { txt = "|-I"; } }; |
|
114 }, |
|
115 IM_SMILE |
|
116 { |
|
117 icon_id = EMbmChatngQgn_prop_im_smileys_sunglasses; |
|
118 mask_id = EMbmChatngQgn_prop_im_smileys_sunglasses_mask; |
|
119 strings = { LBUF { txt = "B-)"; } }; |
|
120 }, |
|
121 IM_SMILE |
|
122 { |
|
123 icon_id = EMbmChatngQgn_prop_im_smileys_surprise; |
|
124 mask_id = EMbmChatngQgn_prop_im_smileys_surprise_mask; |
|
125 strings = { LBUF { txt = "8-O"; } }; |
|
126 }, |
|
127 IM_SMILE |
|
128 { |
|
129 icon_id = EMbmChatngQgn_prop_im_smileys_tired; |
|
130 mask_id = EMbmChatngQgn_prop_im_smileys_tired_mask; |
|
131 strings = { LBUF { txt = "I-)"; } }; |
|
132 }, |
|
133 IM_SMILE |
|
134 { |
|
135 icon_id = EMbmChatngQgn_prop_im_smileys_veryhappy; |
|
136 mask_id = EMbmChatngQgn_prop_im_smileys_veryhappy_mask; |
|
137 strings = { LBUF { txt = ":-]"; } }; |
|
138 }, |
|
139 IM_SMILE |
|
140 { |
|
141 icon_id = EMbmChatngQgn_prop_im_smileys_verysad; |
|
142 mask_id = EMbmChatngQgn_prop_im_smileys_verysad_mask; |
|
143 strings = { LBUF { txt = ":-["; } }; |
|
144 }, |
|
145 IM_SMILE |
|
146 { |
|
147 icon_id = EMbmChatngQgn_prop_im_smileys_wickedsmile; |
|
148 mask_id = EMbmChatngQgn_prop_im_smileys_wickedsmile_mask; |
|
149 strings = { LBUF { txt = ":->"; } }; |
|
150 } |
|
151 }; |
|
152 } |
|
153 |
|
154 // RESOURCE DEFINITIONS |
|
155 |
|
156 RESOURCE DIALOG r_select_smile_dialog |
|
157 { |
|
158 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
159 buttons = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT; |
|
160 items= |
|
161 { |
|
162 DLG_LINE |
|
163 { |
|
164 type = EAknCtPopupHeadingPane; |
|
165 id = EIMIdSelectSmileLabel; |
|
166 control = AVKON_HEADING |
|
167 { |
|
168 label = qtn_chat_conv_smiley; |
|
169 headinglayout = R_AVKON_SCT_LIST_HEADING_PANE; |
|
170 }; |
|
171 }, |
|
172 DLG_LINE |
|
173 { |
|
174 type = EIMCtrlSelectSmileGrid; |
|
175 id = EIMIdSelectSmileGrid; |
|
176 } |
|
177 }; |
|
178 } |
|
179 |
|
180 // End of File |