[escher] add a boolean in table constructor to choose whether to paint

the backgroung

Change-Id: Idee8aff20ab86011775e9a995a2d2f425b60df67
This commit is contained in:
Émilie Feral
2016-12-06 15:27:06 +01:00
parent 9f18606926
commit 37da7b95a2
6 changed files with 29 additions and 12 deletions

View File

@@ -1,9 +1,10 @@
#include <escher/selectable_table_view.h>
SelectableTableView::SelectableTableView(Responder * parentResponder, TableViewDataSource * dataSource,
KDCoordinate topMargin, KDCoordinate rightMargin, KDCoordinate bottomMargin, KDCoordinate leftMargin,
SelectableTableViewDelegate * delegate) :
TableView(dataSource, topMargin, rightMargin, bottomMargin, leftMargin),
KDCoordinate topMargin, KDCoordinate rightMargin, KDCoordinate bottomMargin, KDCoordinate leftMargin,
SelectableTableViewDelegate * delegate, bool showIndicators, bool colorBackground,
KDColor backgroundColor) :
TableView(dataSource, topMargin, rightMargin, bottomMargin, leftMargin, showIndicators, colorBackground, backgroundColor),
Responder(parentResponder),
m_delegate(delegate),
m_selectedCellX(0),