elm_calendar: provides way for configuration of weekend text color
authorJiwon Kim <jwkim0000@gmail.com>
Mon, 11 Jul 2016 07:10:34 +0000 (16:10 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Mon, 11 Jul 2016 07:10:35 +0000 (16:10 +0900)
commit5e2b1dde68bc6f61ec20fde47f5c849348c25636
treed2b4b951601305684733f7b1a7e65c5c0ce67dab
parent72438ab2a1ebb551552aad85053393b023fecb2c
elm_calendar: provides way for configuration of weekend text color

Summary:
Suggest new mark_type for elm_calendar_mark_add().
The mark names are "weekend/day1", "weekend/day2".
It can be used for each country.
Some country can apply to "weekend/day2" to friday if day rest only a day for a week.
Until now, there is no way to separate holiday, saturday and sunday.

Test Plan:
1. saturday
```
struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
elm_calendar_mark_add(obj, "weekend/day1", &t, ELM_CALENDAR_WEEKLY);
```
2. sunday
```
 struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
 elm_calendar_mark_add(obj, "weekend/day2", &t, ELM_CALENDAR_WEEKLY);
```

Reviewers: CHAN, cedric, raster

Reviewed By: raster

Subscribers: raster, akanad, id213sin, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4148
data/elementary/themes/colorclasses.edc
data/elementary/themes/edc/elm/calendar.edc
src/lib/elementary/elm_removed.h