mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 10:18:05 +02:00
lcl: forms: rename OffsetHintRect parameter NewPos->AOffset to make it clearer
git-svn-id: trunk@55166 -
This commit is contained in:
parent
844bef4565
commit
de2663825e
@ -912,7 +912,7 @@ type
|
||||
AData: pointer); virtual;
|
||||
function CalcHintRect(MaxWidth: Integer; const AHint: String;
|
||||
AData: pointer): TRect; virtual;
|
||||
function OffsetHintRect(NewPos: TPoint; dy: Integer = 15;
|
||||
function OffsetHintRect(AOffset: TPoint; dy: Integer = 15;
|
||||
KeepWidth: Boolean = True; KeepHeight: Boolean = True): Boolean;
|
||||
procedure InitializeWnd; override;
|
||||
function IsHintMsg(Msg: TMsg): Boolean; virtual;
|
||||
|
@ -348,10 +348,10 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function THintWindow.OffsetHintRect(NewPos: TPoint; dy: Integer;
|
||||
function THintWindow.OffsetHintRect(AOffset: TPoint; dy: Integer;
|
||||
KeepWidth: Boolean; KeepHeight: Boolean): Boolean;
|
||||
begin
|
||||
Result:=OffsetRect(FHintRect, NewPos.X, NewPos.Y + dy);
|
||||
Result:=OffsetRect(FHintRect, AOffset.X, AOffset.Y + dy);
|
||||
AdjustBoundsForMonitor(KeepWidth, KeepHeight);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user