| | 1 | | using System; |
| | 2 | |
|
| | 3 | | namespace DCL.SettingsCommon.SettingsControllers.BaseControllers |
| | 4 | | { |
| | 5 | | /// <summary> |
| | 6 | | /// This controller is in charge of manage all the base logic related to a SPIN-BOX CONTROL. |
| | 7 | | /// </summary> |
| | 8 | | public class SpinBoxSettingsControlController : SettingsControlController |
| | 9 | | { |
| | 10 | | public event Action<string[]> OnSetLabels; |
| 4 | 11 | | protected void RaiseOnOverrideIndicatorLabel(string[] labels) { OnSetLabels?.Invoke(labels); } |
| | 12 | |
|
| | 13 | | public event Action<string> OnCurrentLabelChange; |
| 2 | 14 | | protected void RaiseOnCurrentLabelChange(string newCurrentLabel) { OnCurrentLabelChange?.Invoke(newCurrentLabel) |
| | 15 | | } |
| | 16 | | } |