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) \
30 description { state: "default" 0.0; \
37 to: "separator"#_pos;\
41 to: "separator"#_pos;\
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,_after) \
69 name: "separator"#_pos; \
75 state: "default" 0.0;\
88 color: DATETIME_SEPARATOR_TEXT_COLOR_INC;\
90 font: "Tizen:style=Regular";\
91 size: DATETIME_TEXT_FONT_SIZE_INC;\
96 description { state: "enable" 0.0;\
97 inherit: "default" 0.0;\
99 min: DATETIME_SEPARATOR_MIN_SIZE_INC;\
104 name: "separator"#_pos",enabled";\
105 signal: "field"#_after",enable";\
107 action: STATE_SET "enable" 0.0;\
108 target: "separator"#_pos;\
111 name: "separator"#_pos",disabled";\
112 signal: "field"#_after",disable";\
114 action: STATE_SET "default" 0.0;\
115 target: "separator"#_pos;\
120 group { name: "elm/datetime/base/default";
127 state: "default" 0.0;
136 state: "default" 0.0;
148 DATETIME_SEPARATOR(1,0)
150 DATETIME_SEPARATOR(2,1)
152 DATETIME_SEPARATOR(3,2)
154 DATETIME_SEPARATOR(4,3)
156 DATETIME_SEPARATOR(5,4)
158 DATETIME_SEPARATOR(6,5)
162 description { state: "default" 0.0;
171 color: 255 255 255 255;
173 description { state: "visible" 0.0;
174 inherit: "default" 0.0;
175 color: 255 255 255 102;
181 description { state: "default" 0.0;
185 description { state: "visible" 0.0;
186 inherit: "default" 0.0;
193 name: "disble_datetime";
194 signal: "elm,state,disabled";
196 action: STATE_SET "visible" 0.0;
201 name: "enable_datetime";
202 signal: "elm,state,enabled";
204 action: STATE_SET "default" 0.0;