mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] use the chevron menu cell class
Change-Id: Ic5161b729fe2239f75e03666b9d2bb4ceb6e8936
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user