Files
Upsilon/apps/graph/function.h
Émilie Feral 0f4d7f0914 [apps/shared][apps/graph][apps/sequence] Reorganise list controllers,
function title cells and function expression cells

Change-Id: Idbdae4975c8ed83a023c781dc14929b8c2053bb0
2017-02-16 14:46:04 +01:00

24 lines
584 B
C++

#ifndef GRAPH_FUNCTION_H
#define GRAPH_FUNCTION_H
#include "../shared/function.h"
namespace Graph {
class Function : public Shared::Function {
public:
static constexpr const char * Parameter = "(x)";
using Shared::Function::Function;
Function(const char * text = nullptr, KDColor color = KDColorBlack);
bool displayDerivative();
void setDisplayDerivative(bool display);
float approximateDerivative(float x, Poincare::Context * context, Poincare::Expression::AngleUnit angleUnit) const;
char symbol() const override;
private:
bool m_displayDerivative;
};
}
#endif