1 ///////////////////////////////////////////////////////////////////////////////
3 ///////////////////////////////////////////////////////////////////////////////
5 #define DATETIME_FIELD(_pos) \
7 name: "field"#_pos; type: SWALLOW; \
10 description { state: "default" 0.0; \
17 to: "separator"#_pos;\
21 to: "separator"#_pos;\
24 description { state: "enable" 0.0;\
25 inherit: "default" 0.0;\
31 program { name: "field_"#_pos"enabled";\
32 signal: "field"#_pos",enable";\
34 action: STATE_SET "enable" 0.0;\
35 target: "field"#_pos;\
37 program { name: "field_"#_pos"disabled";\
38 signal: "field"#_pos",disable";\
40 action: STATE_SET "default" 0.0;\
41 target: "field"#_pos;\
45 #define DATETIME_SEPARATOR(_pos,_after) \
47 name: "separator"#_pos; type: TEXT;\
49 description { state: "default" 0.0;\
62 color: 100 100 100 255;\
64 font: "Sans,Edje-Vera";\
70 description { state: "enable" 0.0;\
71 inherit: "default" 0.0;\
77 program { name: "separator"#_pos",enabled";\
78 signal: "field"#_after",enable";\
80 action: STATE_SET "enable" 0.0;\
81 target: "separator"#_pos;\
83 program { name: "separator"#_pos",disabled";\
84 signal: "field"#_after",disable";\
86 action: STATE_SET "default" 0.0;\
87 target: "separator"#_pos;\
92 group { name: "elm/datetime/base/default";
94 part { name: "bg"; type: RECT;
96 description { state: "default" 0.0;
100 part { name: "separator0"; type: RECT;
102 description { state: "default" 0.0;
114 DATETIME_SEPARATOR(1,0)
116 DATETIME_SEPARATOR(2,1)
118 DATETIME_SEPARATOR(3,2)
120 DATETIME_SEPARATOR(4,3)
122 DATETIME_SEPARATOR(5,4)
124 DATETIME_SEPARATOR(6,5)
125 part { name: "clipper"; type: RECT;
126 description { state: "default" 0.0;
135 color: 255 255 255 255;
137 description { state: "enable" 0.0;
138 inherit: "default" 0.0;
139 color: 255 255 255 127;
142 part { name: "disabler"; type: RECT;
143 description { state: "default" 0.0;
147 description { state: "visible" 0.0;
148 inherit: "default" 0.0;
152 part { name: "access";
155 description { state: "default" 0.0;
163 program { name: "disble_datetime";
164 signal: "elm,state,disabled";
166 action: STATE_SET "visible" 0.0;
170 program { name: "enable_datetime";
171 signal: "elm,state,enabled";
173 action: STATE_SET "default" 0.0;
178 }//end datetime group
180 ///////////////////////////////////////////////////////////////////////////////
181 // end of datetime style
182 ///////////////////////////////////////////////////////////////////////////////