mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Add field reference_hour
, extract determination of color for hour label
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
a6b9e4204c
commit
920e3b4019
2 changed files with 14 additions and 11 deletions
|
@ -58,6 +58,7 @@ private:
|
|||
std::pair <int, int> determineHourRange (const Interval&, const std::vector <Interval>&);
|
||||
|
||||
Color getDayColor (const Datetime&, const std::map <Datetime, std::string>&);
|
||||
Color getHourColor (int) const;
|
||||
|
||||
const Datetime reference_datetime;
|
||||
const bool with_label_month;
|
||||
|
@ -79,7 +80,9 @@ private:
|
|||
const Color color_label;
|
||||
const Color color_exclusion;
|
||||
const std::map<std::string, Color> tag_colors;
|
||||
|
||||
const int cell_width;
|
||||
const int reference_hour;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue