2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
19 ///////////////////////////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////////////////////////
24 group { name: "elm/diskselector/base/default";
25 alias: "elm/diskselector/base/datetime/default";
26 alias: "elm/diskselector/base/timepicker";
32 description { state: "default" 0.0;
36 part { name: "elm.swallow.content";
38 description { state: "default" 0.0;
46 group { name: "elm/diskselector/item/default";
47 alias: "elm/diskselector/item/datetime/default";
48 alias: "elm/diskselector/item/timepicker";
51 item: "len_threshold" "14";
52 item: "min_height" DISKSELECTOR_DF_DATA_MIN_HEIGHT_INC;
63 min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC;
66 color: DISKSELECTOR_DF_FONT_COLOR_INC;
69 font: "SLP:style=Medium";
70 size: DISKSELECTOR_DF_FONT_SIZE_INC;
72 text_class: "slp_medium";
76 state: "selected" 0.0;
77 min: DISKSELECTOR_DF_ITEM_MIN_SIZE_INC;
80 color: 255 255 255 255;
83 font: "SLP:style=Medium";
84 size: DISKSELECTOR_DF_FONT_SIZE_INC;
88 description { state: "show" 0.0;
89 inherit: "default" 0.0;
92 description { state: "default_small" 0.0;
93 inherit: "default" 0.0;
97 description { state: "left_side" 0.0;
98 inherit: "default" 0.0;
101 description { state: "right_side" 0.0;
102 inherit: "default" 0.0;
105 description { state: "mouse_down" 0.0;
106 inherit: "default" 0.0;
107 color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC;
110 description { state: "selected_mouse_down" 0.0;
111 inherit: "default" 0.0;
112 color: DISKSELECTOR_DF_FONT_MOUSE_DOWN_COLOR_INC;
122 state: "default" 0.0;
129 name: "elm,state,selected";
130 signal: "elm,state,selected";
132 action: STATE_SET "selected" 0.0;
136 name: "elm,state,default";
137 signal: "elm,state,default";
139 action: STATE_SET "default" 0.0;
144 signal: "mouse,clicked,1";
146 action: SIGNAL_EMIT "elm,action,click" "";
149 name: "item_mouse_down";
150 signal: "mouse,down,1";
155 get_state(PART:"elm.text", st, 30, vl)
156 if (!strncmp(st, "selected", 8)) {
157 set_state(PART:"elm.text", "selected_mouse_down", 0.0);
159 set_state(PART:"elm.text", "mouse_down", 0.0);
164 name: "item_mouse_up";
165 signal: "mouse,up,1";
170 get_state(PART:"elm.text", st, 30, vl)
171 if (!strncmp(st, "mouse_down", 10)) {
172 set_state(PART:"elm.text", "default", 0.0);
173 } else if (!strncmp(st, "selected_mouse_down", 19)) {
174 set_state(PART:"elm.text", "selected", 0.0);