mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 16:20:49 +01:00
[escher] add default constructor to selectable table view
Change-Id: Iafde15dfabefafe9659e99aa7cbb5bf10fc79030
This commit is contained in:
@@ -6,7 +6,7 @@ namespace Calculation {
|
||||
|
||||
HistoryController::HistoryController(Responder * parentResponder, CalculationStore * calculationStore) :
|
||||
ViewController(parentResponder),
|
||||
m_selectableTableView(SelectableTableView(this, this, 0, 0, 0, 0)),
|
||||
m_selectableTableView(SelectableTableView(this, this)),
|
||||
m_calculationStore(calculationStore)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -14,8 +14,9 @@
|
||||
|
||||
class SelectableTableView : public TableView, public Responder {
|
||||
public:
|
||||
SelectableTableView(Responder * parentResponder, TableViewDataSource * dataSource, KDCoordinate topMargin,
|
||||
KDCoordinate rightMargin, KDCoordinate bottomMargin, KDCoordinate leftMargin);
|
||||
SelectableTableView(Responder * parentResponder, TableViewDataSource * dataSource,
|
||||
KDCoordinate topMargin = 0, KDCoordinate rightMargin = 0, KDCoordinate bottomMargin = 0,
|
||||
KDCoordinate leftMargin = 0);
|
||||
int selectedRow();
|
||||
int selectedColumn();
|
||||
virtual bool handleEvent(Ion::Events::Event event) override;
|
||||
|
||||
Reference in New Issue
Block a user