mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Rework of timers and bigger text in toolboxes
This commit is contained in:
@@ -109,7 +109,7 @@ void CalculationParameterController::willDisplayCellForIndex(HighlightCell * cel
|
||||
assert(index >= 0 && index <= numberOfRows());
|
||||
if (cell != &m_preimageCell) {
|
||||
I18n::Message titles[] = {I18n::Message::Intersection, I18n::Message::Maximum, I18n::Message::Minimum, I18n::Message::Zeros, I18n::Message::Tangent, I18n::Message::Integral};
|
||||
static_cast<MessageTableCell *>(cell)->setMessage(titles[index - 1 + !shouldDisplayIntersection()]);
|
||||
static_cast<MessageTableCell<> *>(cell)->setMessage(titles[index - 1 + !shouldDisplayIntersection()]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -32,9 +32,9 @@ public:
|
||||
void setRecord(Ion::Storage::Record record);
|
||||
private:
|
||||
bool shouldDisplayIntersection() const;
|
||||
MessageTableCellWithChevron m_preimageCell;
|
||||
MessageTableCellWithChevron<> m_preimageCell;
|
||||
constexpr static int k_totalNumberOfReusableCells = 6;
|
||||
MessageTableCell m_cells[k_totalNumberOfReusableCells];
|
||||
MessageTableCell<> m_cells[k_totalNumberOfReusableCells];
|
||||
SelectableTableView m_selectableTableView;
|
||||
Ion::Storage::Record m_record;
|
||||
PreimageParameterController m_preimageParameterController;
|
||||
|
||||
@@ -25,7 +25,7 @@ private:
|
||||
Shared::FunctionGoToParameterController * goToParameterController() override;
|
||||
Shared::FunctionGoToParameterController m_goToParameterController;
|
||||
GraphController * m_graphController;
|
||||
MessageTableCellWithChevron m_calculationCell;
|
||||
MessageTableCellWithChevron<> m_calculationCell;
|
||||
MessageTableCellWithSwitch m_derivativeCell;
|
||||
CalculationParameterController m_calculationParameterController;
|
||||
};
|
||||
|
||||
@@ -28,7 +28,7 @@ private:
|
||||
MessageTableCellWithChevronAndBuffer m_functionDomain;
|
||||
TypeParameterController m_typeParameterController;
|
||||
DomainParameterController m_domainParameterController;
|
||||
MessageTableCell m_renameCell;
|
||||
MessageTableCell<> m_renameCell;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -33,9 +33,9 @@ private:
|
||||
#endif
|
||||
constexpr static int k_maxNumberOfCharsInTitle = Shared::Function::k_maxNameWithArgumentSize + 1; // +1 for the ' of the derivative
|
||||
char m_pageTitle[k_maxNumberOfCharsInTitle];
|
||||
MessageTableCell m_hideColumn;
|
||||
MessageTableCell<> m_hideColumn;
|
||||
#if COPY_COLUMN
|
||||
MessageTableCellWithChevron m_copyColumn;
|
||||
MessageTableCellWithChevron<> m_copyColumn;
|
||||
#endif
|
||||
SelectableTableView m_selectableTableView;
|
||||
Ion::Storage::Record m_record;
|
||||
|
||||
@@ -69,7 +69,7 @@ int IntervalParameterSelectorController::reusableCellCount() const {
|
||||
void IntervalParameterSelectorController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
assert(0 <= index && index < numberOfRows());
|
||||
Shared::ContinuousFunction::PlotType plotType = plotTypeAtRow(index);
|
||||
static_cast<MessageTableCellWithChevron *>(cell)->setMessage(messageForType(plotType));
|
||||
static_cast<MessageTableCellWithChevron<> *>(cell)->setMessage(messageForType(plotType));
|
||||
}
|
||||
|
||||
Shared::ContinuousFunction::PlotType IntervalParameterSelectorController::plotTypeAtRow(int j) const {
|
||||
|
||||
@@ -24,7 +24,7 @@ public:
|
||||
private:
|
||||
Shared::ContinuousFunction::PlotType plotTypeAtRow(int j) const;
|
||||
I18n::Message messageForType(Shared::ContinuousFunction::PlotType plotType);
|
||||
MessageTableCellWithChevron m_intervalParameterCell[Shared::ContinuousFunction::k_numberOfPlotTypes];
|
||||
MessageTableCellWithChevron<> m_intervalParameterCell[Shared::ContinuousFunction::k_numberOfPlotTypes];
|
||||
SelectableTableView m_selectableTableView;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user