mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-11 10:00:36 +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);
|
||||
Pen.Color:=clBlack;
|
||||
Frame3d(ARect, FrameWidth, bvLowered);
|
||||
if Mediator<>nil then
|
||||
Mediator.Paint(ClientRect);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -103,6 +103,7 @@ type
|
||||
public
|
||||
procedure SetBounds(AComponent: TComponent; NewBounds: 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 Designer: TComponentEditorDesigner read FDesigner write SetDesigner;
|
||||
end;
|
||||
@ -211,5 +212,10 @@ begin
|
||||
|
||||
end;
|
||||
|
||||
procedure TDesignerMediator.Paint(aRect: TRect);
|
||||
begin
|
||||
|
||||
end;
|
||||
|
||||
end.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user