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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME IGPE // 4 letter ID |
|
21 |
|
22 #include <avkon.rsg> |
|
23 #include <avkon.rh> |
|
24 #include <eikon.rh> |
|
25 #include <imageprintapp.loc> |
|
26 |
|
27 // d:List box format string - do not localize this! |
|
28 #define qtn_lbox_format "\t%0U\t\t%1U" |
|
29 |
|
30 // Maximum and minimum number |
|
31 #define MIN_TINT_NAME -2147483646 |
|
32 #define MAX_TINT_NAME 2147483647 |
|
33 |
|
34 // RESOURCE DEFINITIONS |
|
35 |
|
36 RESOURCE RSS_SIGNATURE { } |
|
37 RESOURCE TBUF { buf="ImagePrintEngine"; } |
|
38 |
|
39 /** |
|
40 * Generic popup setting item |
|
41 */ |
|
42 RESOURCE AVKON_SETTING_PAGE r_setting_generic_page |
|
43 { |
|
44 //softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; // Removed due to single click |
|
45 softkey_resource = R_AVKON_SOFTKEYS_CANCEL ; |
|
46 type = EAknCtPopupSettingList; |
|
47 editor_resource_id = r_empty_setting_list; |
|
48 } |
|
49 |
|
50 RESOURCE POPUP_SETTING_LIST r_empty_setting_list |
|
51 { |
|
52 } |
|
53 |
|
54 RESOURCE AVKON_POPUP_SETTING_TEXTS r_setting_generic_popup_page |
|
55 { |
|
56 flags = 0; |
|
57 setting_texts_resource = r_setting_generic_popup_array; |
|
58 popped_up_texts_resource = r_setting_generic_popup_array_texts; |
|
59 } |
|
60 |
|
61 RESOURCE ARRAY r_setting_generic_popup_array |
|
62 { |
|
63 items = |
|
64 { |
|
65 AVKON_ENUMERATED_TEXT |
|
66 { |
|
67 value = 0; |
|
68 text = " "; |
|
69 } |
|
70 }; |
|
71 } |
|
72 |
|
73 RESOURCE ARRAY r_setting_generic_popup_array_texts |
|
74 { |
|
75 items = |
|
76 { |
|
77 LBUF |
|
78 { |
|
79 txt = " "; |
|
80 } |
|
81 }; |
|
82 } |
|
83 |
|
84 /** |
|
85 * Generic TInt setting page |
|
86 */ |
|
87 |
|
88 RESOURCE AVKON_SETTING_PAGE r_def_integer_page |
|
89 { |
|
90 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
91 type = EAknCtIntegerEdwin; |
|
92 editor_resource_id = r_def_integer_editor; |
|
93 } |
|
94 |
|
95 RESOURCE AVKON_INTEGER_EDWIN r_def_integer_editor |
|
96 { |
|
97 min = MIN_TINT_NAME; |
|
98 max = MAX_TINT_NAME; |
|
99 } |
|
100 |
|
101 /** |
|
102 * Generic float query |
|
103 */ |
|
104 RESOURCE DIALOG r_generic_float_query_dlg |
|
105 { |
|
106 flags = EGeneralQueryFlags; |
|
107 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
108 items = |
|
109 { |
|
110 DLG_LINE |
|
111 { |
|
112 type = EAknCtQuery; |
|
113 id = 10000; |
|
114 control = AVKON_DATA_QUERY |
|
115 { |
|
116 layout = EFloatingPointLayout; |
|
117 label = " "; |
|
118 control = FLPTED |
|
119 { |
|
120 }; |
|
121 }; |
|
122 } |
|
123 }; |
|
124 } |
|
125 |
|
126 // Resource strings |
|
127 RESOURCE TBUF R_QTN_LBOX_FORMAT { buf = qtn_lbox_format; } |
|
128 RESOURCE TBUF R_EMPTY { buf = ""; } |
|
129 |
|
130 // Paper sizes |
|
131 RESOURCE TBUF R_QTN_STR_PAPER_SIZE { buf = qtn_print_settings_paper_size; } |
|
132 RESOURCE TBUF R_QTN_STR_SIZE_AUTO { buf = qtn_print_paper_size_auto; } |
|
133 RESOURCE TBUF R_QTN_STR_SIZE_LETTER { buf = qtn_print_paper_size_letter; } |
|
134 RESOURCE TBUF R_QTN_STR_SIZE_A4 { buf = qtn_print_paper_size_a4; } |
|
135 RESOURCE TBUF R_QTN_STR_SIZE_A6 { buf = qtn_print_paper_size_a6; } |
|
136 RESOURCE TBUF R_QTN_STR_SIZE_4X6 { buf = qtn_print_paper_size_4x6; } |
|
137 RESOURCE TBUF R_QTN_STR_SIZE_5X7 { buf = qtn_print_paper_size_5x7; } |
|
138 RESOURCE TBUF R_QTN_STR_SIZE_STICKER { buf = qtn_print_paper_size_sticker; } |
|
139 |
|
140 // Print quality |
|
141 RESOURCE TBUF R_QTN_STR_QUALITY { buf = qtn_print_settings_print_quality; } |
|
142 RESOURCE TBUF R_QTN_STR_QUAL_AUTO { buf = qtn_print_quality_auto; } |
|
143 RESOURCE TBUF R_QTN_STR_QUAL_NORMAL { buf = qtn_print_quality_normal; } |
|
144 RESOURCE TBUF R_QTN_STR_QUAL_DRAFT { buf = qtn_print_quality_draft; } |
|
145 RESOURCE TBUF R_QTN_STR_QUAL_FINE { buf = qtn_print_quality_fine; } |
|
146 |
|
147 // Template |
|
148 RESOURCE TBUF R_QTN_STR_TEMPLATE { buf = qtn_print_settings_template; } |
|
149 RESOURCE TBUF R_QTN_STR_TEMPLATE_BLESS { buf = qtn_print_settings_bless; } |
|
150 RESOURCE TBUF R_QTN_STR_TEMPLATE_ONE { buf = "1"; } |
|
151 RESOURCE TBUF R_QTN_STR_TEMPLATE_TWO { buf = "2"; } |
|
152 RESOURCE TBUF R_QTN_STR_TEMPLATE_FOUR { buf = "4"; } |
|
153 RESOURCE TBUF R_QTN_STR_TEMPLATE_SIX { buf = "6"; } |
|
154 RESOURCE TBUF R_QTN_STR_TEMPLATE_NINE { buf = "9"; } |
|
155 RESOURCE TBUF R_QTN_STR_TEMPLATE_TWELVE { buf = "12"; } |
|
156 RESOURCE TBUF R_QTN_STR_TEMPLATE_SIXTEEN { buf = "16"; } |
|
157 |
|
158 |
|