]> git.saurik.com Git - wxWidgets.git/commitdiff
for Gray Controls implementation
authorUnknown (JL) <nobody@localhost>
Thu, 18 Nov 1999 23:30:08 +0000 (23:30 +0000)
committerUnknown (JL) <nobody@localhost>
Thu, 18 Nov 1999 23:30:08 +0000 (23:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/aga.h [new file with mode: 0644]

diff --git a/include/wx/mac/aga.h b/include/wx/mac/aga.h
new file mode 100644 (file)
index 0000000..8d976e1
--- /dev/null
@@ -0,0 +1,84 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        aga.h
+// Purpose:     Gray Controls implementation
+// Author:      AUTHOR
+// Modified by:
+// Created:     ??/??/98
+// RCS-ID:      $Id$
+// Copyright:   (c) AUTHOR
+// 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 AGAMoveControl( ControlHandle inControl , short x , short y ) ;
+void AGASizeControl( ControlHandle inControl , short x , short y ) ;
+
+
+#endif
\ No newline at end of file