You've already forked lazarus-ccr
* Use clBtnText instead of clWindowText in header caption (trunk)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4418 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -8068,7 +8068,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
TextColor := FHeader.Treeview.FColors.HeaderFontColor;
|
TextColor := FHeader.Treeview.FColors.HeaderFontColor;
|
||||||
if TextColor = clDefault then
|
if TextColor = clDefault then
|
||||||
TextColor := clCaptionText;
|
TextColor := clBtnText;
|
||||||
SetTextColor(DC, ColorToRGB(TextColor));
|
SetTextColor(DC, ColorToRGB(TextColor));
|
||||||
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
|
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
|
||||||
end
|
end
|
||||||
@@ -8088,7 +8088,7 @@ begin
|
|||||||
else
|
else
|
||||||
TextColor := FHeader.Treeview.FColors.HeaderFontColor;
|
TextColor := FHeader.Treeview.FColors.HeaderFontColor;
|
||||||
if TextColor = clDefault then
|
if TextColor = clDefault then
|
||||||
TextColor := clCaptionText;
|
TextColor := clBtnText;
|
||||||
SetTextColor(DC, ColorToRGB(TextColor));
|
SetTextColor(DC, ColorToRGB(TextColor));
|
||||||
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
|
DrawText(DC, PChar(Caption), Length(Caption), Bounds, DrawFormat);
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user