Files
Upsilon/apps/statistics/data_controller.cpp
Émilie Feral 9c1095092a [apps/statistics] Make data and data controller inherit from classes in
apps/

Change-Id: Ie6a0b95c13a212321c1bf8132c39255f31a71429
2017-01-09 15:08:55 +01:00

28 lines
668 B
C++

#include "data_controller.h"
#include "app.h"
#include "../apps_container.h"
#include "../constant.h"
#include <assert.h>
namespace Statistics {
DataController::DataController(Responder * parentResponder, Data * data) :
::DataController(parentResponder, data)
{
}
void DataController::willDisplayCellAtLocation(TableViewCell * cell, int i, int j) {
EditableCellTableViewController::willDisplayCellAtLocation(cell, i, j);
if (cellAtLocationIsEditable(i, j)) {
return;
}
EvenOddPointerTextCell * mytitleCell = (EvenOddPointerTextCell *)cell;
if (i == 0) {
mytitleCell->setText("Valeurs");
return;
}
mytitleCell->setText("Effectifs");
}
}