statusbar now uses invalidaterect

git-svn-id: trunk@2323 -
This commit is contained in:
mattias 2002-08-17 23:41:15 +00:00
parent e1e1456fdc
commit db29a16dcd
2 changed files with 21 additions and 3 deletions

View File

@ -503,9 +503,20 @@ Begin
Result := InterfaceObject.IntersectClipRect(dc,Left,Top,Right,Bottom);
end;
Function InvalidateRect(aHandle : HWND; Rect : pRect; bErase : Boolean) : Boolean;
{------------------------------------------------------------------------------
Function InvalidateFrame(aHandle : HWND; ARect : pRect; bErase : Boolean;
BorderWidth: integer) : Boolean;
Calls InvalidateRect for the borderframe.
------------------------------------------------------------------------------}
Function InvalidateFrame(aHandle : HWND; ARect : pRect; bErase : Boolean; BorderWidth: integer) : Boolean;
begin
Result := InterfaceObject.InvalidateRect(aHandle, Rect, bErase);
Result := InterfaceObject.InvalidateFrame(aHandle,ARect,bErase,BorderWidth);
end;
Function InvalidateRect(aHandle : HWND; ARect : pRect; bErase : Boolean) : Boolean;
begin
Result := InterfaceObject.InvalidateRect(aHandle, ARect, bErase);
end;
function LineTo(DC: HDC; X, Y: Integer): Boolean;
@ -1376,6 +1387,9 @@ end;
{ =============================================================================
$Log$
Revision 1.63 2002/11/30 11:22:53 mattias
statusbar now uses invalidaterect
Revision 1.62 2002/11/23 13:48:44 mattias
added Timer patch from Vincent Snijders

View File

@ -140,7 +140,8 @@ function HideCaret(hWnd: HWND): Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
//function InflateRect --> independent
function IntersectClipRect(dc: hdc; Left, Top, Right,Bottom: Integer): Integer; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
//function IntersectRect --> independent
Function InvalidateRect(aHandle : HWND; Rect : pRect; bErase : Boolean) : Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
Function InvalidateFrame(aHandle : HWND; ARect : pRect; bErase : Boolean; BorderWidth: integer) : Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
Function InvalidateRect(aHandle : HWND; ARect : pRect; bErase : Boolean) : Boolean; {$IFDEF IF_BASE_MEMBER}virtual;{$ENDIF}
//function IsCharAlphaNumeric --> independent
//function IsRectEmpty --> independent
@ -333,6 +334,9 @@ Function RGB(R, G, B : Byte) : TColorRef;
{ =============================================================================
$Log$
Revision 1.56 2002/11/30 11:22:54 mattias
statusbar now uses invalidaterect
Revision 1.55 2002/11/23 13:48:44 mattias
added Timer patch from Vincent Snijders