diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-01-30 00:28:05 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-01-30 00:28:05 +0100 |
| commit | c29275576f75534c9fd109b3d3717ab52ec8415b (patch) | |
| tree | 2bb12851411af33988a43ea9a35bfe4ee34eba83 /src/GraphicObjects/GraduatedSlider.cs | |
| parent | e3c509d4a9a27f663a3a95ab697bfdb2e880172d (diff) | |
- test with both parameterless ctor and with iface param ctorInCodeInstatiation
- CurrentInterface as field
Diffstat (limited to 'src/GraphicObjects/GraduatedSlider.cs')
| -rw-r--r-- | src/GraphicObjects/GraduatedSlider.cs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/GraphicObjects/GraduatedSlider.cs b/src/GraphicObjects/GraduatedSlider.cs index 0721e767..b8d7d581 100644 --- a/src/GraphicObjects/GraduatedSlider.cs +++ b/src/GraphicObjects/GraduatedSlider.cs @@ -36,16 +36,17 @@ namespace Crow public class GraduatedSlider : Slider { #region CTOR - public GraduatedSlider() : base() + public GraduatedSlider () : base(){} + public GraduatedSlider(Interface iface) : base(iface) {} - public GraduatedSlider(double minimum, double maximum, double step) - : base() - { - Minimum = minimum; - Maximum = maximum; - SmallIncrement = step; - LargeIncrement = step * 5; - } +// public GraduatedSlider(double minimum, double maximum, double step) +// : base() +// { +// Minimum = minimum; +// Maximum = maximum; +// SmallIncrement = step; +// LargeIncrement = step * 5; +// } #endregion protected override void DrawGraduations(Context gr, PointD pStart, PointD pEnd) |