base: "font=Tizen:style=Regular color=#00000028 font_size=36 ellipsis=1.0";
}
style {
- name: "font4_normal";
- base: "font=Tizen:style=Regular color=#59AF3AFF font_size=32 ellipsis=1.0";
- tag: "off" "+ color=#B2B2B2FF";
+ name: "font_weekflags_normal";
+ base: "font=Tizen:style=Regular font_size=32";
+ tag: "on" "+ color=#97e57bff";
+ tag: "off" "+ color=#b3b3b3ff";
}
style {
- name: "font4_dim";
- base: "font=Tizen:style=Regular color=#23461766 font_size=32 ellipsis=1.0";
- tag: "off" "+ color=#47474766";
- tag: "on" "+ color=#23461766";
+ name: "font_weekflags_dim";
+ base: "font=Tizen:style=Regular font_size=32";
+ tag: "on" "+ color=#97e57b66";
+ tag: "off" "+ color=#b3b3b366";
}
}
data.item: "texts" "time meridiem name weekflags";
align: 0.0 1.0;
rel1.to: "spacer.name.week";
rel2.to: "spacer.name.week";
- text.style: "font4_normal";
+ text.style: "font_weekflags_normal";
}
desc { "disabled";
inherit: "default";
- text.style: "font4_dim";
+ text.style: "font_weekflags_dim";
}
}
group { "repeat"; scale;
static std::string GetFormattedWeekDayAcronym(WeekDay day, bool on)
{
if (on)
- return "<on>" + GetWeekDayAcronym(day) + "</on>";
+ return "<on>" + GetWeekDayAcronym(day) + "</on> ";
else
- return "<off>" + GetWeekDayAcronym(day) + "</off>";
+ return "<off>" + GetWeekDayAcronym(day) + "</off> ";
}
static char *WeekFlag2FormattedString(WeekFlags flags)
static std::string GetFormattedWeekDayAcronym(WeekDay day, bool on)
{
if (on)
- return "<on>" + GetWeekDayAcronym(day) + "</on>";
+ return "<on>" + GetWeekDayAcronym(day) + "</on> ";
else
- return "<off>" + GetWeekDayAcronym(day) + "</off>";
+ return "<off>" + GetWeekDayAcronym(day) + "</off> ";
}
static char *WeekFlag2FormattedString(WeekFlags flags)