Files
Upsilon/apps/graph/graph/initialisation_parameter_controller.h
Émilie Feral ff6d0a64bd [apps/graph/grpah] Correct implementation of the default initialisation
parameter page

Change-Id: If25c5b6fd80a78017386522c693ec6389154faab
2017-01-09 15:08:55 +01:00

31 lines
971 B
C++

#ifndef GRAPH_GRAPH_INITIALISATION_PARAMETER_CONTROLLER_H
#define GRAPH_GRAPH_INITIALISATION_PARAMETER_CONTROLLER_H
#include <escher.h>
#include "graph_window.h"
namespace Graph {
class InitialisationParameterController : public ViewController, public SimpleListViewDataSource {
public:
InitialisationParameterController(Responder * parentResponder, GraphWindow * graphWindow);
View * view() override;
const char * title() const override;
bool handleEvent(Ion::Events::Event event) override;
void didBecomeFirstResponder() override;
int numberOfRows() override;
KDCoordinate cellHeight() override;
TableViewCell * reusableCell(int index) override;
int reusableCellCount() override;
void willDisplayCellForIndex(TableViewCell * cell, int index) override;
private:
constexpr static int k_totalNumberOfCells = 4;
MenuListCell m_cells[k_totalNumberOfCells];
SelectableTableView m_selectableTableView;
GraphWindow * m_graphWindow;
};
}
#endif