Numworks Epsilon  1.4.1
Graphing Calculator Operating System
function_curve_parameter_controller.cpp
Go to the documentation of this file.
2 #include <assert.h>
3 
4 namespace Shared {
5 
7  ViewController(nullptr),
8  m_goToCell(I18n::Message::Goto),
9  m_selectableTableView(this, this, this),
10  m_function(nullptr)
11 {
12 }
13 
15  return &m_selectableTableView;
16 }
17 
19  if (selectedRow() < 0) {
21  }
23 }
24 
26  if (m_function == nullptr) {
27  return false;
28  }
29  goToParameterController()->setFunction(m_function);
31  stack->push(goToParameterController());
32  return true;
33 }
34 
37 }
38 
40  m_function = function;
41 }
42 
43 }
Definition: i18n.h:6
int16_t KDCoordinate
Definition: coordinate.h:6
void push(ViewController *vc, KDColor textColor=Palette::SubTab, KDColor backgroundColor=KDColorWhite, KDColor separatorColor=Palette::GreyBright)
Responder * parentResponder() const
Definition: responder.cpp:12
FunctionCurveParameterController(InteractiveCurveViewRange *graphRange, CurveViewCursor *cursor)
static constexpr KDCoordinate ParameterCellHeight
Definition: metric.h:15
void setFirstResponder(Responder *responder)
Definition: app.cpp:62
Definition: view.h:23
App * app()
Definition: responder.cpp:77