Add option to display affines in polar coords.

This commit is contained in:
mfeemster
2015-02-03 17:11:16 -08:00
parent b1d5db261b
commit c01f444d52
6 changed files with 177 additions and 72 deletions

View File

@ -71,6 +71,14 @@ void DoubleSpinBox::DoubleClickNonZero(double val)
m_DoubleClickNonZero = val;
}
/// <summary>
/// Get the default step used when the user scrolls.
/// </summary>
double DoubleSpinBox::Step()
{
return m_Step;
}
/// <summary>
/// Set the default step to be used when the user scrolls.
/// </summary>
@ -80,6 +88,14 @@ void DoubleSpinBox::Step(double step)
m_Step = step;
}
/// <summary>
/// Get the small step to be used when the user holds down shift while scrolling.
/// </summary>
double DoubleSpinBox::SmallStep()
{
return m_SmallStep;
}
/// <summary>
/// Set the small step to be used when the user holds down shift while scrolling.
/// The default is step / 10, so use this if something else is needed.