6663b6c9
adorian
projet complet av...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef SHARED_VALUES_PARAM_CONTROLLER_H
#define SHARED_VALUES_PARAM_CONTROLLER_H
#include <escher.h>
#include "interval_parameter_controller.h"
namespace Shared {
class ValuesParameterController : public ViewController, public SimpleListViewDataSource, public SelectableTableViewDataSource {
public:
ValuesParameterController(Responder * parentResponder, IntervalParameterController * intervalParameterController, I18n::Message title);
View * view() override;
const char * title() override;
bool handleEvent(Ion::Events::Event event) override;
void willDisplayCellForIndex(HighlightCell * cell, int index) override;
void didBecomeFirstResponder() override;
int numberOfRows() override;
KDCoordinate cellHeight() override;
HighlightCell * reusableCell(int index) override;
int reusableCellCount() override;
private:
#if COPY_COLUMN
constexpr static int k_totalNumberOfCell = 3;
MessageTableCellWithChevron m_copyColumn;
#else
constexpr static int k_totalNumberOfCell = 2;
#endif
I18n::Message m_pageTitle;
MessageTableCell m_deleteColumn;
MessageTableCellWithChevron m_setInterval;
SelectableTableView m_selectableTableView;
IntervalParameterController * m_intervalParameterController;
};
}
#endif
|