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/ColorSelector.cs | |
| parent | e3c509d4a9a27f663a3a95ab697bfdb2e880172d (diff) | |
- test with both parameterless ctor and with iface param ctorInCodeInstatiation
- CurrentInterface as field
Diffstat (limited to 'src/GraphicObjects/ColorSelector.cs')
| -rw-r--r-- | src/GraphicObjects/ColorSelector.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GraphicObjects/ColorSelector.cs b/src/GraphicObjects/ColorSelector.cs index c9f3a198..4dfc68f6 100644 --- a/src/GraphicObjects/ColorSelector.cs +++ b/src/GraphicObjects/ColorSelector.cs @@ -32,9 +32,10 @@ namespace Crow { public class ColorSelector : GraphicObject { - public ColorSelector (): base() - { - } + #region CTOR + public ColorSelector () : base(){} + public ColorSelector (Interface iface) : base(iface){} + #endregion const double div = 255.0; const double colDiv = 1.0 / div; |