From 23e622ffc37fa7b2f5c21378b60912af46289575 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 3 Jul 2017 19:01:59 -0400 Subject: image skinning of window borders --- ShiftOS.Frontend/GUI/TextControl.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ShiftOS.Frontend/GUI/TextControl.cs') diff --git a/ShiftOS.Frontend/GUI/TextControl.cs b/ShiftOS.Frontend/GUI/TextControl.cs index 37b9ca7..9bf240f 100644 --- a/ShiftOS.Frontend/GUI/TextControl.cs +++ b/ShiftOS.Frontend/GUI/TextControl.cs @@ -89,11 +89,11 @@ namespace ShiftOS.Frontend.GUI loc.Y = (Height - sMeasure.Height); loc.X = (Width - sMeasure.Width); break; - } - gfx.DrawString(_text, _font, new SolidBrush(Color.White), new RectangleF(loc.X, loc.Y, sMeasure.Width, sMeasure.Height)); + base.OnPaint(gfx); + gfx.DrawString(_text, _font, new SolidBrush(Engine.SkinEngine.LoadedSkin.ControlTextColor), new RectangleF(loc.X, loc.Y, sMeasure.Width, sMeasure.Height)); } } -- cgit v1.2.3