summaryrefslogtreecommitdiff
path: root/vcl/aqua/inc/salgdi.h
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/aqua/inc/salgdi.h')
-rw-r--r--vcl/aqua/inc/salgdi.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/vcl/aqua/inc/salgdi.h b/vcl/aqua/inc/salgdi.h
index 8b3911d79850..d32ef0789f93 100644
--- a/vcl/aqua/inc/salgdi.h
+++ b/vcl/aqua/inc/salgdi.h
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: salgdi.h,v $
- * $Revision: 1.45 $
+ * $Revision: 1.45.14.1 $
*
* This file is part of OpenOffice.org.
*
@@ -169,6 +169,7 @@ public:
bool CheckContext();
void UpdateWindow( NSRect& rRect ); // delivered in NSView coordinates
void RefreshRect( const CGRect& );
+ void RefreshRect( const NSRect& rRect );
void RefreshRect(float lX, float lY, float lWidth, float lHeight);
void SetState();
@@ -389,6 +390,11 @@ inline void AquaSalGraphics::RefreshRect( const CGRect& rRect )
RefreshRect( rRect.origin.x, rRect.origin.y, rRect.size.width, rRect.size.height );
}
+inline void AquaSalGraphics::RefreshRect( const NSRect& rRect )
+{
+ RefreshRect( rRect.origin.x, rRect.origin.y, rRect.size.width, rRect.size.height );
+}
+
inline RGBAColor::RGBAColor( SalColor nSalColor )
: mfRed( SALCOLOR_RED(nSalColor) * (1.0/255))
, mfGreen( SALCOLOR_GREEN(nSalColor) * (1.0/255))