mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 13:50:06 +02:00
fixed finding sysutilh.inc
git-svn-id: trunk@4775 -
This commit is contained in:
parent
8bf74c83fb
commit
2ca1eea556
@ -3045,6 +3045,7 @@ begin
|
|||||||
MainDir.AddChild(RTLDir);
|
MainDir.AddChild(RTLDir);
|
||||||
s:=IncPathMacro
|
s:=IncPathMacro
|
||||||
+';'+Dir+'rtl'+DS+'objpas'+DS
|
+';'+Dir+'rtl'+DS+'objpas'+DS
|
||||||
|
+';'+Dir+'rtl'+DS+'objpas'+DS+'sysutils'
|
||||||
+';'+Dir+'rtl'+DS+'inc'+DS
|
+';'+Dir+'rtl'+DS+'inc'+DS
|
||||||
+';'+Dir+'rtl'+DS+TargetProcessor+DS
|
+';'+Dir+'rtl'+DS+TargetProcessor+DS
|
||||||
+';'+Dir+'rtl'+DS+SrcOS+DS;
|
+';'+Dir+'rtl'+DS+SrcOS+DS;
|
||||||
|
@ -646,6 +646,7 @@ begin
|
|||||||
Add('IOCHECK' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('IOCHECK' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('LOCAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('LOCAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('NEAR' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('NEAR' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
Add('OLDFPCCALL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('OVERLOAD' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('OVERLOAD' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('PASCAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('PASCAL' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
Add('PLATFORM' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
Add('PLATFORM' ,{$ifdef FPC}@{$endif}AllwaysTrue);
|
||||||
|
@ -2096,6 +2096,7 @@ var
|
|||||||
I:Integer;
|
I:Integer;
|
||||||
Changed: boolean;
|
Changed: boolean;
|
||||||
begin
|
begin
|
||||||
|
Changed:=false;
|
||||||
for I:=0 to FPropCount-1 do
|
for I:=0 to FPropCount-1 do
|
||||||
with FPropList^[I] do
|
with FPropList^[I] do
|
||||||
Changed:=Changed or (GetStrProp(Instance,PropInfo)<>NewValue);
|
Changed:=Changed or (GetStrProp(Instance,PropInfo)<>NewValue);
|
||||||
@ -2111,6 +2112,7 @@ var
|
|||||||
I:Integer;
|
I:Integer;
|
||||||
Changed: boolean;
|
Changed: boolean;
|
||||||
begin
|
begin
|
||||||
|
Changed:=false;
|
||||||
for I:=0 to FPropCount-1 do
|
for I:=0 to FPropCount-1 do
|
||||||
with FPropList^[I] do
|
with FPropList^[I] do
|
||||||
Changed:=Changed or (GetVariantProp(Instance,PropInfo)<>NewValue);
|
Changed:=Changed or (GetVariantProp(Instance,PropInfo)<>NewValue);
|
||||||
|
@ -282,7 +282,8 @@ Begin
|
|||||||
Result := False;
|
Result := False;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TInterfaceBase.DrawText(DC: HDC; Str: PChar; Count: Integer; var Rect: TRect; Flags: Cardinal): Integer;
|
function TInterfaceBase.DrawText(DC: HDC; Str: PChar; Count: Integer;
|
||||||
|
var Rect: TRect; Flags: Cardinal): Integer;
|
||||||
var
|
var
|
||||||
AP : TSize;
|
AP : TSize;
|
||||||
TM : TTextmetric;
|
TM : TTextmetric;
|
||||||
@ -580,7 +581,7 @@ begin
|
|||||||
DeleteAmpersands(tmpString);
|
DeleteAmpersands(tmpString);
|
||||||
|
|
||||||
If tmpString > '' then begin
|
If tmpString > '' then begin
|
||||||
TextExtent(DC, tmpString);
|
AP:=TextExtent(DC, tmpString);
|
||||||
AP.cX := AP.cX div Length(tmpString);
|
AP.cX := AP.cX div Length(tmpString);
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
@ -1847,6 +1848,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.109 2003/11/07 22:50:44 mattias
|
||||||
|
fixed finding sysutilh.inc
|
||||||
|
|
||||||
Revision 1.108 2003/11/07 18:48:52 micha
|
Revision 1.108 2003/11/07 18:48:52 micha
|
||||||
symmetry getdesignerdc, releasedesignerdc
|
symmetry getdesignerdc, releasedesignerdc
|
||||||
|
|
||||||
|
@ -4993,7 +4993,7 @@ begin
|
|||||||
style := nil;
|
style := nil;
|
||||||
Result := DefaultColor;
|
Result := DefaultColor;
|
||||||
|
|
||||||
Case Color of
|
Case TColor(Color) of
|
||||||
clINFOTEXT :
|
clINFOTEXT :
|
||||||
begin
|
begin
|
||||||
Style := GetStyle('tooltip');
|
Style := GetStyle('tooltip');
|
||||||
@ -5539,6 +5539,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.225 2003/11/07 22:50:44 mattias
|
||||||
|
fixed finding sysutilh.inc
|
||||||
|
|
||||||
Revision 1.224 2003/11/01 10:27:41 mattias
|
Revision 1.224 2003/11/01 10:27:41 mattias
|
||||||
fpc 1.1 fixes, started scrollbar hiding, started polymorphing client areas
|
fpc 1.1 fixes, started scrollbar hiding, started polymorphing client areas
|
||||||
|
|
||||||
|
@ -111,6 +111,8 @@ type
|
|||||||
protected
|
protected
|
||||||
procedure SetInternalColor(x, y: integer; const Value: TFPColor); override;
|
procedure SetInternalColor(x, y: integer; const Value: TFPColor); override;
|
||||||
function GetInternalColor(x, y: integer): TFPColor; override;
|
function GetInternalColor(x, y: integer): TFPColor; override;
|
||||||
|
procedure SetInternalPixel (x,y:integer; Value:integer); override;
|
||||||
|
function GetInternalPixel (x,y:integer) : integer; override;
|
||||||
procedure FreeAllData; virtual;
|
procedure FreeAllData; virtual;
|
||||||
procedure FreePixelData; virtual;
|
procedure FreePixelData; virtual;
|
||||||
procedure FreeMaskData; virtual;
|
procedure FreeMaskData; virtual;
|
||||||
@ -647,6 +649,16 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TLazIntfImage.SetInternalPixel(x, y: integer; Value: integer);
|
||||||
|
begin
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
|
function TLazIntfImage.GetInternalPixel(x, y: integer): integer;
|
||||||
|
begin
|
||||||
|
Result:=0;
|
||||||
|
end;
|
||||||
|
|
||||||
procedure TLazIntfImage.FreeAllData;
|
procedure TLazIntfImage.FreeAllData;
|
||||||
begin
|
begin
|
||||||
FreePixelData;
|
FreePixelData;
|
||||||
|
Loading…
Reference in New Issue
Block a user