[apps] use the chevron menu cell class

Change-Id: Ic5161b729fe2239f75e03666b9d2bb4ceb6e8936
This commit is contained in:
Émilie Feral
2016-11-08 15:51:04 +01:00
parent 3090b06956
commit e98b64f2eb
9 changed files with 11 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ namespace Graph {
ParameterController::ParameterController(Responder * parentResponder, FunctionStore * functionStore) :
ViewController(parentResponder),
m_colorCell(MenuListCell((char*)"Couleur de la fonction")),
m_colorCell(ChevronMenuListCell((char*)"Couleur de la fonction")),
m_enableCell(SwitchMenuListCell((char*)"Activer/Desactiver")),
m_deleteCell(MenuListCell((char*)"Supprimer la fonction")),
m_selectableTableView(SelectableTableView(this, this, Metric::TopMargin, Metric::RightMargin,

View File

@@ -24,7 +24,7 @@ public:
private:
bool handleEnter();
constexpr static int k_totalNumberOfCell = 3;
MenuListCell m_colorCell;
ChevronMenuListCell m_colorCell;
SwitchMenuListCell m_enableCell;
MenuListCell m_deleteCell;
SelectableTableView m_selectableTableView;

View File

@@ -6,8 +6,8 @@ namespace Graph {
AbscissaParameterController::AbscissaParameterController(Responder * parentResponder, ValuesParameterController * valuesParameterController) :
ViewController(parentResponder),
m_deleteColumn(MenuListCell((char*)"Effacer la colonne")),
m_copyColumn(MenuListCell((char*)"Copier la colonne dans une liste")),
m_setInterval(MenuListCell((char*)"Regler l'intervalle")),
m_copyColumn(ChevronMenuListCell((char*)"Copier la colonne dans une liste")),
m_setInterval(ChevronMenuListCell((char*)"Regler l'intervalle")),
m_selectableTableView(SelectableTableView(this, this, Metric::TopMargin, Metric::RightMargin,
Metric::BottomMargin, Metric::LeftMargin)),
m_valuesParameterController(valuesParameterController)

View File

@@ -21,8 +21,8 @@ private:
bool handleEnter();
constexpr static int k_totalNumberOfCell = 3;
MenuListCell m_deleteColumn;
MenuListCell m_copyColumn;
MenuListCell m_setInterval;
ChevronMenuListCell m_copyColumn;
ChevronMenuListCell m_setInterval;
SelectableTableView m_selectableTableView;
ValuesParameterController * m_valuesParameterController;
};

View File

@@ -7,7 +7,7 @@ DerivativeParameterController::DerivativeParameterController(Responder * parentR
ViewController(parentResponder),
m_pageTitle{"Colonne f'(x)"},
m_hideColumn(MenuListCell((char*)"Masquer la colonne de la derivee")),
m_copyColumn(MenuListCell((char*)"Copier la colonne dans une liste")),
m_copyColumn(ChevronMenuListCell((char*)"Copier la colonne dans une liste")),
m_selectableTableView(SelectableTableView(this, this, Metric::TopMargin, Metric::RightMargin,
Metric::BottomMargin, Metric::LeftMargin)),
m_function(nullptr)

View File

@@ -25,7 +25,7 @@ private:
constexpr static int k_maxNumberOfCharsInTitle = 16;
char m_pageTitle[k_maxNumberOfCharsInTitle];
MenuListCell m_hideColumn;
MenuListCell m_copyColumn;
ChevronMenuListCell m_copyColumn;
SelectableTableView m_selectableTableView;
Function * m_function;
};

View File

@@ -7,7 +7,7 @@ FunctionParameterController::FunctionParameterController(Responder * parentRespo
ViewController(parentResponder),
m_pageTitle{"Colonne f(x)"},
m_displayDerivativeColumn(SwitchMenuListCell((char*)"Colonne de la fonction derivee")),
m_copyColumn(MenuListCell((char*)"Copier la colonne dans une liste")),
m_copyColumn(ChevronMenuListCell((char*)"Copier la colonne dans une liste")),
m_selectableTableView(SelectableTableView(this, this, Metric::TopMargin, Metric::RightMargin,
Metric::BottomMargin, Metric::LeftMargin)),
m_function(nullptr)

View File

@@ -26,7 +26,7 @@ private:
constexpr static int k_maxNumberOfCharsInTitle = 16;
char m_pageTitle[k_maxNumberOfCharsInTitle];
SwitchMenuListCell m_displayDerivativeColumn;
MenuListCell m_copyColumn;
ChevronMenuListCell m_copyColumn;
SelectableTableView m_selectableTableView;
Function * m_function;
};

View File

@@ -28,7 +28,7 @@ private:
constexpr static KDCoordinate k_commandRowHeight = 50;
constexpr static KDCoordinate k_menuRowHeight = 40;
MenuListCell m_commandCells[k_maxNumberOfDisplayedRows];
MenuListCell m_menuCells[k_maxNumberOfDisplayedRows];
ChevronMenuListCell m_menuCells[k_maxNumberOfDisplayedRows];
SelectableTableView m_selectableTableView;
TextField * m_textFieldCaller;
Node * m_toolBoxModel;