]>
Commit | Line | Data |
---|---|---|
31d80f31 UJ |
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 | ||
5273bf2f | 15 | /* |
31d80f31 UJ |
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) ; | |
05adb9d2 SC |
81 | void AGAApplyThemeBackground (ThemeBackgroundKind inKind, |
82 | const Rect * bounds, | |
83 | ThemeDrawState inState, | |
84 | SInt16 inDepth, | |
85 | Boolean inColorDev) ; | |
31d80f31 UJ |
86 | void AGAMoveControl( ControlHandle inControl , short x , short y ) ; |
87 | void AGASizeControl( ControlHandle inControl , short x , short y ) ; | |
88 | ||
5273bf2f | 89 | */ |
246c9206 | 90 | |
05adb9d2 | 91 | |
31d80f31 UJ |
92 | |
93 | #endif |