Running Manager  1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
Public Member Functions | List of all members
TodayControl Class Reference

GUI grid showing training a specific day. More...

#include <TodayControl.h>

Inheritance diagram for TodayControl:

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...
 

Detailed Description

GUI grid showing training a specific day.

Constructor & Destructor Documentation

◆ TodayControl()

TodayControl::TodayControl ( wxWindow *  pParent,
Plan plan,
wxDateTime &  day,
PTUnit const &  unit 
)

Constructor.

Parameters
pParentParent
planPlan to extract date from
dayDate to extract
unitUnit (km|miles)

Member Function Documentation

◆ Update()

void TodayControl::Update ( Plan plan,
wxDateTime const &  day,
PTUnit const &  unit,
int const &  index 
)

Update the control with new date.

Parameters
planPlan to extract date from
dayDate to extract
unitUnit (km|miles)
index0 for first training this date, 1 for second training the same date etc.

The documentation for this class was generated from the following file: