From 246c920686bd689fcc52a1c4ae92472baddeb786 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 30 Dec 2001 09:43:15 +0000 Subject: [PATCH] added theme savvy store/restore grafport git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/aga.h | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/include/wx/mac/aga.h b/include/wx/mac/aga.h index 8c6f598f7a..c251146d8b 100644 --- a/include/wx/mac/aga.h +++ b/include/wx/mac/aga.h @@ -90,23 +90,22 @@ class AGAPortHelper public : AGAPortHelper( GrafPtr newport) ; AGAPortHelper() ; - void Setup( GrafPtr newport ) ; - void Clear() ; - bool IsCleared() { return clip == NULL ; } - GrafPtr GetCurrentPort() { return nport ; } ~AGAPortHelper() ; + void Setup( GrafPtr newport ) ; + void Clear() ; + bool IsCleared() { return m_clip == NULL ; } + GrafPtr GetCurrentPort() { return m_currentPort ; } + private : - GrafPtr nport ; - GrafPtr port ; - PenState oldPenState ; - RGBColor oldForeColor ; - RGBColor oldBackColor ; - RgnHandle clip ; - short font ; - short size ; - short style ; - short mode ; + GrafPtr m_currentPort ; + GrafPtr m_oldPort ; + RgnHandle m_clip ; + ThemeDrawingState m_drawingState ; + short m_textFont ; + short m_textSize ; + short m_textStyle ; + short m_textMode ; } ;