]> git.saurik.com Git - wxWidgets.git/blame - include/wx/mac/aga.h
Bitmap button updates
[wxWidgets.git] / include / wx / mac / aga.h
CommitLineData
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
16ControlHandle 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
26OSErr AGASetControlFontStyle (ControlHandle inControl,
27 const ControlFontStyleRec * inStyle) ;
28
29OSErr AGAGetControlDataSize (ControlHandle inControl,
30 ControlPartCode inPart,
31 ResType inTagName,
32 Size * outMaxSize) ;
33
34
35OSErr AGASetControlData (ControlHandle inControl,
36 ControlPartCode inPart,
37 ResType inTagName,
38 Size inSize,
39 Ptr inData) ;
40
41OSErr AGAGetControlData (ControlHandle inControl,
42 ControlPartCode inPart,
43 ResType inTagName,
44 Size inBufferSize,
45 Ptr outBuffer,
46 Size * outActualSize) ;
47
48OSErr AGAGetBestControlRect (ControlHandle inControl,
49 Rect * outRect,
50 SInt16 * outBaseLineOffset) ;
51
52SInt16 AGAHandleControlKey (ControlHandle inControl,
53 SInt16 inKeyCode,
54 SInt16 inCharCode,
55 SInt16 inModifiers) ;
56
57ControlPartCode AGAHandleControlClick (ControlHandle inControl,
58 Point inWhere,
59 SInt16 inModifiers,
60 ControlActionUPP inAction) ;
61
62void AGAIdleControls (WindowPtr inWindow) ;
63
64void AGADrawControl( ControlHandle inControl ) ;
65void AGADeactivateControl( ControlHandle inControl ) ;
66void AGAActivateControl( ControlHandle inControl ) ;
67OSErr AGASetKeyboardFocus (WindowPtr inWindow,
68 ControlHandle inControl,
69 ControlFocusPart inPart) ;
70
71OSErr AGACreateRootControl (WindowPtr inWindow,
72 ControlHandle * outControl) ;
73OSErr AGAEmbedControl (ControlHandle inControl,
74 ControlHandle inContainer) ;
75
76void AGAUpdateControls( WindowPtr inWindow , RgnHandle inRgn ) ;
77OSErr AGAGetRootControl( WindowPtr inWindow , ControlHandle *outControl ) ;
78void AGASetThemeWindowBackground (WindowRef inWindow,
79 ThemeBrush inBrush,
80 Boolean inUpdate) ;
05adb9d2
SC
81void AGAApplyThemeBackground (ThemeBackgroundKind inKind,
82 const Rect * bounds,
83 ThemeDrawState inState,
84 SInt16 inDepth,
85 Boolean inColorDev) ;
31d80f31
UJ
86void AGAMoveControl( ControlHandle inControl , short x , short y ) ;
87void AGASizeControl( ControlHandle inControl , short x , short y ) ;
88
5273bf2f 89*/
246c9206 90
05adb9d2 91
31d80f31
UJ
92
93#endif