X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31d80f31afd5e78f86d3d9e8e52d7124aac36a32..bcb7cc7693846151a179c6f199105c19df2c77a2:/include/wx/mac/aga.h

diff --git a/include/wx/mac/aga.h b/include/wx/mac/aga.h
index 8d976e17e1..8c6f598f7a 100644
--- a/include/wx/mac/aga.h
+++ b/include/wx/mac/aga.h
@@ -77,8 +77,37 @@ OSErr AGAGetRootControl( WindowPtr inWindow , ControlHandle *outControl ) ;
 void			AGASetThemeWindowBackground		(WindowRef 				inWindow,
 								 ThemeBrush 			inBrush,
 								 Boolean 				inUpdate) ;
+void			AGAApplyThemeBackground			(ThemeBackgroundKind 	inKind,
+								 const Rect *			bounds,
+								 ThemeDrawState 		inState,
+								 SInt16 				inDepth,
+								 Boolean 				inColorDev) ;
 void AGAMoveControl( ControlHandle inControl , short x , short y ) ;
 void AGASizeControl( ControlHandle inControl , short x , short y ) ;
 
+class AGAPortHelper 
+{
+public :
+	AGAPortHelper( GrafPtr newport) ; 
+	AGAPortHelper() ;
+	void Setup( GrafPtr newport ) ;
+	void Clear() ;
+	bool IsCleared() { return clip == NULL ; }
+	GrafPtr GetCurrentPort() { return nport ; }
+	~AGAPortHelper() ;
+
+private :
+				GrafPtr			nport ;
+				GrafPtr			port ;
+				PenState		oldPenState ;
+				RGBColor		oldForeColor ;
+				RGBColor		oldBackColor ;
+				RgnHandle		clip ;
+				short			font ;
+				short			size ;
+				short			style ;
+				short 			mode ;
+} ;
+
 
 #endif
\ No newline at end of file