Running Manager  1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
D:/dev/running-manager/TodayControl.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Plan.h>
4 #include <wx/html/htmlwin.h>
5 #include <wx/datetime.h>
6 #include <wx/grid.h>
7 
11 class TodayControl : public wxGrid {
12 public:
20  TodayControl(wxWindow *pParent, Plan &plan, wxDateTime &day, PTUnit const &unit);
21 
29  void Update(Plan &plan, wxDateTime const &day, PTUnit const &unit, int const &index);
30 private:
31  Plan *cpLastPlan;
32  wxDateTime cLastDate;
33  PTUnit cLastUnit;
34  int cLastIndex;
35 // wxGrid *table;
36 };
PTUnit
Unit.
Definition: Defines.h:69
GUI grid showing training a specific day.
Definition: TodayControl.h:11
void Update(Plan &plan, wxDateTime const &day, PTUnit const &unit, int const &index)
Update the control with new date.
A training plan.
Definition: Plan.h:11
TodayControl(wxWindow *pParent, Plan &plan, wxDateTime &day, PTUnit const &unit)
Constructor.