mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 06:40:37 +01:00
[apps/graph/graph] Make the cursor position belong to th emodel
"GraphWindow" Change-Id: I8cdcda85f0e29e4b678829f39b8bd212cd8d1086
This commit is contained in:
@@ -4,12 +4,11 @@
|
||||
|
||||
namespace Graph {
|
||||
|
||||
InitialisationParameterController::InitialisationParameterController(Responder * parentResponder, GraphWindow * graphWindow, GraphView * graphView) :
|
||||
InitialisationParameterController::InitialisationParameterController(Responder * parentResponder, GraphWindow * graphWindow) :
|
||||
ViewController(parentResponder),
|
||||
m_selectableTableView(SelectableTableView(this, this, Metric::TopMargin, Metric::RightMargin,
|
||||
Metric::BottomMargin, Metric::LeftMargin)),
|
||||
m_graphWindow(graphWindow),
|
||||
m_graphView(graphView)
|
||||
m_graphWindow(graphWindow)
|
||||
{
|
||||
m_cells[0].setText("Trigonometrique");
|
||||
m_cells[1].setText("Abscisses entieres");
|
||||
@@ -54,7 +53,7 @@ bool InitialisationParameterController::handleEvent(Ion::Events::Event event) {
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
m_graphView->initCursorPosition();
|
||||
m_graphWindow->initCursorPosition();
|
||||
StackViewController * stack = (StackViewController *)parentResponder();
|
||||
stack->pop();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user