mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-09 14:38:15 +02:00
lcl: less hints
git-svn-id: trunk@62602 -
This commit is contained in:
parent
fdaf04cdb8
commit
292fc283b9
@ -2784,7 +2784,7 @@ begin
|
|||||||
l:=StrLen(Lines[i]);
|
l:=StrLen(Lines[i]);
|
||||||
DrawLine(Lines[i], l, theRect.Top);
|
DrawLine(Lines[i], l, theRect.Top);
|
||||||
dec(pIndex,l+length(LineEnding));
|
dec(pIndex,l+length(LineEnding));
|
||||||
GetTextExtentPoint(DC, Lines[i], l, Size);
|
GetTextExtentPoint(DC, Lines[i], l, Size{%H-});
|
||||||
LineHeight := Size.cY;
|
LineHeight := Size.cY;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
@ -50,7 +50,7 @@ type
|
|||||||
published
|
published
|
||||||
class procedure SendCharToEditor(AEditor:TWinControl; Ch: TUTF8Char); virtual;
|
class procedure SendCharToEditor(AEditor:TWinControl; Ch: TUTF8Char); virtual;
|
||||||
class function InvalidateStartY(const FixedHeight, RowOffset: Integer): integer; virtual;
|
class function InvalidateStartY(const FixedHeight, RowOffset: Integer): integer; virtual;
|
||||||
class procedure Invalidate(sender: TCustomGrid); virtual;
|
class procedure Invalidate(sender: TCustomGrid); virtual; reintroduce;
|
||||||
class function GetEditorBoundsFromCellRect(ACanvas: TCanvas;
|
class function GetEditorBoundsFromCellRect(ACanvas: TCanvas;
|
||||||
const ACellRect: TRect; const AColumnLayout: TTextLayout): TRect; virtual;
|
const ACellRect: TRect; const AColumnLayout: TTextLayout): TRect; virtual;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user