Running Manager  1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
D:/dev/running-manager/ZoneGrid.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <wx/grid.h>
4 #include <wx/datetime.h>
5 #include <vector>
6 #include <Defines.h>
7 #include <Zone.h>
8 
13 class ZoneGrid : public wxGrid {
14 public:
15 
16  ZoneGrid(wxWindow *pParent);
17  void OnGridCellChanging( wxGridEvent &e );
18 
19  bool UpdatePulse( int const &pulse );
20 
21  bool UpdatePace(PTUnit const &unit);
22 
23  bool UpdatePace( wxTimeSpan const &pace, bool isMin, int zoneLevel, PTUnit const &unit );
24 
25  //std::vector<Zone> *pZoneMap;
26 
27  //std::vector<wxTimeSpan> minPace;
28  //std::vector<wxTimeSpan> maxPace;
29 
30  DECLARE_EVENT_TABLE()
31 };
PTUnit
Unit.
Definition: Defines.h:69
GUI for zones.
Definition: ZoneGrid.h:13
ZoneGrid(wxWindow *pParent)
bool UpdatePulse(int const &pulse)
bool UpdatePace(PTUnit const &unit)
void OnGridCellChanging(wxGridEvent &e)