mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 13:18:29 +02:00
fixed range check type conversion
git-svn-id: trunk@4957 -
This commit is contained in:
parent
dc9602f510
commit
1c536d8a03
@ -2274,7 +2274,7 @@ begin
|
|||||||
// and fill only the area after the last visible line.
|
// and fill only the area after the last visible line.
|
||||||
dc := Canvas.Handle;
|
dc := Canvas.Handle;
|
||||||
{$IFDEF SYN_LAZARUS}
|
{$IFDEF SYN_LAZARUS}
|
||||||
LCLIntf.SetBkColor(dc,Canvas.Brush.Color);
|
LCLIntf.SetBkColor(dc,ColorRef(Canvas.Brush.Color));
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
if fGutter.ShowLineNumbers then begin
|
if fGutter.ShowLineNumbers then begin
|
||||||
fTextDrawer.BeginDrawing(dc);
|
fTextDrawer.BeginDrawing(dc);
|
||||||
|
@ -256,7 +256,11 @@ const
|
|||||||
cmWhiteness = WHITENESS;
|
cmWhiteness = WHITENESS;
|
||||||
|
|
||||||
|
|
||||||
const // New TFont instances are initialized with the values in this structure:
|
const
|
||||||
|
// New TFont instances are initialized with the values in this structure.
|
||||||
|
// About font default values: The default font is chosen by the interfaces
|
||||||
|
// depending on the context. For example, there can be a different default
|
||||||
|
// font for a button and a groupbox.
|
||||||
DefFontData: TFontData = (
|
DefFontData: TFontData = (
|
||||||
Handle: 0;
|
Handle: 0;
|
||||||
Height: 0;
|
Height: 0;
|
||||||
@ -271,10 +275,10 @@ type
|
|||||||
TCanvas = class;
|
TCanvas = class;
|
||||||
|
|
||||||
// standard LCL graphic formats
|
// standard LCL graphic formats
|
||||||
TBitmap = class;
|
TBitmap = class; // bmp
|
||||||
TPixmap = class;
|
TPixmap = class; // xpm
|
||||||
TIcon = class;
|
TIcon = class; // ico
|
||||||
TPortableNetworkGraphic = class;
|
TPortableNetworkGraphic = class; // png
|
||||||
|
|
||||||
|
|
||||||
{ TGraphicsObject }
|
{ TGraphicsObject }
|
||||||
@ -1257,6 +1261,9 @@ end.
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.102 2003/12/26 09:55:08 mattias
|
||||||
|
fixed range check type conversion
|
||||||
|
|
||||||
Revision 1.101 2003/12/25 14:17:07 mattias
|
Revision 1.101 2003/12/25 14:17:07 mattias
|
||||||
fixed many range check warnings
|
fixed many range check warnings
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user