Commit Graph

3741 Commits

Author SHA1 Message Date
Ruben Dashyan
35ee467965 [apps/graph/cartesian_function_store] Define activeRecordOfTypeAtIndex 2019-08-29 13:51:49 +02:00
Ruben Dashyan
826e2c7aaf [apps/shared/values_controller] Clean assertions in reusableCell 2019-08-29 13:51:49 +02:00
Ruben Dashyan
580f0f79f5 [apps/graph/values_controller] Define numberOfColumnsForRecord 2019-08-29 13:51:49 +02:00
Ruben Dashyan
b0d7344d6b [apps/graph/values_controller] Clean handling of (in)active functions 2019-08-29 13:51:49 +02:00
Ruben Dashyan
fce39adb8b [apps/graph/values_controller] Remove the isDerivativeColumn method
and fill instead a boolean isDerivative through recordAtColumn.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
4a0746fd44 [apps/graph/values_controller] functionParameterController() returns the derivative controller
when a derivative function column is selected.
Remove configureDerivativeFunction and handleEvent.
2019-08-29 13:51:49 +02:00
Ruben Dashyan
5cdecc252f [apps/shared/values_controller] Remove configureAbscissa() and configureFunction() 2019-08-29 13:51:49 +02:00
Ruben Dashyan
6bee336349 [apps/*/values_controller] functionParameterController() returns a ViewController * 2019-08-29 13:51:49 +02:00
Ruben Dashyan
f5e721239b [apps/shared/store_controller] Clean handling of empty cells 2019-08-29 13:51:49 +02:00
Ruben Dashyan
2e5ded2aa9 [apps/shared/editable_cell_table_view_controller] Factor textFieldDidFinishEditing 2019-08-29 13:51:49 +02:00
Ruben Dashyan
d8cac0e95f [apps/shared/editable_cell_table_view_controller] Factor setEven in willDisplayCellAtLocationWithDisplayMode 2019-08-29 13:51:49 +02:00
Ruben Dashyan
7d411fe61f [apps/shared/editable_cell_table_view_controller] Assert cell is not being edited before setEven 2019-08-29 13:51:49 +02:00
Ruben Dashyan
d9028b2cc5 [apps/shared/values_controller] Simplify typeAtLocation 2019-08-29 13:51:49 +02:00
Ruben Dashyan
04fcc0eac4 [apps/*/editable_cell_table_view_controller] Use typeAtLocation 2019-08-29 13:51:49 +02:00
Ruben Dashyan
dbb7d3d01c [apps/shared/values_controller] Simplify handleEvent 2019-08-29 13:51:49 +02:00
Ruben Dashyan
345b0bf615 [apps/shared/tab_table_controller] Remove implementation of pure virtual method 2019-08-29 13:51:49 +02:00
Ruben Dashyan
2ee4d437f7 [apps/shared/store_controller] Inline selectableTableView in header 2019-08-29 13:51:49 +02:00
Ruben Dashyan
1da30fb775 [apps/shared/(values|store)_controller] Inline maxNumberOfElements in header 2019-08-29 13:51:49 +02:00
Ruben Dashyan
fa85293467 [apps/shared/editable_cell_table_view_controller] numberOfElements depends on column 2019-08-29 13:51:49 +02:00
Ruben Dashyan
73a99fd6d0 [apps/shared/values_controller] Simplify handleEvent 2019-08-29 13:51:49 +02:00
Ruben Dashyan
ea40f67d63 [apps/shared/editable_cell_table_view_controller] Clean numberOfRows 2019-08-29 13:51:49 +02:00
Ruben Dashyan
eb614860eb [apps/shared/store_controller] Remove cellShouldBeTransparent 2019-08-29 13:51:49 +02:00
Ruben Dashyan
4ec7b801fd [apps/shared/values_controller] Clean willDisplayCellAtLocation 2019-08-29 13:51:49 +02:00
Ruben Dashyan
c9b28840c3 [apps/shared/editable_cell_table_view_controller] Clean willDisplayCellAtLocationWithDisplayMode 2019-08-29 13:51:49 +02:00
Léa Saviot
55e9ed1c58 [apps] Clearer TODO comment 2019-08-29 11:19:11 +02:00
Léa Saviot
24d1594255 [apps] Draw curves according to their definition domain 2019-08-29 11:07:22 +02:00
Léa Saviot
f44c086804 [apps/cartesian_function] Fix angle conversion 2019-08-29 11:07:22 +02:00
Léa Saviot
a945c02edf [poincare/Coordinate2D] Rename members x1 and x2 2019-08-29 11:07:22 +02:00
Léa Saviot
c71ef7ff79 [apps/graph] Evaluation methods renaming 2019-08-29 11:07:22 +02:00
Léa Saviot
28a721e96e [apps] Start fixing apps as cursor has new member variable 2019-08-29 11:07:22 +02:00
Léa Saviot
1caa0fb051 [apps/shared] tMin and tMax attributes to CartesianFunction 2019-08-29 11:07:22 +02:00
Léa Saviot
a45af36bfe [apps/curve_view_cursor] t member 2019-08-29 11:07:22 +02:00
Léa Saviot
7ea7ecd3c2 [poincare/coordinate2D] Rename member values to x and y 2019-08-29 11:07:22 +02:00
Léa Saviot
a15bc53e06 [poincare/Coordinate2D] Template for double or float 2019-08-29 11:07:22 +02:00
Léa Saviot
22dd9752a5 [apps/function_curve_parameter_controller] Coding style 2019-08-29 11:07:22 +02:00
Léa Saviot
7d36634303 [apps/graph] Fix CurveParamCtrlr relayouting bug
Scenario:
f(x) = 1, g(theta) = 2, go to Graph.
Press ok on the polar curve, then Back, then OK on the cartesian curve :
the menu is drawn as if the curve was still polar.
2019-08-29 11:07:22 +02:00
Léa Saviot
ced3cc7e0c [apps/graph] Clean curveParamCtrlr reusableCellCount 2019-08-29 11:07:22 +02:00
Ruben Dashyan
66e2119f30 [apps/graph/curve_parameter_controller] Customize menu according to plot type 2019-08-29 11:07:22 +02:00
Ruben Dashyan
acd1d112be [apps/graph/app] XNT depends on plot type when editing a function 2019-08-29 11:07:22 +02:00
Ruben Dashyan
82951b0672 [apps] App::XNT() returns a CodePoint instead of a char 2019-08-29 11:07:22 +02:00
Ruben Dashyan
381a92f991 [apps] Remove unnecessary overriding 2019-08-29 11:07:22 +02:00
Ruben Dashyan
998a80fbcc [apps/graph/list] Add TypeParameterController to ListParameterController 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9b52d0d1f9 [apps/graph/list] Define TypeParameterController class 2019-08-29 11:07:22 +02:00
Ruben Dashyan
5a79139fb7 [apps/graph/list] Define PlotTypeHelper 2019-08-29 11:07:22 +02:00
Ruben Dashyan
0f3fc46ad1 [escher/message_table_cell_with_chevron_and_expression] subAccessoryView has margin by default 2019-08-29 11:07:22 +02:00
Ruben Dashyan
9a803013b6 [apps/graph/graph_view] WIP: drawCurve according to PlotType 2019-08-29 11:07:22 +02:00
Ruben Dashyan
73a7098d80 [apps/shared/curve_view] drawCurve gets tStart, tEnd, tStep as parameters 2019-08-29 11:07:22 +02:00
Ruben Dashyan
0f7aebb045 [apps/shared/curve_view] New boolean parameter controls whether drawCurve draws straight lines early 2019-08-29 11:07:22 +02:00
Ruben Dashyan
965ad60583 [apps/shared/curve_view] WIP: Call x|yEvaluation with parameter t 2019-08-29 11:07:22 +02:00
Ruben Dashyan
f46692f9b4 [apps/shared/curve_view] WIP: jointDots takes t and s float parameters 2019-08-29 11:07:22 +02:00