Files
Upsilon/apps/regression/graph_controller.h
Émilie Feral 4c5016006a [apps/regression] display the initialisation parameter page when
clicking on the right button

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

30 lines
764 B
C++

#ifndef REGRESSION_GRAPH_CONTROLLER_H
#define REGRESSION_GRAPH_CONTROLLER_H
#include <escher.h>
#include "data.h"
#include "graph_view.h"
#include "initialisation_parameter_controller.h"
#include "../curve_view_with_banner_and_cursor_controller.h"
namespace Regression {
class GraphController : public CurveViewWindowWithBannerAndCursorController {
public:
GraphController(Responder * parentResponder, HeaderViewController * headerViewController, Data * data);
ViewController * initialisationParameterController() override;
bool isEmpty() override;
const char * emptyMessage() override;
private:
bool handleEnter() override;
GraphView m_view;
Data * m_data;
InitialisationParameterController m_initialisationParameterController;
};
}
#endif