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.
19 ///////////////////////////////////////////////////////////////////////////////
21 ///////////////////////////////////////////////////////////////////////////////
23 #define DATETIME_FIELD(_pos, _after) \
30 description { state: "default" 0.0; \
37 to: "separator"#_after;\
41 to: "separator"#_after;\
44 description { state: "enable" 0.0;\
45 inherit: "default" 0.0;\
47 min: DATETIME_FIELD_MIN_SIZE_INC;\
52 name: "field_"#_pos"enabled";\
53 signal: "field"#_pos",enable";\
55 action: STATE_SET "enable" 0.0;\
56 target: "field"#_pos;\
59 name: "field_"#_pos"disabled";\
60 signal: "field"#_pos",disable";\
62 action: STATE_SET "default" 0.0;\
63 target: "field"#_pos;\
67 #define DATETIME_SEPARATOR(_pos) \
69 name: "separator"#_pos; \
75 state: "default" 0.0;\
89 color: DATETIME_SEPARATOR_TEXT_COLOR_INC;\
91 font: "Tizen:style=Regular";\
92 size: DATETIME_TEXT_FONT_SIZE_INC;\
97 description { state: "enable" 0.0;\
98 inherit: "default" 0.0;\
100 min: DATETIME_SEPARATOR_MIN_SIZE_INC;\
105 name: "separator"#_pos",enabled";\
106 signal: "field"#_pos",enable";\
108 action: STATE_SET "enable" 0.0;\
109 target: "separator"#_pos;\
112 name: "separator"#_pos",disabled";\
113 signal: "field"#_pos",separator,disable";\
115 action: STATE_SET "default" 0.0;\
116 target: "separator"#_pos;\
121 group { name: "elm/datetime/base/default";
128 state: "default" 0.0;
139 state: "default" 0.0;
150 description { state: "enable" 0.0;
151 inherit: "default" 0.0;
153 min: DATETIME_FIELD_MIN_SIZE_INC;
156 DATETIME_SEPARATOR(0)
158 DATETIME_SEPARATOR(1)
160 DATETIME_SEPARATOR(2)
162 DATETIME_SEPARATOR(3)
164 DATETIME_SEPARATOR(4)
166 DATETIME_SEPARATOR(5)
170 description { state: "default" 0.0;
172 rel2.to: "separator5";
173 color: 255 255 255 255;
175 description { state: "visible" 0.0;
176 inherit: "default" 0.0;
177 color: 255 255 255 102;
183 description { state: "default" 0.0;
187 description { state: "visible" 0.0;
188 inherit: "default" 0.0;
195 name: "disble_datetime";
196 signal: "elm,state,disabled";
198 action: STATE_SET "visible" 0.0;
203 name: "enable_datetime";
204 signal: "elm,state,enabled";
206 action: STATE_SET "default" 0.0;
211 name: "field0,enabled";
212 signal: "field0,enable";
214 action: STATE_SET "enable" 0.0;
218 name: "field0,disabled";
219 signal: "field0,disable";
221 action: STATE_SET "default" 0.0;