mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[apps/calculation] Use the calculation table view in the history view
controller Change-Id: I76a99c5dd3d9c7b97d5b946fa6b4094819088cd9
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Calculation {
|
||||
|
||||
HistoryController::HistoryController(Responder * parentResponder, CalculationStore * calculationStore) :
|
||||
ViewController(parentResponder),
|
||||
m_selectableTableView(SelectableTableView(this, this, 0, 0, 0, 0, this)),
|
||||
m_selectableTableView(CalculationSelectableTableView(this, this, this)),
|
||||
m_calculationStore(calculationStore)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include <poincare.h>
|
||||
#include "history_view_cell.h"
|
||||
#include "calculation_store.h"
|
||||
#include "selectable_table_view.h"
|
||||
|
||||
namespace Calculation {
|
||||
|
||||
@@ -33,7 +34,7 @@ private:
|
||||
constexpr static int k_maxNumberOfDisplayedRows = 10;
|
||||
constexpr static KDCoordinate k_resultHeight = 12;
|
||||
HistoryViewCell m_calculationHistory[k_maxNumberOfDisplayedRows];
|
||||
SelectableTableView m_selectableTableView;
|
||||
CalculationSelectableTableView m_selectableTableView;
|
||||
CalculationStore * m_calculationStore;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user