diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-11 17:01:00 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-12 10:33:24 +0100 |
| commit | 0f813f1c3d1bc3e4deeee089d771eb0443949e3f (patch) | |
| tree | edd60eedf4e78439bb04bd906f5bc5f2ca46f99f /src/GraphicObjects/PrivateContainer.cs | |
| parent | 44caf51048bde7e9daf78acc779278642c798748 (diff) | |
temp save to make test in master
Diffstat (limited to 'src/GraphicObjects/PrivateContainer.cs')
| -rw-r--r-- | src/GraphicObjects/PrivateContainer.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/GraphicObjects/PrivateContainer.cs b/src/GraphicObjects/PrivateContainer.cs index 9f787eac..63f4f02a 100644 --- a/src/GraphicObjects/PrivateContainer.cs +++ b/src/GraphicObjects/PrivateContainer.cs @@ -139,24 +139,21 @@ namespace Crow return Parent.ContextCoordinates(r) + Slot.Position + ClientRectangle.Position; } - public override void Paint(ref Cairo.Context ctx, Rectangles clip = null) + public override void Paint(ref Cairo.Context ctx) { if (!Visible)//check if necessary?? return; ctx.Save(); - if (clip != null) - clip.clip(ctx); - - base.Paint(ref ctx, clip); + base.Paint(ref ctx); //clip to client zone CairoHelpers.CairoRectangle (ctx, Parent.ContextCoordinates(ClientRectangle + Slot.Position), CornerRadius); ctx.Clip(); if (child != null) - child.Paint(ref ctx, clip); + child.Paint(ref ctx); ctx.Restore(); } |