Files
Upsilon/apps/regression/graph_controller.h
Émilie Feral 07cd605234 [apps/regression] Display the prediction parameter page when clicking on
the regression curve

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

32 lines
874 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 "prediction_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;
PredictionParameterController m_predictionParameterController;
};
}
#endif