Inject reference datetime (= now) into chart

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2019-04-10 12:00:25 +02:00
parent 69de6b4412
commit 42cb7273cd
4 changed files with 14 additions and 14 deletions

View file

@ -57,8 +57,9 @@ private:
std::pair <int, int> determineHourRange (const Interval&, const std::vector <Interval>&);
Color getDayColor (const Datetime &, const Datetime &, const std::map<Datetime, std::string> &);
Color getDayColor (const Datetime&, const std::map <Datetime, std::string>&);
const Datetime reference_datetime;
const bool with_label_month;
const bool with_label_week;
const bool with_label_weekday;