2 #include "../../shared/text_field_delegate.h" 3 #include "../../../poincare/src/layout/baseline_relative_layout.h" 4 #include "../../../poincare/src/layout/string_layout.h" 25 bool TermSumController::moveCursorHorizontallyToPosition(
double position) {
29 return SumGraphController::moveCursorHorizontallyToPosition(
std::round(position));
32 I18n::Message TermSumController::legendMessageAtStep(Step step) {
35 return I18n::Message::SelectFirstTerm;
37 return I18n::Message::SelectLastTerm;
39 return I18n::Message::Default;
43 double TermSumController::cursorNextStep(
double x,
int direction) {
44 double delta = direction > 0 ? 1.0 : -1.0;
48 ExpressionLayout * TermSumController::createFunctionLayout(
const char * functionName) {
enum Message uint16_t enum Language uint16_t const char * translate(Message m, Language l=(Language) 0)
CurveViewCursor * m_cursor
const char * title() override