3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
21 name: "elm/multibuttonentry/base/default";
23 data.item: "horizontal_pad" MULTIBUTTONENTRY_BOX_HORIZONTAL_PAD_INC;
24 data.item: "vertical_pad" MULTIBUTTONENTRY_BOX_VERTICAL_PAD_INC;
34 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
36 rel2.relative: 0.0 0.0;
42 name: "bottom.right.pad";
48 min : MULTIBUTTONENTRY_WIDTH_PAD_INC MULTIBUTTONENTRY_HEIGHT_PAD_INC;
50 rel1.relative: 1.0 1.0;
56 name: "elm.swallow.box";
66 to: "bottom.right.pad";
70 part { name: "block_events";
77 state: "invisible" 0.0;
81 part { name: "events";
84 ignore_flags: ON_HOLD;
94 signal: "mouse,clicked,1";
96 action: SIGNAL_EMIT "elm,action,clicked" "";
100 signal: "elm,state,event,allow";
102 action: STATE_SET "invisible" 0.0;
103 target: "block_events";
107 signal: "elm,state,event,block";
109 action: STATE_SET "default" 0.0;
110 target: "block_events";
116 name: "elm/multibuttonentry/label/default";
120 name: "multibuttonentry_label_style";
121 base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_LABEL_TEXT_COLOR_INC" wrap=char text_class=slp";
124 tag: "hilight" "+ font=SLP:style=Bold";
125 tag: "b" "+ font=SLP:style=Bold";
137 state: "default" 0.0;
138 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
140 rel1.relative: 1.0 0.0;
152 state: "default" 0.0;
153 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
155 style: "multibuttonentry_label_style";
168 name: "elm/multibuttonentry/guide/default";
172 name: "multibuttonentry_guide_style";
173 base: "font=SLP:style=Regular font_size="MULTIBUTTONENTRY_GUIDE_TEXT_SIZE_INC" color="MULTIBUTTONENTRY_GUIDE_TEXT_COLOR_INC" wrap=char text_class=slp";
176 tag: "hilight" "+ font=SLP:style=Bold";
177 tag: "b" "+ font=SLP:style=Bold";
190 state: "default" 0.0;
191 min: 0 MULTIBUTTONENTRY_GUIDE_HEIGHT_INC;
193 style: "multibuttonentry_guide_style";
202 name: "elm/multibuttonentry/button/default";
205 image: "00_contacts_button.png" COMP;
206 image: "00_contacts_button_press.png" COMP;
209 data.item: "max_size" MULTIBUTTONENTRY_BUTTON_MAX_INC;
218 state: "default" 0.0;
219 min: 0 MULTIBUTTONENTRY_BUTTON_HEIGHT_INC;
221 normal: "00_contacts_button.png";
222 border: MULTIBUTTONENTRY_BUTTON_NINEPATCH_INC;
227 state: "focused" 0.0;
228 inherit: "default" 0.0;
229 image.normal: "00_contacts_button_press.png";
238 state: "default" 0.0;
239 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
241 rel2.relative: 0.0 1.0;
252 state: "default" 0.0;
253 min: MULTIBUTTONENTRY_BUTTON_PAD_INC 0;
255 rel1.relative: 1.0 0.0;
266 state: "default" 0.0;
267 color: MULTIBUTTONENTRY_BUTTON_TEXT_COLOR_INC;
269 font: "SLP:style=Regular";
270 size: MULTIBUTTONENTRY_BUTTON_TEXT_SIZE_INC;
284 state: "ellipsis" 0.0;
285 inherit: "default" 0.0;
286 min: MULTIBUTTONENTRY_BUTTON_TEXT_MAX_INC 0;
290 part { name: "events";
292 ignore_flags: ON_HOLD;
294 state: "default" 0.0;
301 name: "text_ellipsis";
302 signal: "elm,state,text,ellipsis";
304 action: STATE_SET "ellipsis" 0.0;
309 signal: "elm,state,bg,focus";
311 action: STATE_SET "focused" 0.0;
317 signal: "elm,state,bg,unfocus";
319 action: STATE_SET "default" 0.0;
324 signal: "mouse,clicked,1";
326 action: SIGNAL_EMIT "elm,action,clicked" "";
330 action: SIGNAL_EMIT "elm,action,selected" "";
336 name: "elm/multibuttonentry/number/default";
345 state: "default" 0.0;
346 min: MULTIBUTTONENTRY_LABEL_PAD_INC 0;
348 rel2.relative: 0.0 1.0;
359 state: "default" 0.0;
360 min: 0 MULTIBUTTONENTRY_LABEL_HEIGHT_INC;
361 color: MULTIBUTTONENTRY_NUMBER_TEXT_COLOR_INC;
363 font: "SLP:style=Regular";
364 size: MULTIBUTTONENTRY_LABEL_TEXT_SIZE_INC;