]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/mac/aga.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Gray Controls implementation
8 // Copyright: (c) AUTHOR
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
16 ControlHandle AGANewControl(WindowPtr owningWindow,
17 const Rect * boundsRect,
18 ConstStr255Param controlTitle,
19 Boolean initiallyVisible,
24 SInt32 controlReference) ;
26 OSErr AGASetControlFontStyle (ControlHandle inControl,
27 const ControlFontStyleRec * inStyle) ;
29 OSErr AGAGetControlDataSize (ControlHandle inControl,
30 ControlPartCode inPart,
35 OSErr AGASetControlData (ControlHandle inControl,
36 ControlPartCode inPart,
41 OSErr AGAGetControlData (ControlHandle inControl,
42 ControlPartCode inPart,
46 Size * outActualSize) ;
48 OSErr AGAGetBestControlRect (ControlHandle inControl,
50 SInt16 * outBaseLineOffset) ;
52 SInt16 AGAHandleControlKey (ControlHandle inControl,
57 ControlPartCode AGAHandleControlClick (ControlHandle inControl,
60 ControlActionUPP inAction) ;
62 void AGAIdleControls (WindowPtr inWindow) ;
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) ;
71 OSErr AGACreateRootControl (WindowPtr inWindow,
72 ControlHandle * outControl) ;
73 OSErr AGAEmbedControl (ControlHandle inControl,
74 ControlHandle inContainer) ;
76 void AGAUpdateControls( WindowPtr inWindow , RgnHandle inRgn ) ;
77 OSErr AGAGetRootControl( WindowPtr inWindow , ControlHandle *outControl ) ;
78 void AGASetThemeWindowBackground (WindowRef inWindow,
81 void AGAApplyThemeBackground (ThemeBackgroundKind inKind,
83 ThemeDrawState inState,
86 void AGAMoveControl( ControlHandle inControl , short x , short y ) ;
87 void AGASizeControl( ControlHandle inControl , short x , short y ) ;