aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/SaturationValueSelector.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2017-05-27 18:35:01 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2017-05-27 18:35:01 +0200
commit4d1f3264dc4b4ddc211164712e0d2d654a913bb7 (patch)
tree30655ea8f740eaf115a06c2ebfaaad29a7bcb39e /src/GraphicObjects/SaturationValueSelector.cs
parent8d385b053423c16e18d02467bdd54be17c3b42aa (diff)
c native GraphicObject implementation, work in progressTestKMS
Diffstat (limited to 'src/GraphicObjects/SaturationValueSelector.cs')
-rw-r--r--src/GraphicObjects/SaturationValueSelector.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/SaturationValueSelector.cs b/src/GraphicObjects/SaturationValueSelector.cs
index 39c324f4..0abf07cb 100644
--- a/src/GraphicObjects/SaturationValueSelector.cs
+++ b/src/GraphicObjects/SaturationValueSelector.cs
@@ -90,11 +90,11 @@ namespace Crow
gr.Fill();
}
- public override void Paint (ref Context ctx)
+ unsafe public override void Paint (ref Context ctx)
{
base.Paint (ref ctx);
- Rectangle rb = Slot + Parent.ClientRectangle.Position;
+ Rectangle rb = nativeHnd->Slot + Parent.ClientRectangle.Position;
ctx.Save ();
ctx.Translate (rb.X, rb.Y);