mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 15:56:08 +02:00
LCL: painting background of hint window
git-svn-id: trunk@10728 -
This commit is contained in:
parent
f7020ac77c
commit
41955d1b8a
@ -685,6 +685,7 @@ begin
|
||||
end;}
|
||||
|
||||
FHintWindow.Color := HintInfo.HintColor;
|
||||
//DebugLn(['TApplication.ShowHintWindow FHintWindow.Color=',dbgs(FHintWindow.Color),' HintInfo.HintColor=',dbgs(HintInfo.HintColor)]);
|
||||
|
||||
//debugln('TApplication.ShowHintWindow B HintWinRect=',dbgs(HintWinRect),' HintStr="',DbgStr(HintInfo.HintStr),'"');
|
||||
FHintWindow.ActivateHint(HintWinRect,HintInfo.HintStr);
|
||||
|
@ -81,7 +81,9 @@ var
|
||||
begin
|
||||
ARect := ClientRect;
|
||||
Canvas.Brush.Color := Color;
|
||||
//DebugLn(['THintWindow.Paint Canvas.Brush.Color=',dbgs(Canvas.Brush.Color)]);
|
||||
Canvas.Pen.Width := 1;
|
||||
Canvas.FillRect(ARect);
|
||||
DrawEdge(Canvas.Handle, ARect, BDR_RAISEDOUTER, BF_RECT);
|
||||
InflateRect(ARect,-2*HintBorderWidth,-2*HintBorderWidth);
|
||||
DrawText(Canvas.GetUpdatedHandle([csFontValid]),
|
||||
|
Loading…
Reference in New Issue
Block a user