You've already forked lazarus-ccr
jvcllaz: Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7268 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<Package Version="4">
|
<Package Version="5">
|
||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<Name Value="jvcl_all"/>
|
<Name Value="jvcl_all"/>
|
||||||
<Type Value="RunAndDesignTime"/>
|
<Type Value="RunAndDesignTime"/>
|
||||||
@ -8,7 +8,7 @@
|
|||||||
<Version Value="11"/>
|
<Version Value="11"/>
|
||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="..\lib\$(TargetCPU)-$(TargetOS)\design\JvAll"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<Description Value="A meta package for simple installation of all JVCL designtime packages."/>
|
<Description Value="A meta package for simple installation of all JVCL designtime packages."/>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<OtherUnitFiles Value="..\design\JvPascalInterpreter"/>
|
<OtherUnitFiles Value="..\design\JvPascalInterpreter"/>
|
||||||
<UnitOutputDirectory Value="..\lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="..\lib\$(TargetCPU)-$(TargetOS)\design\JvPascalInterpreter"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<Description Value="Pascal scripting engine of the JVCL library (https://sourceforge.net/projects/jvcl/) (designime code)
|
<Description Value="Pascal scripting engine of the JVCL library (https://sourceforge.net/projects/jvcl/) (designime code)
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<OtherUnitFiles Value="..\run\JvPascalInterpreter"/>
|
<OtherUnitFiles Value="..\run\JvPascalInterpreter"/>
|
||||||
<UnitOutputDirectory Value="..\lib\$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="..\lib\$(TargetCPU)-$(TargetOS)\run\JvPascalInterpreter"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<Description Value="Pascal scripting engine of the JVCL library (https://sourceforge.net/projects/jvcl/) (runtime code)
|
<Description Value="Pascal scripting engine of the JVCL library (https://sourceforge.net/projects/jvcl/) (runtime code)
|
||||||
|
@ -309,7 +309,6 @@ type
|
|||||||
procedure CustomSort(Compare:TListSortCompare);virtual;
|
procedure CustomSort(Compare:TListSortCompare);virtual;
|
||||||
|
|
||||||
function ClientDisplayRect: TRect;
|
function ClientDisplayRect: TRect;
|
||||||
class function GetControlClassDefaultSize: TSize; override;
|
|
||||||
{$IF LCL_FullVersion >= 1080000}
|
{$IF LCL_FullVersion >= 1080000}
|
||||||
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
||||||
const AXProportion, AYProportion: Double); override;
|
const AXProportion, AYProportion: Double); override;
|
||||||
@ -353,6 +352,7 @@ type
|
|||||||
function IndexOf(Item: TJvViewerItem): Integer;
|
function IndexOf(Item: TJvViewerItem): Integer;
|
||||||
function ItemAtPos(X, Y: Integer; Existing: Boolean): Integer; virtual;
|
function ItemAtPos(X, Y: Integer; Existing: Boolean): Integer; virtual;
|
||||||
function ItemRect(Index: Integer; IncludeSpacing: Boolean): TRect;
|
function ItemRect(Index: Integer; IncludeSpacing: Boolean): TRect;
|
||||||
|
class function GetControlClassDefaultSize: TSize; override;
|
||||||
property BorderStyle default bsSingle;
|
property BorderStyle default bsSingle;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ unit JvGammaPanel;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Types, SysUtils, Classes, Graphics, Controls, Dialogs, ExtCtrls, StdCtrls,
|
SysUtils, Classes, Graphics, Controls, Dialogs, ExtCtrls, StdCtrls,
|
||||||
JvTypes;
|
JvTypes;
|
||||||
|
|
||||||
type
|
type
|
||||||
@ -56,8 +56,8 @@ type
|
|||||||
FOnChangeColor: TJvChangeColorEvent;
|
FOnChangeColor: TJvChangeColorEvent;
|
||||||
procedure BgColorClick(Sender: TObject);
|
procedure BgColorClick(Sender: TObject);
|
||||||
procedure ChangeColor(Sender: TObject; Button: TMouseButton;
|
procedure ChangeColor(Sender: TObject; Button: TMouseButton;
|
||||||
Shift: TShiftState; X, Y: Integer);
|
{%H-}Shift: TShiftState; {%H-}X, {%H-}Y: Integer);
|
||||||
procedure ColorSeek(Sender: TObject; Shift: TShiftState; X, Y: Integer);
|
procedure ColorSeek(Sender: TObject; {%H-}Shift: TShiftState; X, Y: Integer);
|
||||||
procedure Exchange(Sender: TObject);
|
procedure Exchange(Sender: TObject);
|
||||||
procedure FgColorClick(Sender: TObject);
|
procedure FgColorClick(Sender: TObject);
|
||||||
function GetBackgroundColor: TColor;
|
function GetBackgroundColor: TColor;
|
||||||
@ -380,7 +380,6 @@ var
|
|||||||
imgSize: Integer;
|
imgSize: Integer;
|
||||||
p: Integer;
|
p: Integer;
|
||||||
m: Integer;
|
m: Integer;
|
||||||
hx: Integer;
|
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
if FPanel3 = nil then
|
if FPanel3 = nil then
|
||||||
|
@ -345,7 +345,7 @@ procedure TJvPictureItem.DoLoadProgress(Sender: TObject;
|
|||||||
Stage: TFPImgProgressStage; PercentDone: Byte; RedrawNow: Boolean;
|
Stage: TFPImgProgressStage; PercentDone: Byte; RedrawNow: Boolean;
|
||||||
const R: TRect; const Msg: AnsiString; var Continue: Boolean);
|
const R: TRect; const Msg: AnsiString; var Continue: Boolean);
|
||||||
begin
|
begin
|
||||||
if Owner is TJvImagesViewer then
|
if Continue and (Owner is TJvImagesViewer) then
|
||||||
TJvImagesViewer(Owner).DoLoadProgress(Self, Stage, PercentDone, RedrawNow, R, Msg);
|
TJvImagesViewer(Owner).DoLoadProgress(Self, Stage, PercentDone, RedrawNow, R, Msg);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
@ -714,14 +714,20 @@ type
|
|||||||
procedure Done; virtual;
|
procedure Done; virtual;
|
||||||
{ called just before the page is hidden. Page: To page }
|
{ called just before the page is hidden. Page: To page }
|
||||||
procedure ExitPage(const ToPage: TJvWizardCustomPage); virtual; // renamed from Exit() to ExitPage
|
procedure ExitPage(const ToPage: TJvWizardCustomPage); virtual; // renamed from Exit() to ExitPage
|
||||||
{ adaption of dimensions to screen dpi }
|
|
||||||
|
{ lcl scaling }
|
||||||
|
{$IF LCL_FullVersion >= 1080000}
|
||||||
|
protected
|
||||||
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
||||||
const AXProportion, AYProportion: Double); override;
|
const AXProportion, AYProportion: Double); override;
|
||||||
|
public
|
||||||
{$IF LCL_FullVersion >= 1080100}
|
{$IF LCL_FullVersion >= 1080100}
|
||||||
procedure ScaleFontsPPI(const AToPPI: Integer; const AProportion: Double); override;
|
procedure ScaleFontsPPI(const AToPPI: Integer; const AProportion: Double); override;
|
||||||
{$ELSEIF LCL_FullVersion >= 1080000}
|
{$ELSE}
|
||||||
procedure ScaleFontsPPI(const AProportion: Double); override;
|
procedure ScaleFontsPPI(const AProportion: Double); override;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
{$IFEND}
|
||||||
|
|
||||||
public
|
public
|
||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
@ -766,9 +772,11 @@ type
|
|||||||
FWaterMark: TJvWizardWaterMark;
|
FWaterMark: TJvWizardWaterMark;
|
||||||
protected
|
protected
|
||||||
procedure AdjustClientRect(var Rect: TRect); override;
|
procedure AdjustClientRect(var Rect: TRect); override;
|
||||||
|
procedure DrawPage(ACanvas: TCanvas; var ARect: TRect); override;
|
||||||
|
{$IF LCL_FullVersion >= 1080000}
|
||||||
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
procedure DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
||||||
const AXProportion, AYProportion: Double); override;
|
const AXProportion, AYProportion: Double); override;
|
||||||
procedure DrawPage(ACanvas: TCanvas; var ARect: TRect); override;
|
{$IFEND}
|
||||||
public
|
public
|
||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
@ -2217,21 +2225,6 @@ begin
|
|||||||
FImage.PaintTo(ACanvas, R);
|
FImage.PaintTo(ACanvas, R);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
(*
|
|
||||||
procedure TJvWizardWaterMark.DoAutoAdjustLayout(
|
|
||||||
const AMode: TLayoutAdjustmentPolicy; const AXProportion, AYProportion: Double);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
if AMode in [lapAutoAdjustWithoutHorizontalScrolling, lapAutoAdjustForDPI] then
|
|
||||||
begin
|
|
||||||
BeginUpdate;
|
|
||||||
try
|
|
||||||
FWidth := Round(FWidth * AXProportion);
|
|
||||||
finally
|
|
||||||
EndUpdate;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;*)
|
|
||||||
|
|
||||||
procedure TJvWizardWaterMark.ImageChanged(Sender: TObject);
|
procedure TJvWizardWaterMark.ImageChanged(Sender: TObject);
|
||||||
begin
|
begin
|
||||||
@ -2573,6 +2566,7 @@ begin
|
|||||||
Header.Title := Value;
|
Header.Title := Value;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{$IF LCL_FullVersion >= 1080000}
|
||||||
procedure TJvWizardCustomPage.DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
procedure TJvWizardCustomPage.DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
||||||
const AXProportion, AYProportion: Double);
|
const AXProportion, AYProportion: Double);
|
||||||
begin
|
begin
|
||||||
@ -2598,6 +2592,7 @@ begin
|
|||||||
FPanel.BorderWidth := Round(FPanel.BorderWidth * AXProportion);
|
FPanel.BorderWidth := Round(FPanel.BorderWidth * AXProportion);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{$IFEND}
|
||||||
|
|
||||||
{$IF LCL_FullVersion >= 1080100}
|
{$IF LCL_FullVersion >= 1080100}
|
||||||
procedure TJvWizardCustomPage.ScaleFontsPPI(const AToPPI: Integer;
|
procedure TJvWizardCustomPage.ScaleFontsPPI(const AToPPI: Integer;
|
||||||
@ -2649,6 +2644,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
{$IF LCL_FullVersion >= 1080000}
|
||||||
procedure TJvWizardWelcomePage.DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
procedure TJvWizardWelcomePage.DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
||||||
const AXProportion, AYProportion: Double);
|
const AXProportion, AYProportion: Double);
|
||||||
begin
|
begin
|
||||||
@ -2661,6 +2657,7 @@ begin
|
|||||||
FWatermark.BorderWidth := Round(FWaterMark.BorderWidth * AXProportion);
|
FWatermark.BorderWidth := Round(FWaterMark.BorderWidth * AXProportion);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{$IFEND}
|
||||||
|
|
||||||
procedure TJvWizardWelcomePage.DrawPage(ACanvas: TCanvas; var ARect: TRect);
|
procedure TJvWizardWelcomePage.DrawPage(ACanvas: TCanvas; var ARect: TRect);
|
||||||
begin
|
begin
|
||||||
@ -3384,20 +3381,4 @@ begin
|
|||||||
FNavigateButtons[TJvWizardButtonKind(Index)] := Value;
|
FNavigateButtons[TJvWizardButtonKind(Index)] := Value;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
(*
|
|
||||||
procedure TJvWizard.DoAutoAdjustLayout(const AMode: TLayoutAdjustmentPolicy;
|
|
||||||
const AXProportion, AYProportion: Double);
|
|
||||||
begin
|
|
||||||
inherited;
|
|
||||||
if AMode in [lapAutoAdjustWithoutHorizontalScrolling, lapAutoAdjustForDPI] then
|
|
||||||
begin
|
|
||||||
BeginUpdate;
|
|
||||||
try
|
|
||||||
finally
|
|
||||||
EndUpdate;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
*)
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Reference in New Issue
Block a user