]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/aga.h
added fix for MSL under Win32 (by Steve Hartwell)
[wxWidgets.git] / include / wx / mac / aga.h
index c251146d8ba1db02ff70b7e51cfb55298515840f..5868b3f8eea461098c82017742e09e276244c814 100644 (file)
 /////////////////////////////////////////////////////////////////////////////
 // Name:        aga.h
 // Purpose:     Gray Controls implementation
-// Author:      AUTHOR
+// Author:      Stefan Csomor
 // Modified by:
-// Created:     ??/??/98
+// Created:     1998-01-01
 // RCS-ID:      $Id$
-// Copyright:   (c) AUTHOR
-// Licence:    wxWindows licence
+// Copyright:   (c) Stefan Csomor
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef _UMA_AGA_H
-#define _UMA_AGA_H
 
-ControlHandle AGANewControl(WindowPtr                          owningWindow,
-                                                                const Rect *                   boundsRect,
-                                                                ConstStr255Param               controlTitle,
-                                                                Boolean                                initiallyVisible,
-                                                                SInt16                                 initialValue,
-                                                                SInt16                                 minimumValue,
-                                                                SInt16                                 maximumValue,
-                                                                SInt16                                 procID,
-                                                                SInt32                                 controlReference) ;
-                                                                
-OSErr AGASetControlFontStyle                           (ControlHandle                  inControl,
-                                                                const ControlFontStyleRec * inStyle)   ;
-                                                                
-OSErr AGAGetControlDataSize                            (ControlHandle                  inControl,
-                                                                ControlPartCode                inPart,
-                                                                ResType                                inTagName,
-                                                                Size *                                 outMaxSize) ;
-                                                                
-
-OSErr AGASetControlData                                        (ControlHandle                  inControl,
-                                                                ControlPartCode                inPart,
-                                                                ResType                                inTagName,
-                                                                Size                                   inSize,
-                                                                Ptr                                    inData) ;
-
-OSErr AGAGetControlData                                        (ControlHandle                  inControl,
-                                                                ControlPartCode                inPart,
-                                                                ResType                                inTagName,
-                                                                Size                                   inBufferSize,
-                                                                Ptr                                    outBuffer,
-                                                                Size *                                 outActualSize) ;
-
-OSErr AGAGetBestControlRect                            (ControlHandle                  inControl,
-                                                                Rect *                                 outRect,
-                                                                SInt16 *                               outBaseLineOffset) ;
-
-SInt16 AGAHandleControlKey                             (ControlHandle                  inControl,
-                                                                SInt16                                 inKeyCode,
-                                                                SInt16                                 inCharCode,
-                                                                SInt16                                 inModifiers) ;
-
-ControlPartCode AGAHandleControlClick                          (ControlHandle                  inControl,
-                                                                Point                                  inWhere,
-                                                                SInt16                                 inModifiers,
-                                                                ControlActionUPP               inAction)       ;
-
-void AGAIdleControls                                   (WindowPtr                              inWindow) ;
-
-void AGADrawControl( ControlHandle inControl ) ;
-void AGADeactivateControl( ControlHandle inControl ) ;
-void AGAActivateControl( ControlHandle inControl ) ;
-OSErr AGASetKeyboardFocus                              (WindowPtr                              inWindow,
-                                                                ControlHandle                  inControl,
-                                                                ControlFocusPart               inPart) ;
-
-OSErr AGACreateRootControl                             (WindowPtr                              inWindow,
-                                                                ControlHandle *                outControl) ;
-OSErr AGAEmbedControl                                  (ControlHandle                  inControl,
-                                                                ControlHandle                  inContainer) ;
-                                                                
-void AGAUpdateControls( WindowPtr inWindow , RgnHandle inRgn ) ;
-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() ;
-       ~AGAPortHelper() ;
-
-       void Setup( GrafPtr newport ) ;
-       void Clear() ;
-       bool IsCleared() { return m_clip == NULL ; }
-       GrafPtr GetCurrentPort() { return m_currentPort ; }
-
-private :
-       GrafPtr                 m_currentPort ;
-       GrafPtr                 m_oldPort ;
-       RgnHandle               m_clip ;
-       ThemeDrawingState m_drawingState ;
-       short                   m_textFont ;
-       short                   m_textSize ;
-       short                   m_textStyle ;
-       short           m_textMode ;
-} ;
-
-
-#endif
\ No newline at end of file
+// NOT NEEDED ANYMORE
\ No newline at end of file