mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-17 15:32:27 +01:00
IDE: designer mediator: paint
git-svn-id: trunk@21626 -
This commit is contained in:
parent
6e272afa14
commit
135eaf5923
@ -112,6 +112,8 @@ begin
|
|||||||
ARect:=Rect(0,0,Self.ClientWidth+1,Self.ClientHeight+1);
|
ARect:=Rect(0,0,Self.ClientWidth+1,Self.ClientHeight+1);
|
||||||
Pen.Color:=clBlack;
|
Pen.Color:=clBlack;
|
||||||
Frame3d(ARect, FrameWidth, bvLowered);
|
Frame3d(ARect, FrameWidth, bvLowered);
|
||||||
|
if Mediator<>nil then
|
||||||
|
Mediator.Paint(ClientRect);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -103,6 +103,7 @@ type
|
|||||||
public
|
public
|
||||||
procedure SetBounds(AComponent: TComponent; NewBounds: TRect); virtual; abstract;
|
procedure SetBounds(AComponent: TComponent; NewBounds: TRect); virtual; abstract;
|
||||||
procedure GetBounds(AComponent: TComponent; out CurBounds: TRect); virtual; abstract;
|
procedure GetBounds(AComponent: TComponent; out CurBounds: TRect); virtual; abstract;
|
||||||
|
procedure Paint(aRect: TRect); virtual;
|
||||||
property LCLForm: TForm read FLCLForm write SetLCLForm;
|
property LCLForm: TForm read FLCLForm write SetLCLForm;
|
||||||
property Designer: TComponentEditorDesigner read FDesigner write SetDesigner;
|
property Designer: TComponentEditorDesigner read FDesigner write SetDesigner;
|
||||||
end;
|
end;
|
||||||
@ -211,5 +212,10 @@ begin
|
|||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TDesignerMediator.Paint(aRect: TRect);
|
||||||
|
begin
|
||||||
|
|
||||||
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user