Files
Upsilon/apps/statistics/store_controller.cpp
Émilie Feral e422228cc1 [apps/statistics][apps/regression] Add an header in the store controller
for rendering purpose

Change-Id: I888247e051e4c04b8f0e132af33cdbae52ba46e1
2017-01-27 11:15:21 +01:00

28 lines
715 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, HeaderViewController * header) :
::StoreController(parentResponder, store, header)
{
}
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");
}
}