IDE: designer mediator: paint

git-svn-id: trunk@21626 -
This commit is contained in:
mattias 2009-09-08 16:59:34 +00:00
parent 6e272afa14
commit 135eaf5923
2 changed files with 8 additions and 0 deletions

View File

@ -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;

View File

@ -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.