mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-08 07:37:27 +01:00
LCL: clean up
git-svn-id: trunk@43365 -
This commit is contained in:
parent
bc2c1b3479
commit
b6660a7dc7
@ -844,21 +844,6 @@ begin
|
||||
HintWinRect := FHintWindow.CalcHintRect(HintMaxWidth, HintStr, HintData);
|
||||
OffsetRect(HintWinRect, HintInfo.HintPos.X, HintInfo.HintPos.Y);
|
||||
//DebugLn(['TApplication.ShowHintWindow HintStr="',HintInfo.HintStr,'" HintWinRect=',dbgs(HintWinRect)]);
|
||||
{if FHintWindow.UseRightToLeftAlignment then
|
||||
with HintWinRect do
|
||||
begin
|
||||
Dec(Left, FHintWindow.Canvas.TextWidth(HintInfo.HintStr) + 5);
|
||||
Dec(Right, FHintWindow.Canvas.TextWidth(HintInfo.HintStr) + 5);
|
||||
end;}
|
||||
|
||||
// Convert the client's rect to screen coordinates
|
||||
{with HintInfo do
|
||||
begin
|
||||
FHintCursorRect.TopLeft :=
|
||||
FHintControl.ClientToScreen(CursorRect.TopLeft);
|
||||
FHintCursorRect.BottomRight :=
|
||||
FHintControl.ClientToScreen(CursorRect.BottomRight);
|
||||
end;}
|
||||
|
||||
FHintWindow.Color := HintInfo.HintColor;
|
||||
//DebugLn(['TApplication.ShowHintWindow FHintWindow.Color=',dbgs(FHintWindow.Color),' HintInfo.HintColor=',dbgs(HintInfo.HintColor)]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user