Files
Upsilon/apps/regression/graph_controller.h
Émilie Feral 23f2ddaced [apps] Factorize the graph view controller of regression and graph apps
Change-Id: Ib586376c3afc0738ea39dd86fb693ec08811281e
2017-01-09 15:08:55 +01:00

28 lines
642 B
C++

#ifndef REGRESSION_GRAPH_CONTROLLER_H
#define REGRESSION_GRAPH_CONTROLLER_H
#include <escher.h>
#include "data.h"
#include "graph_view.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;
};
}
#endif