Files
Upsilon/apps/statistics/store_controller.cpp
Émilie Feral b17222112a [apps] Change model data -> float pair store.
Change-Id: I72d5291f3168f2588e2a955476724ce95e32e6f5
2017-01-09 15:08:56 +01:00

28 lines
676 B
C++

#include "store_controller.h"
#include "app.h"
#include "../apps_container.h"
#include "../constant.h"
#include <assert.h>
namespace Statistics {
StoreController::StoreController(Responder * parentResponder, Store * store) :
::StoreController(parentResponder, store)
{
}
void StoreController::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");
}
}