Kaydet (Commit) 2a20bf51 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

fdo#87596 Draw tab fill color when selected on the tab bottom

Change-Id: I02bcdf88063d272cb9eb9e89cbee61d30f4f01d6
üst e3663390
...@@ -1168,6 +1168,16 @@ public: ...@@ -1168,6 +1168,16 @@ public:
} }
} }
void drawColorLine()
{
Point p1 = maPoly[1];
Point p2 = maPoly[2];
p1 += Point(1, 0);
p2 += Point(-1, -3);
mrParent.DrawRect(Rectangle(p1, p2));
}
void drawTab() void drawTab()
{ {
mrParent.SetLineColor(mpStyleSettings->GetDarkShadowColor()); mrParent.SetLineColor(mpStyleSettings->GetDarkShadowColor());
...@@ -1188,6 +1198,13 @@ public: ...@@ -1188,6 +1198,13 @@ public:
} }
drawOuterFrame(); drawOuterFrame();
if (mbCustomColored && mbSelected)
{
mrParent.SetFillColor(maCustomColor);
mrParent.SetLineColor(maCustomColor);
drawColorLine();
}
} }
void drawPlusImage() void drawPlusImage()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment