![]() |
Running Manager
1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
|
GUI grid showing training a specific day. More...
#include <TodayControl.h>
Public Member Functions | |
TodayControl (wxWindow *pParent, Plan &plan, wxDateTime &day, PTUnit const &unit) | |
Constructor. More... | |
void | Update (Plan &plan, wxDateTime const &day, PTUnit const &unit, int const &index) |
Update the control with new date. More... | |
GUI grid showing training a specific day.
TodayControl::TodayControl | ( | wxWindow * | pParent, |
Plan & | plan, | ||
wxDateTime & | day, | ||
PTUnit const & | unit | ||
) |
Constructor.
pParent | Parent |
plan | Plan to extract date from |
day | Date to extract |
unit | Unit (km|miles) |
void TodayControl::Update | ( | Plan & | plan, |
wxDateTime const & | day, | ||
PTUnit const & | unit, | ||
int const & | index | ||
) |
Update the control with new date.
plan | Plan to extract date from |
day | Date to extract |
unit | Unit (km|miles) |
index | 0 for first training this date, 1 for second training the same date etc. |