mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] In float parameter controllers, back has the same
consequence as 'validate' Change-Id: Id45f824c50af2f6e47be5abd9115d98971a1e073
This commit is contained in:
@@ -16,13 +16,6 @@ const char * HistogramParameterController::title() {
|
||||
return I18n::translate(I18n::Message::HistogramSet);
|
||||
}
|
||||
|
||||
void HistogramParameterController::viewWillAppear() {
|
||||
for (int i = 0; i < k_numberOfCells; i++) {
|
||||
m_previousParameters[i] = parameterAtIndex(i);
|
||||
}
|
||||
FloatParameterController::viewWillAppear();
|
||||
}
|
||||
|
||||
int HistogramParameterController::numberOfRows() {
|
||||
return 1+k_numberOfCells;
|
||||
}
|
||||
@@ -54,10 +47,6 @@ float HistogramParameterController::parameterAtIndex(int index) {
|
||||
return m_store->firstDrawnBarAbscissa();
|
||||
}
|
||||
|
||||
float HistogramParameterController::previousParameterAtIndex(int index) {
|
||||
return m_previousParameters[index];
|
||||
}
|
||||
|
||||
bool HistogramParameterController::setParameterAtIndex(int parameterIndex, float f) {
|
||||
assert(parameterIndex >= 0 && parameterIndex < k_numberOfCells);
|
||||
if (parameterIndex == 0) {
|
||||
|
||||
Reference in New Issue
Block a user