summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-01-20 23:22:17 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-01-20 23:22:17 +0000
commita2c706a071e507fab5af789ef300a16dcb885e80 (patch)
tree9ea69d52380eac4eb64129730e7eb1ebe0113403 /data
parent76050f74ff5d9cf26869c53e9d86aae372be6460 (diff)
TH - elm calendar - do
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/clock.edc1
-rw-r--r--data/elementary/themes/edc/elm/calendar.edc230
2 files changed, 90 insertions, 141 deletions
diff --git a/data/elementary/themes/edc/clock.edc b/data/elementary/themes/edc/clock.edc
index 633a1afe2a..8e75d6c61a 100644
--- a/data/elementary/themes/edc/clock.edc
+++ b/data/elementary/themes/edc/clock.edc
@@ -739,6 +739,7 @@ group { name: "e/modules/clock/calendar/day";
739 color: 160 160 160 255; 739 color: 160 160 160 255;
740 rel1.offset: 3 3; 740 rel1.offset: 3 3;
741 rel2.offset: -4 -4; 741 rel2.offset: -4 -4;
742 offscale;
742 text { font: FN; size: 10; 743 text { font: FN; size: 10;
743 text: "00"; 744 text: "00";
744 min: 1 1; 745 min: 1 1;
diff --git a/data/elementary/themes/edc/elm/calendar.edc b/data/elementary/themes/edc/elm/calendar.edc
index 0d460ea614..9a9a4901a4 100644
--- a/data/elementary/themes/edc/elm/calendar.edc
+++ b/data/elementary/themes/edc/elm/calendar.edc
@@ -1,21 +1,21 @@
1#define CIT_STYLES\ 1#define CIT_STYLES\
2 style { name: "calendar_date_style";\ 2 style { name: "calendar_date_style";\
3 base: "font="FN" font_size=10 color=#ffffff style=shadow,bottom shadow_color=#00000080 align=center text_class=calendar_day_text color_class=calendar_day_text";\ 3 base: "font="FN" font_size=10 color=#a0a0a0 align=center text_class=calendar_day_text";\
4 }\ 4 }\
5 style { name: "calendar_date_holiday_style";\ 5 style { name: "calendar_date_holiday_style";\
6 base: "font="FN" font_size=10 color=#808080 style=shadow,bottom shadow_color=#00000080 align=center text_class=calendar_day_text_holiday color_class=calendar_day_text_holiday";\ 6 base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_holiday";\
7 }\ 7 }\
8 style { name: "calendar_date_today_style";\ 8 style { name: "calendar_date_today_style";\
9 base: "font="FN" font_size=10 color=#3399ff style=glow glow_color=#3399ff18 align=center text_class=calendar_day_text_today color_class=calendar_day_text_today";\ 9 base: "font="FN" font_size=10 color=#ffffff align=center text_class=calendar_day_text_today";\
10 }\ 10 }\
11 style { name: "calendar_date_disabled_style";\ 11 style { name: "calendar_date_disabled_style";\
12 base: "font="FN" font_size=10 color=#151515 style=shadow,bottom shadow_color=#ffffffc0 align=center text_class=calendar_day_text_disabled text_class=calendar_day_text_disabled";\ 12 base: "font="FN" font_size=10 color=#282828 align=center text_class=calendar_day_text_disabled";\
13 }\ 13 }\
14 style { name: "calendar_date_weekend1_style";\ 14 style { name: "calendar_date_weekend1_style";\
15 base: "font="FN" font_size=10 color=#2020C0 style=shadow,bottom shadow_color=#ffffffc0 align=center text_class=calendar_day_text_weekend1 color_class=calendar_day_text_weekend1";\ 15 base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_weekend1";\
16 }\ 16 }\
17 style { name: "calendar_date_weekend2_style";\ 17 style { name: "calendar_date_weekend2_style";\
18 base: "font="FN" font_size=10 color=#C02020 style=shadow,bottom shadow_color=#ffffffc0 align=center text_class=calendar_day_text_weekend2 color_class=calendar_day_text_weekend2";\ 18 base: "font="FN" font_size=10 color=#3399ff align=center text_class=calendar_day_text_weekend2";\
19 }\ 19 }\
20 20
21#define CAL_SPIN(_sufix, _text, _relative)\ 21#define CAL_SPIN(_sufix, _text, _relative)\
@@ -30,8 +30,8 @@
30 offset: 0 -1;\ 30 offset: 0 -1;\
31 }\ 31 }\
32 align: 0.0 0.5;\ 32 align: 0.0 0.5;\
33 min: 15 15;\ 33 min: 25 25;\
34 max: 15 15;\ 34 max: 25 25;\
35 }\ 35 }\
36 }\ 36 }\
37 part { name: "right_bt"#_sufix; type: RECT;\ 37 part { name: "right_bt"#_sufix; type: RECT;\
@@ -45,138 +45,110 @@
45 offset: -1 -1;\ 45 offset: -1 -1;\
46 }\ 46 }\
47 align: 1.0 0.5;\ 47 align: 1.0 0.5;\
48 min: 15 15;\ 48 min: 25 25;\
49 max: 15 15;\ 49 max: 25 25;\
50 color: 0 0 0 0;\ 50 color: 0 0 0 0;\
51 }\ 51 }\
52 }\ 52 }\
53 part { name: "elm,calendar,button"#_sufix",left";\ 53 part { name: "elm,calendar,button"#_sufix",left"; type: SWALLOW;\
54 type: SWALLOW;\
55 scale: 1;\ 54 scale: 1;\
56 description { state: "default" 0.0;\ 55 description { state: "default" 0.0;\
57 fixed: 1 1;\ 56 fixed: 1 1;\
58 rel1.to: "left_bt"#_sufix;\ 57 rel.to: "left_bt"#_sufix;\
59 rel2.to: "left_bt"#_sufix;\ 58 min: 15 15;\
59 max: 15 15;\
60 }\ 60 }\
61 description { state: "rtl" 0.0;\ 61 description { state: "rtl" 0.0;\
62 inherit: "default" 0.0;\ 62 inherit: "default" 0.0;\
63 rel1.to: "right_bt"#_sufix;\ 63 rel.to: "right_bt"#_sufix;\
64 rel2.to: "right_bt"#_sufix;\
65 }\ 64 }\
66 }\ 65 }\
67 part { name: "elm,calendar,button"#_sufix",right";\ 66 part { name: "elm,calendar,button"#_sufix",right"; type: SWALLOW;\
68 type: SWALLOW;\
69 scale: 1;\ 67 scale: 1;\
70 description { state: "default" 0.0;\ 68 description { state: "default" 0.0;\
71 fixed: 1 1;\ 69 fixed: 1 1;\
72 rel1.to: "right_bt"#_sufix;\ 70 rel.to: "right_bt"#_sufix;\
73 rel2.to: "right_bt"#_sufix;\ 71 min: 15 15;\
72 max: 15 15;\
74 }\ 73 }\
75 description { state: "rtl" 0.0;\ 74 description { state: "rtl" 0.0;\
76 inherit: "default" 0.0;\ 75 inherit: "default" 0.0;\
77 rel1.to: "left_bt"#_sufix;\ 76 rel.to: "left_bt"#_sufix;\
78 rel2.to: "left_bt"#_sufix;\
79 }\ 77 }\
80 }\ 78 }\
81 part { name: #_text; type: TEXT; mouse_events: 0;\ 79 part { name: #_text; type: TEXT; mouse_events: 0;\
82 effect: SHADOW BOTTOM; \
83 scale: 1;\ 80 scale: 1;\
84 description { state: "default" 0.0;\ 81 description { state: "default" 0.0;\
85 fixed: 1 1;\ 82 fixed: 1 1;\
86 rel1 { relative: 1.0 0.0;\ 83 rel1 { relative: 1.0 0.0;\
87 to: "left_bt"#_sufix;\ 84 to: "left_bt"#_sufix;\
85 offset: 8 8;\
88 }\ 86 }\
89 rel2 { relative: 0.0 1.0;\ 87 rel2 { relative: 0.0 1.0;\
90 to: "right_bt"#_sufix;\ 88 to: "right_bt"#_sufix;\
89 offset: -9 -9;\
91 }\ 90 }\
91 offscale;\
92 text { font: FNBD; size: 10;\ 92 text { font: FNBD; size: 10;\
93 min: 0 1;\ 93 min: 0 1;\
94 text_class: "calendar_"#_text; \ 94 text_class: "calendar_"#_text; \
95 }\ 95 }\
96 color_class: "calendar_"#_text; \ 96 color: 160 160 160 255; \
97 }\ 97 }\
98 } 98 }
99 99
100#define CH(_pos) \ 100#define CH(_pos) \
101 part { name: "ch_"#_pos"_base"; type: SPACER; \ 101 part { name: "ch_"#_pos"_base"; type: SPACER; \
102 description { state: "default" 0.0; \ 102 description { state: "default" 0.0; \
103 rel1 { \ 103 rel.to: "header";\
104 relative: (_pos % 7 / 7) 0.0; \ 104 rel1.relative: (_pos % 7 / 7) 0.0; \
105 to: "header"; \ 105 rel2.relative: (_pos % 7 / 7 + 1 / 7) 1.0; \
106 } \
107 rel2 { \
108 relative: (_pos % 7 / 7 + 1 / 7) 1.0; \
109 to: "header"; \
110 } \
111 } \ 106 } \
112 } \ 107 } \
113 part { name: "elm.ch_"#_pos".text"; type: TEXT; mouse_events: 0; \ 108 part { name: "elm.ch_"#_pos".text"; type: TEXT; mouse_events: 0; \
114 effect: SHADOW BOTTOM; \
115 scale: 1; \ 109 scale: 1; \
116 clip_to: "ch_"#_pos"_clipper"; \ 110 clip_to: "ch_"#_pos"_clipper"; \
117 description { state: "default" 0.0; \ 111 description { state: "default" 0.0; \
118 rel1.to: "ch_"#_pos"_base"; \ 112 rel.to: "ch_"#_pos"_base"; \
119 rel2.to: "ch_"#_pos"_base"; \ 113 rel1.offset: 0 3; \
114 rel2.offset: -1 -4; \
115 offscale;\
120 text { font: FN; size: 8; \ 116 text { font: FN; size: 8; \
121 min: 1 1; \ 117 min: 1 1; \
122 ellipsis: -1; \ 118 ellipsis: -1; \
123 text_class: "calendar_weekday_text"; \ 119 text_class: "calendar_weekday_text"; \
124 } \ 120 } \
125 color_class: "calendar_weekday_text"; \ 121 color: 160 160 160 255; \
126 } \ 122 } \
127 } \ 123 } \
128 part { name: "ch_"#_pos"_clipper"; type: RECT; \ 124 part { name: "ch_"#_pos"_clipper"; type: RECT; \
129 description { state: "default" 0.0; \ 125 description { state: "default" 0.0; \
130 rel1.to: "ch_"#_pos"_base"; \ 126 rel.to: "ch_"#_pos"_base"; \
131 rel2.to: "ch_"#_pos"_base"; \
132 } \ 127 } \
133 } 128 }
134 129
135#define CIT(_pos) \ 130#define CIT(_pos) \
136 part { name: "cit_"#_pos"_rect"; type: SPACER; \ 131 part { name: "cit_"#_pos"_rect"; type: SPACER; \
137 description { state: "default" 0.0; \ 132 description { state: "default" 0.0; \
138 rel1 { \ 133 rel.to: "base"; \
139 relative: (_pos % 7 / 7) \ 134 rel1.relative: (_pos % 7 / 7) (_pos / 7 / 6 - _pos % 7 / 7 / 6); \
140 (_pos / 7 / 6 - _pos % 7 / 7 / 6); \ 135 rel2.relative: (_pos % 7 / 7 + 1 / 7) (_pos / 7 / 6 + 1 / 6 - _pos % 7 / 7 / 6); \
141 to: "base"; \
142 } \
143 rel2 { \
144 relative: (_pos % 7 / 7 + 1 / 7) \
145 (_pos / 7 / 6 + 1 / 6 - _pos % 7 / 7 / 6); \
146 to: "base"; \
147 } \
148 } \ 136 } \
149 } \ 137 } \
150 part { name: "cit_"#_pos"_event"; type: RECT; repeat_events: 1; \ 138 part { name: "cit_"#_pos"_event"; type: RECT; repeat_events: 1; \
151 description { state: "default" 0.0; \ 139 description { state: "default" 0.0; \
152 rel1.to: "cit_"#_pos"_rect"; \ 140 rel.to: "cit_"#_pos"_rect"; \
153 rel2.to: "cit_"#_pos"_rect"; \
154 color: 0 0 0 0; \ 141 color: 0 0 0 0; \
155 } \ 142 } \
156 } \ 143 description { state: "today" 0.0; \
157 part { name: "cit_"#_pos"_pat"; mouse_events: 0; \
158 description { state: "default" 0.0; \
159 rel1.to: "cit_"#_pos"_selected"; \
160 rel1.offset: 1 1; \
161 rel2.to: "cit_"#_pos"_selected"; \
162 rel2.offset: -2 -2; \
163 image.normal: "diagonal_stripes.png"; \
164 color: 51 153 255 25; \
165 TILED_PATTERN(240, 240) \
166 visible: 0; \
167 } \
168 description { state: "selected" 0.0; \
169 inherit: "default" 0.0; \ 144 inherit: "default" 0.0; \
170 visible: 1; \ 145 color: 0 0 0 64; \
171 } \ 146 } \
172 } \ 147 } \
173 part { name: "cit_"#_pos"_selected"; mouse_events: 0; \ 148 part { name: "cit_"#_pos"_selected"; type: RECT; mouse_events: 0; \
174 description { state: "default" 0.0; \ 149 description { state: "default" 0.0; \
175 rel1.to: "cit_"#_pos"_rect"; \ 150 rel.to: "cit_"#_pos"_rect"; \
176 rel2.to: "cit_"#_pos"_rect"; \ 151 color: 51 153 255 128; \
177 image.normal: "outline.png"; \
178 image.border: 4 4 4 4; \
179 color: 51 153 255 255; \
180 visible: 0; \ 152 visible: 0; \
181 } \ 153 } \
182 description { state: "selected" 0.0; \ 154 description { state: "selected" 0.0; \
@@ -184,31 +156,13 @@
184 visible: 1; \ 156 visible: 1; \
185 } \ 157 } \
186 } \ 158 } \
187 part { name: "cit_"#_pos"_selected2"; mouse_events: 0; \ 159 part { name: "cit_"#_pos"_focus"; type: RECT; mouse_events: 0; \
188 description { state: "default" 0.0; \ 160 description { state: "default" 0.0; \
189 rel1.to: "cit_"#_pos"_rect"; \ 161 rel.to: "cit_"#_pos"_rect"; \
190 rel2.to: "cit_"#_pos"_rect"; \ 162 color: 255 153 51 128; \
191 image.normal: "outline.png"; \
192 image.border: 4 4 4 4; \
193 color: 51 153 255 255; \
194 visible: 0; \ 163 visible: 0; \
195 } \ 164 } \
196 description { state: "highlighted" 0.0; \ 165 description { state: "selected" 0.0; \
197 inherit: "default" 0.0; \
198 visible: 1; \
199 } \
200 } \
201 part { name: "cit_"#_pos"_glow"; mouse_events: 0; \
202 description { state: "default" 0.0; \
203 rel1.to: "cit_"#_pos"_rect"; \
204 rel2.to: "cit_"#_pos"_rect"; \
205 image.normal: "box_glow.png"; \
206 image.border: 12 12 12 12; \
207 image.middle: 0; \
208 fill.smooth: 0; \
209 visible: 0; \
210 } \
211 description { state: "focused" 0.0; \
212 inherit: "default" 0.0; \ 166 inherit: "default" 0.0; \
213 visible: 1; \ 167 visible: 1; \
214 } \ 168 } \
@@ -216,11 +170,13 @@
216 part { name: "elm.cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \ 170 part { name: "elm.cit_"#_pos".text"; type: TEXTBLOCK; mouse_events: 0; \
217 scale: 1; \ 171 scale: 1; \
218 description { state: "default" 0.0; \ 172 description { state: "default" 0.0; \
219 rel1.to: "cit_"#_pos"_rect"; \ 173 rel.to: "cit_"#_pos"_rect"; \
220 rel2.to: "cit_"#_pos"_rect"; \ 174 rel1.offset: 3 0; \
175 rel2.offset: -4 -1; \
221 text.style: "calendar_date_style"; \ 176 text.style: "calendar_date_style"; \
222 text.min: 1 1; \ 177 text.min: 1 1; \
223 text.ellipsis: -1; \ 178 text.ellipsis: -1; \
179 offscale; \
224 } \ 180 } \
225 description { state: "holiday" 0.0; \ 181 description { state: "holiday" 0.0; \
226 inherit: "default" 0.0; \ 182 inherit: "default" 0.0; \
@@ -247,20 +203,13 @@
247 scale: 1; \ 203 scale: 1; \
248 description { state: "default" 0.0; \ 204 description { state: "default" 0.0; \
249 fixed: 1 1; \ 205 fixed: 1 1; \
250 rel1 { \ 206 rel.to: "cit_"#_pos"_rect"; \
251 to: "cit_"#_pos"_rect"; \ 207 rel1.relative: 0.6 0.5; \
252 relative: 0.6 0.5; \ 208 min: 15 15; \
253 } \ 209 max: 15 15; \
254 rel2 { \
255 to: "cit_"#_pos"_rect"; \
256 relative: 0.6 0.5; \
257 } \
258 min: 16 16; \
259 max: 16 16; \
260 aspect: 1 1; \
261 align: 0.0 1.0;\ 210 align: 0.0 1.0;\
262 image.normal: "icon_border_remember.png"; \ 211 image.normal: "i-check"; \
263 color_class: "calendar_day_checked"; \ 212 color: 53 153 255 255; \
264 visible: 0; \ 213 visible: 0; \
265 } \ 214 } \
266 description { state: "visible" 0.0; \ 215 description { state: "visible" 0.0; \
@@ -270,8 +219,7 @@
270 } \ 219 } \
271 part { name: "elm.cit_"#_pos".access"; type: RECT; repeat_events: 1; \ 220 part { name: "elm.cit_"#_pos".access"; type: RECT; repeat_events: 1; \
272 description { state: "default" 0.0; \ 221 description { state: "default" 0.0; \
273 rel1.to: "cit_"#_pos"_event"; \ 222 rel.to: "cit_"#_pos"_event"; \
274 rel2.to: "cit_"#_pos"_event"; \
275 color: 0 0 0 0; \ 223 color: 0 0 0 0; \
276 } \ 224 } \
277 } \ 225 } \
@@ -281,7 +229,6 @@
281 signal: "cit_"#_pos",selected"; \ 229 signal: "cit_"#_pos",selected"; \
282 source: "elm"; \ 230 source: "elm"; \
283 action: STATE_SET "selected" 0.0; \ 231 action: STATE_SET "selected" 0.0; \
284 target: "cit_"#_pos"_pat"; \
285 target: "cit_"#_pos"_selected"; \ 232 target: "cit_"#_pos"_selected"; \
286 } \ 233 } \
287 program { \ 234 program { \
@@ -289,7 +236,6 @@
289 signal: "cit_"#_pos",unselected"; \ 236 signal: "cit_"#_pos",unselected"; \
290 source: "elm"; \ 237 source: "elm"; \
291 action: STATE_SET "default" 0.0; \ 238 action: STATE_SET "default" 0.0; \
292 target: "cit_"#_pos"_pat"; \
293 target: "cit_"#_pos"_selected"; \ 239 target: "cit_"#_pos"_selected"; \
294 } \ 240 } \
295 program { \ 241 program { \
@@ -300,7 +246,7 @@
300 set_int(item_focus_enabled, 1); \ 246 set_int(item_focus_enabled, 1); \
301 set_int(last_focused_item, _pos); \ 247 set_int(last_focused_item, _pos); \
302 if (get_int(win_focus_enabled) == 1) \ 248 if (get_int(win_focus_enabled) == 1) \
303 set_state(PART:"cit_"#_pos"_glow", "focused", 0.0); \ 249 set_state(PART:"cit_"#_pos"_focus", "selected", 0.0); \
304 } \ 250 } \
305 } \ 251 } \
306 program { \ 252 program { \
@@ -309,7 +255,7 @@
309 source: "elm"; \ 255 source: "elm"; \
310 script { \ 256 script { \
311 set_int(item_focus_enabled, 0); \ 257 set_int(item_focus_enabled, 0); \
312 set_state(PART:"cit_"#_pos"_glow", "default", 0.0); \ 258 set_state(PART:"cit_"#_pos"_focus", "default", 0.0); \
313 } \ 259 } \
314 } \ 260 } \
315 program { \ 261 program { \
@@ -318,6 +264,7 @@
318 source: "elm"; \ 264 source: "elm"; \
319 action: STATE_SET "today" 0.0; \ 265 action: STATE_SET "today" 0.0; \
320 target: "elm.cit_"#_pos".text"; \ 266 target: "elm.cit_"#_pos".text"; \
267 target: "cit_"#_pos"_event";\
321 } \ 268 } \
322 program { \ 269 program { \
323 name: "cit_"#_pos"_not_today"; \ 270 name: "cit_"#_pos"_not_today"; \
@@ -325,6 +272,7 @@
325 source: "elm"; \ 272 source: "elm"; \
326 action: STATE_SET "default" 0.0; \ 273 action: STATE_SET "default" 0.0; \
327 target: "elm.cit_"#_pos".text"; \ 274 target: "elm.cit_"#_pos".text"; \
275 target: "cit_"#_pos"_event";\
328 } \ 276 } \
329 program { \ 277 program { \
330 name: "cit_"#_pos"_enable"; \ 278 name: "cit_"#_pos"_enable"; \
@@ -349,15 +297,15 @@
349 source: "cit_"#_pos"_clicked"; \ 297 source: "cit_"#_pos"_clicked"; \
350 signal: "mouse,down,1"; \ 298 signal: "mouse,down,1"; \
351 source: "cit_"#_pos"_event"; \ 299 source: "cit_"#_pos"_event"; \
352 action: STATE_SET "highlighted" 0.0; \ 300 action: STATE_SET "selected" 0.0; \
353 target: "cit_"#_pos"_selected2"; \ 301 target: "cit_"#_pos"_selected"; \
354 } \ 302 } \
355 program { \ 303 program { \
356 source: "cit_"#_pos"_clicked"; \ 304 source: "cit_"#_pos"_clicked"; \
357 signal: "mouse,up,1"; \ 305 signal: "mouse,up,1"; \
358 source: "cit_"#_pos"_event"; \ 306 source: "cit_"#_pos"_event"; \
359 action: STATE_SET "default" 0.0; \ 307 action: STATE_SET "default" 0.0; \
360 target: "cit_"#_pos"_selected2"; \ 308 target: "cit_"#_pos"_selected"; \
361 } \ 309 } \
362 program { \ 310 program { \
363 source: "cit_"#_pos"_clicked"; \ 311 source: "cit_"#_pos"_clicked"; \
@@ -440,14 +388,6 @@
440 } 388 }
441 389
442group { name: "elm/calendar/base/default"; 390group { name: "elm/calendar/base/default";
443 images.image: "sym_left_light_normal.png" COMP;
444 images.image: "sym_right_light_normal.png" COMP;
445 images.image: "sym_left_glow_normal.png" COMP;
446 images.image: "sym_right_glow_normal.png" COMP;
447 images.image: "icon_border_remember.png" COMP;
448 images.image: "outline.png" COMP;
449 images.image: "box_glow.png" COMP;
450 images.image: "diagonal_stripes.png" COMP;
451 data.item: "focus_highlight" "on"; 391 data.item: "focus_highlight" "on";
452 script { 392 script {
453 public rtl; 393 public rtl;
@@ -460,28 +400,30 @@ group { name: "elm/calendar/base/default";
460 } 400 }
461 parts { 401 parts {
462 part { name: "bg"; type: SPACER; 402 part { name: "bg"; type: SPACER;
403 scale: 1;
463 description { state: "default" 0.0; 404 description { state: "default" 0.0;
464 rel1.offset: 1 1; 405 rel1.offset: 8 8;
465 rel2.offset: -2 -2; 406 rel2.offset: -9 -9;
407 offscale;
466 } 408 }
467 } 409 }
468 part { name: "elm.swallow.background"; type: SWALLOW; 410 part { name: "elm.swallow.background"; type: SWALLOW;
469 description { state: "default" 0.0; 411 description { state: "default" 0.0;
470 rel1.to: "bg"; 412 rel.to: "bg";
471 rel2.to: "bg";
472 } 413 }
473 } 414 }
474 part { name: "spinner-base1"; type: SPACER; 415 part { name: "spinner-base1"; type: SPACER;
416 scale: 1;
475 description { state: "default" 0.0; 417 description { state: "default" 0.0;
476 min: 24 16; 418 min: 24 16;
477 max: 999999 16; 419 max: 999999 16;
478 rel1.to: "bg"; 420 rel.to: "bg";
479 rel2.to: "bg";
480 rel2.relative: 1.0 (1/8); 421 rel2.relative: 1.0 (1/8);
481 align: 0.5 0.0; 422 align: 0.5 0.0;
482 } 423 }
483 } 424 }
484 part { name: "table-base"; type: SPACER; 425 part { name: "table-base"; type: SPACER;
426 scale: 1;
485 description { state: "default" 0.0; 427 description { state: "default" 0.0;
486 min: 70 60; 428 min: 70 60;
487 rel1.to_x: "bg"; 429 rel1.to_x: "bg";
@@ -490,29 +432,31 @@ group { name: "elm/calendar/base/default";
490 rel1.relative: 0.0 1.0; 432 rel1.relative: 0.0 1.0;
491 rel2.to: "bg"; 433 rel2.to: "bg";
492 rel2.offset: -4 -4; 434 rel2.offset: -4 -4;
435 offscale;
493 } 436 }
494 } 437 }
495 part { name: "header"; type: SPACER; 438 part { name: "header"; type: SPACER;
496 description { state: "default" 0.0; 439 description { state: "default" 0.0;
497 rel1.to: "table-base"; 440 rel.to: "table-base";
498 rel2.to: "table-base";
499 rel2.relative: 1.0 (1/7); 441 rel2.relative: 1.0 (1/7);
500 align: 0.5 0.0; 442 align: 0.5 0.0;
501 min: 0 16; 443 min: 0 25;
502 } 444 }
503 } 445 }
504 part { name: "header_separator"; mouse_events: 0; 446 part { name: "header_separator"; type: RECT; mouse_events: 0;
447 scale: 1;
505 description { state: "default" 0.0; 448 description { state: "default" 0.0;
506 fixed: 1 1; 449 fixed: 1 1;
507 rel1.to: "header"; 450 rel.to: "header";
508 rel1.relative: 0.0 1.0; 451 rel1.relative: 0.0 1.0;
509 rel1.offset: 0 -2; 452 rel1.offset: 8 -1;
510 rel2.to: "header"; 453 rel2.offset: -9 -1;
511 image.normal: "separator_horiz.png"; 454 color: 80 80 80 255;
512 fill.smooth: 0; 455 offscale;
513 } 456 }
514 } 457 }
515 part { name: "base"; type: SPACER; 458 part { name: "base"; type: SPACER;
459 scale: 1;
516 description { state: "default" 0.0; 460 description { state: "default" 0.0;
517 rel1.to_x: "table-base"; 461 rel1.to_x: "table-base";
518 rel1.to_y: "header"; 462 rel1.to_y: "header";
@@ -520,6 +464,7 @@ group { name: "elm/calendar/base/default";
520 rel1.offset: 3 0; 464 rel1.offset: 3 0;
521 rel2.to: "table-base"; 465 rel2.to: "table-base";
522 rel2.offset: -3 0; 466 rel2.offset: -3 0;
467 offscale;
523 } 468 }
524 } 469 }
525 470
@@ -560,18 +505,20 @@ group { name: "elm/calendar/base/double_spinners";
560 inherit: "elm/calendar/base/default"; 505 inherit: "elm/calendar/base/default";
561 parts { 506 parts {
562 part { name: "spinner-base1"; type: SPACER; 507 part { name: "spinner-base1"; type: SPACER;
508 scale: 1;
563 description { state: "default" 0.0; 509 description { state: "default" 0.0;
564 min: 24 24; 510 min: 24 24;
565 max: 999999 24; 511 max: 999999 24;
566 rel1.to: "bg"; 512 rel.to: "bg";
567 rel1.offset: 6 6; 513 rel1.offset: 6 6;
568 rel2.to: "bg";
569 rel2.relative: 0.5 1.0; 514 rel2.relative: 0.5 1.0;
570 rel2.offset: -7 -7; 515 rel2.offset: -7 -7;
571 align: 0.0 0.0; 516 align: 0.0 0.0;
517 offscale;
572 } 518 }
573 } 519 }
574 part { name: "spinner-base2"; type: SPACER; 520 part { name: "spinner-base2"; type: SPACER;
521 scale: 1;
575 description { state: "default" 0.0; 522 description { state: "default" 0.0;
576 min: 24 24; 523 min: 24 24;
577 max: 999999 24; 524 max: 999999 24;
@@ -582,6 +529,7 @@ group { name: "elm/calendar/base/double_spinners";
582 rel2.to: "bg"; 529 rel2.to: "bg";
583 rel2.offset: -7 -7; 530 rel2.offset: -7 -7;
584 align: 0.0 0.0; 531 align: 0.0 0.0;
532 offscale;
585 } 533 }
586 } 534 }
587 CAL_SPIN(,month_text, spinner-base1) 535 CAL_SPIN(,month_text, spinner-base1)