45
|
1 |
/*
|
|
2 |
* Copyright (c) 2008 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 testsdkbuttons
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
NAME EBUT//eik button
|
|
20 |
|
|
21 |
#include <avkon.rsg>
|
|
22 |
#include <avkon.rh>
|
|
23 |
#include <avkon.hrh>
|
|
24 |
#include <eikon.rh>
|
|
25 |
#include <eikon.hrh>
|
|
26 |
#include <avkon.mbg>
|
|
27 |
|
|
28 |
#include "testsdkbuttons.hrh"
|
|
29 |
|
|
30 |
// RESOURCE DEFINITIONS
|
|
31 |
|
|
32 |
RESOURCE RSS_SIGNATURE
|
|
33 |
{
|
|
34 |
}
|
|
35 |
RESOURCE TBUF
|
|
36 |
{
|
|
37 |
buf = "";
|
|
38 |
}
|
|
39 |
// ---------------------------------------------------------------------------
|
|
40 |
// r_test_menu
|
|
41 |
// ---------------------------------------------------------------------------
|
|
42 |
//
|
|
43 |
RESOURCE MENU_PANE r_test_menu
|
|
44 |
{
|
|
45 |
items =
|
|
46 |
{
|
|
47 |
MENU_ITEM { command = ETestFirst; txt = "testone"; },
|
|
48 |
MENU_ITEM { command = ETestSecond; txt = "testtwo"; }
|
|
49 |
};
|
|
50 |
}
|
|
51 |
|
|
52 |
// ---------------------------------------------------------------------------
|
|
53 |
// r_test_menu_button
|
|
54 |
// ---------------------------------------------------------------------------
|
|
55 |
//
|
|
56 |
RESOURCE MNBUT r_test_menu_button
|
|
57 |
{
|
|
58 |
popout = r_test_menu;
|
|
59 |
}
|
|
60 |
|
|
61 |
// ---------------------------------------------------------------------------
|
|
62 |
// r_labelbutton
|
|
63 |
// ---------------------------------------------------------------------------
|
|
64 |
//
|
|
65 |
RESOURCE LBBUT r_labelbutton
|
|
66 |
{
|
|
67 |
buttontype=0; // EEikCtCommandButton
|
|
68 |
button = CMBUT
|
|
69 |
{
|
|
70 |
version=0;
|
|
71 |
behavior=0;
|
|
72 |
layout=0; // ETextRightPictureLeft|EEikCmdButShareExcess
|
|
73 |
helptxt="";
|
|
74 |
extension=0;
|
|
75 |
txt="";
|
|
76 |
};
|
|
77 |
hotkey = 0;
|
|
78 |
flags=1; // EEikLabeledButtonShowHotKey
|
|
79 |
}
|
|
80 |
|
|
81 |
// ---------------------------------------------------------------------------
|
|
82 |
// r_cmdbutton
|
|
83 |
// ---------------------------------------------------------------------------
|
|
84 |
//
|
|
85 |
RESOURCE CMBUT r_cmdbutton
|
|
86 |
{
|
|
87 |
version = 0;
|
|
88 |
behavior = 0;
|
|
89 |
layout = EEikCmdButTextRightPictureLeft;
|
|
90 |
helptxt="help";
|
|
91 |
txt="cmdbt";
|
|
92 |
bmpfile = "z:\\resource\\apps\\avkon2.mbm";
|
|
93 |
bmpid = EMbmAvkonQgn_indi_checkbox_on;
|
|
94 |
bmpmask = EMbmAvkonQgn_indi_checkbox_on_mask;
|
|
95 |
}
|
|
96 |
|
|
97 |
// ---------------------------------------------------------------------------
|
|
98 |
// r_gps_cbabutton
|
|
99 |
// ---------------------------------------------------------------------------
|
|
100 |
//
|
|
101 |
RESOURCE CBA r_gps_cbabutton
|
|
102 |
{
|
|
103 |
flags = 0;
|
|
104 |
buttons =
|
|
105 |
{
|
|
106 |
CBA_BUTTON {id = ELeftBt; txt = "left";},
|
|
107 |
CBA_BUTTON {id = ERightBt; txt = "right";}
|
|
108 |
};
|
|
109 |
}
|
|
110 |
|
|
111 |
// ---------------------------------------------------------------------------
|
|
112 |
// r_gps_cbabutton_forset
|
|
113 |
// ---------------------------------------------------------------------------
|
|
114 |
//
|
|
115 |
RESOURCE CBA r_gps_cbabutton_forset
|
|
116 |
{
|
|
117 |
flags = 0;
|
|
118 |
buttons =
|
|
119 |
{
|
|
120 |
CBA_BUTTON {id = ELeftBt; txt = "leftforset";},
|
|
121 |
CBA_BUTTON {id = ERightBt; txt = "rightforset";}
|
|
122 |
};
|
|
123 |
}
|
|
124 |
|
|
125 |
// ---------------------------------------------------------------------------
|
|
126 |
// r_gps_button
|
|
127 |
// ---------------------------------------------------------------------------
|
|
128 |
//
|
|
129 |
RESOURCE CBA_BUTTON r_gps_button
|
|
130 |
{
|
|
131 |
version = 0;
|
|
132 |
id = ESingle;
|
|
133 |
txt = "isbutton";
|
|
134 |
}
|
|
135 |
|
|
136 |
// ---------------------------------------------------------------------------
|
|
137 |
// r_enhanced_button
|
|
138 |
// ---------------------------------------------------------------------------
|
|
139 |
//
|
|
140 |
RESOURCE ENHANCED_CBA_BUTTON r_enhanced_button
|
|
141 |
{
|
|
142 |
version = EEikEnhancedCbaButton;
|
|
143 |
operationType = EEikCommandTypeAnyCommand;
|
|
144 |
id = EEnhance;
|
|
145 |
txt = "enhancedbt";
|
|
146 |
}
|
|
147 |
|
|
148 |
// ---------------------------------------------------------------------------
|
|
149 |
// r_cmbut_button
|
|
150 |
// ---------------------------------------------------------------------------
|
|
151 |
//
|
|
152 |
RESOURCE CMBUT r_cmbut_button
|
|
153 |
{
|
|
154 |
version = 0;
|
|
155 |
behavior = 0;
|
|
156 |
layout = 0;
|
|
157 |
helptxt = "help";
|
|
158 |
txt = "cmbt";
|
|
159 |
}
|
|
160 |
|
|
161 |
// ---------------------------------------------------------------------------
|
|
162 |
// r_twopicbt_button
|
|
163 |
// ---------------------------------------------------------------------------
|
|
164 |
//
|
|
165 |
RESOURCE PICMBUT r_twopicbt_button
|
|
166 |
{
|
|
167 |
version = 0;
|
|
168 |
behavior = 0;
|
|
169 |
layout = 0;
|
|
170 |
helptxt = "help";
|
|
171 |
txt = "twopic";
|
|
172 |
}
|
|
173 |
// ---------------------------------------------------------------------------
|
|
174 |
// r_twopicbt_buttonttwo
|
|
175 |
// ---------------------------------------------------------------------------
|
|
176 |
//
|
|
177 |
RESOURCE PICMBUT r_twopicbt_buttonttwo
|
|
178 |
{
|
|
179 |
version=0;
|
|
180 |
behavior=0;
|
|
181 |
layout=0;
|
|
182 |
helptxt="test";
|
|
183 |
extension=0;
|
|
184 |
txt="txt";
|
|
185 |
bmpfile="Z:\\resource\\apps\\avkon2.mbm";
|
|
186 |
bmpid=EMbmAvkonQgn_graf_tab_21;
|
|
187 |
bmpmask=EMbmAvkonQgn_graf_tab_21_mask;
|
|
188 |
bmpsecondid=EMbmAvkonQgn_graf_tab_22;
|
|
189 |
bmpsecondmask=EMbmAvkonQgn_graf_tab_22_mask;
|
|
190 |
}
|
|
191 |
// ---------------------------------------------------------------------------
|
|
192 |
// r_image
|
|
193 |
// ---------------------------------------------------------------------------
|
|
194 |
//
|
|
195 |
RESOURCE IMAGE r_image
|
|
196 |
{
|
|
197 |
horiz_align = EEikLabelAlignHCenter;
|
|
198 |
vert_align = EEikLabelAlignVTop;
|
|
199 |
bmpfile = "z:\\resource\\apps\\avkon2.mbm";
|
|
200 |
bmpid = EMbmAvkonQgn_indi_mic;
|
|
201 |
bmpmask = EMbmAvkonQgn_indi_mic_mask;
|
|
202 |
}
|
|
203 |
|
|
204 |
// ---------------------------------------------------------------------------
|
|
205 |
// r_txtbt_button
|
|
206 |
// ---------------------------------------------------------------------------
|
|
207 |
//
|
|
208 |
RESOURCE TXTBUT r_txtbt_button
|
|
209 |
{
|
|
210 |
layout = 0;
|
|
211 |
helptxt = "help";
|
|
212 |
txt1 = "txt1";
|
|
213 |
txt2 = "txt2";
|
|
214 |
}
|
|
215 |
|
|
216 |
// ---------------------------------------------------------------------------
|
|
217 |
// r_bitmapbt_button
|
|
218 |
// ---------------------------------------------------------------------------
|
|
219 |
//
|
|
220 |
RESOURCE BMPBUT r_bitmapbt_button
|
|
221 |
{
|
|
222 |
layout = 0;
|
|
223 |
helptxt = "help";
|
|
224 |
bmp1file = "z:\\resource\\apps\\avkon2.mbm";
|
|
225 |
bmp1id = EMbmAvkonQgn_indi_mic;
|
|
226 |
bmp1mask = EMbmAvkonQgn_indi_mic_mask;
|
|
227 |
bmp2file = "z:\\resource\\apps\\avkon2.mbm";
|
|
228 |
bmp2id = EMbmAvkonQgn_indi_speaker_active;
|
|
229 |
bmp2mask = EMbmAvkonQgn_indi_speaker_active_mask;
|
|
230 |
}
|
|
231 |
|