mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps/shared] Set buttonAction method as protected
Change-Id: Iaef80fdbb6083be688fadc2b5fc515dbbd0d004c
This commit is contained in:
committed by
Émilie Feral
parent
aadf8f5716
commit
cab22fcbce
@@ -38,11 +38,11 @@ protected:
|
||||
int activeCell();
|
||||
StackViewController * stackController();
|
||||
virtual T parameterAtIndex(int index) = 0;
|
||||
virtual void buttonAction();
|
||||
SelectableTableView m_selectableTableView;
|
||||
ButtonWithSeparator m_okButton;
|
||||
private:
|
||||
constexpr static int k_buttonMargin = 6;
|
||||
virtual void buttonAction();
|
||||
virtual InfinityTolerance infinityAllowanceForRow(int row) const { return InfinityTolerance::None; }
|
||||
virtual int reusableParameterCellCount(int type) = 0;
|
||||
virtual HighlightCell * reusableParameterCell(int index, int type) = 0;
|
||||
|
||||
@@ -88,8 +88,7 @@ void RangeParameterController::buttonAction() {
|
||||
m_interactiveRange->setZoomAuto(false);
|
||||
m_interactiveRange->setZoomNormalize(m_interactiveRange->isOrthonormal());
|
||||
|
||||
StackViewController * stack = stackController();
|
||||
stack->pop();
|
||||
FloatParameterController::buttonAction();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user