mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-20 01:08:15 +01:00
28 lines
668 B
C++
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");
|
|
}
|
|
|
|
}
|