aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/Group.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2015-09-21 08:30:08 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2015-09-21 08:30:09 +0200
commitf662d49464e2b8326522aad67761ffdcb8a5e5f6 (patch)
treef767f75977721299da029518ec938bfa0366597b /src/GraphicObjects/Group.cs
parentdb3a636d9c4de1e4ee1d4e79e6dfeae738daac8d (diff)
* BmpPicture.cs:
allow unscalled picture * GraphicObject.cs: background image path, problems with repaint of background * Group.cs: background image * HorizontalStack.cs: clean code * Label.cs: debug * TemplatedContainer.cs: fix dataSource==null to clear binding successfully * Window.cs: resizable or not * OpenTKGameWindow.cs: RenderCustomTextureOnUIQuad (usefull for cached content) * Picture.cs: Scale boolean * ListBox.cs: remove debug loading time
Diffstat (limited to 'src/GraphicObjects/Group.cs')
-rw-r--r--src/GraphicObjects/Group.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/GraphicObjects/Group.cs b/src/GraphicObjects/Group.cs
index 763cc091..179c4116 100644
--- a/src/GraphicObjects/Group.cs
+++ b/src/GraphicObjects/Group.cs
@@ -157,6 +157,8 @@ namespace go
protected override void onDraw (Context gr)
{
Rectangle rBack = new Rectangle (Slot.Size);
+ if (BackgroundImage != null)
+ BackgroundImage.Paint (gr, rBack, BackImgSub);
gr.Color = Background;
CairoHelpers.CairoRectangle(gr,rBack,CornerRadius);
gr.Fill ();