mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Reorder and group function declarations
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
58c392b0b9
commit
9fcadaee1c
1 changed files with 13 additions and 22 deletions
35
src/Chart.h
35
src/Chart.h
|
@ -40,34 +40,25 @@ public:
|
|||
std::string render (const Interval&, const std::vector <Interval>&, const std::vector <Range>&, const std::map <Datetime, std::string>&);
|
||||
|
||||
private:
|
||||
std::string renderAxis (int, int, const Color&, const Color&, int);
|
||||
std::string renderDay (Datetime&, const Color&);
|
||||
std::string renderHolidays (const std::map <Datetime, std::string>&);
|
||||
std::string renderMonth (const Datetime&, const Datetime&);
|
||||
std::string renderSubTotal (time_t, const std::string&);
|
||||
std::string renderSummary (const std::string&, const Interval&, const std::vector <Range>&, const std::vector <Interval>&);
|
||||
std::string renderTotal (time_t);
|
||||
std::string renderWeek (const Datetime&, const Datetime&);
|
||||
std::string renderWeekday (Datetime&, const Color&);
|
||||
|
||||
void renderExclusionBlocks (std::vector<Composite>&, const Datetime&, int, int, const std::vector<Range>&, const Color&, const Color&);
|
||||
void renderInterval (std::vector<Composite>&, const Datetime&, const Interval&, int, time_t&);
|
||||
|
||||
unsigned long getIndentSize ();
|
||||
|
||||
std::pair <int, int> determineHourRange (const Interval&, const std::vector <Interval>&);
|
||||
|
||||
std::string renderAxis (int, int, const Color&, const Color&, int);
|
||||
|
||||
std::string renderMonth (const Datetime&, const Datetime&);
|
||||
|
||||
std::string renderWeek (const Datetime&, const Datetime&);
|
||||
|
||||
std::string renderWeekday (Datetime&, const Color&);
|
||||
|
||||
std::string renderDay (Datetime&, const Color&);
|
||||
|
||||
Color getDayColor (const Datetime&, const Datetime&, const std::map <Datetime, std::string>&, const Color&, const Color&);
|
||||
|
||||
std::string renderTotal (time_t);
|
||||
|
||||
std::string renderSubTotal (time_t, const std::string&);
|
||||
|
||||
void renderExclusionBlocks (std::vector<Composite>&, const Datetime&, int, int, const std::vector<Range>&, const Color&, const Color&);
|
||||
|
||||
void renderInterval (std::vector<Composite>&, const Datetime&, const Interval&, int, time_t&);
|
||||
|
||||
std::string renderHolidays (const std::map <Datetime, std::string>&);
|
||||
|
||||
std::string renderSummary (const std::string&, const Interval&, const std::vector <Range>&, const std::vector <Interval>&);
|
||||
|
||||
const bool with_label_month;
|
||||
const bool with_label_week;
|
||||
const bool with_label_weekday;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue