]> git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/aga.h
Fix so OGL can build without wxBuffer
[wxWidgets.git] / include / wx / mac / aga.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: aga.h
3 // Purpose: Gray Controls implementation
4 // Author: AUTHOR
5 // Modified by:
6 // Created: ??/??/98
7 // RCS-ID: $Id$
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _UMA_AGA_H
13 #define _UMA_AGA_H
14
15 /*
16 ControlHandle AGANewControl(WindowPtr owningWindow,
17 const Rect * boundsRect,
18 ConstStr255Param controlTitle,
19 Boolean initiallyVisible,
20 SInt16 initialValue,
21 SInt16 minimumValue,
22 SInt16 maximumValue,
23 SInt16 procID,
24 SInt32 controlReference) ;
25
26 OSErr AGASetControlFontStyle (ControlHandle inControl,
27 const ControlFontStyleRec * inStyle) ;
28
29 OSErr AGAGetControlDataSize (ControlHandle inControl,
30 ControlPartCode inPart,
31 ResType inTagName,
32 Size * outMaxSize) ;
33
34
35 OSErr AGASetControlData (ControlHandle inControl,
36 ControlPartCode inPart,
37 ResType inTagName,
38 Size inSize,
39 Ptr inData) ;
40
41 OSErr AGAGetControlData (ControlHandle inControl,
42 ControlPartCode inPart,
43 ResType inTagName,
44 Size inBufferSize,
45 Ptr outBuffer,
46 Size * outActualSize) ;
47
48 OSErr AGAGetBestControlRect (ControlHandle inControl,
49 Rect * outRect,
50 SInt16 * outBaseLineOffset) ;
51
52 SInt16 AGAHandleControlKey (ControlHandle inControl,
53 SInt16 inKeyCode,
54 SInt16 inCharCode,
55 SInt16 inModifiers) ;
56
57 ControlPartCode AGAHandleControlClick (ControlHandle inControl,
58 Point inWhere,
59 SInt16 inModifiers,
60 ControlActionUPP inAction) ;
61
62 void AGAIdleControls (WindowPtr inWindow) ;
63
64 void AGADrawControl( ControlHandle inControl ) ;
65 void AGADeactivateControl( ControlHandle inControl ) ;
66 void AGAActivateControl( ControlHandle inControl ) ;
67 OSErr AGASetKeyboardFocus (WindowPtr inWindow,
68 ControlHandle inControl,
69 ControlFocusPart inPart) ;
70
71 OSErr AGACreateRootControl (WindowPtr inWindow,
72 ControlHandle * outControl) ;
73 OSErr AGAEmbedControl (ControlHandle inControl,
74 ControlHandle inContainer) ;
75
76 void AGAUpdateControls( WindowPtr inWindow , RgnHandle inRgn ) ;
77 OSErr AGAGetRootControl( WindowPtr inWindow , ControlHandle *outControl ) ;
78 void AGASetThemeWindowBackground (WindowRef inWindow,
79 ThemeBrush inBrush,
80 Boolean inUpdate) ;
81 void AGAApplyThemeBackground (ThemeBackgroundKind inKind,
82 const Rect * bounds,
83 ThemeDrawState inState,
84 SInt16 inDepth,
85 Boolean inColorDev) ;
86 void AGAMoveControl( ControlHandle inControl , short x , short y ) ;
87 void AGASizeControl( ControlHandle inControl , short x , short y ) ;
88
89 */
90
91
92
93 #endif