mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-20 14:20:39 +01:00
24 lines
932 B
C++
24 lines
932 B
C++
#ifndef GRAPH_INTEGRAL_GRAPH_CONTROLLER_H
|
|
#define GRAPH_INTEGRAL_GRAPH_CONTROLLER_H
|
|
|
|
#include <escher.h>
|
|
#include "graph_view.h"
|
|
#include "../../shared/sum_graph_controller.h"
|
|
|
|
namespace Graph {
|
|
|
|
class IntegralGraphController : public Shared::SumGraphController {
|
|
public:
|
|
IntegralGraphController(Responder * parentResponder, InputEventHandlerDelegate * inputEventHandlerDelegate, GraphView * graphView, Shared::InteractiveCurveViewRange * graphRange, Shared::CurveViewCursor * cursor);
|
|
const char * title() override;
|
|
private:
|
|
I18n::Message legendMessageAtStep(Step step) override;
|
|
double cursorNextStep(double position, int direction) override;
|
|
Poincare::Layout createFunctionLayout(Shared::ExpiringPointer<Shared::Function> function) override;
|
|
Poincare::Expression sumBetweenBounds(Shared::ExpiringPointer<Shared::Function> function, double start, double end, Poincare::Context * context) const override;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|