blob: d539f9d3b1faba5709320c72b3dce2c9d8a3a290 [file] [log] [blame]
Jack Jansen608b3fa1999-12-12 21:38:29 +00001/*
2** Glue for missing routines.
3*/
4#include <Types.h>
5#include <Errors.h>
6
7#define UNDEFINED_TOOLBOX_FUNCTION(name) pascal OSErr name() { return unimpErr; }
8
9
10#ifdef __MC68K__
11
12UNDEFINED_TOOLBOX_FUNCTION(GetPixRowBytes) /* This one is funny: it should exist */
13
14UNDEFINED_TOOLBOX_FUNCTION(IsAntiAliasedTextEnabled)
15
16UNDEFINED_TOOLBOX_FUNCTION(SetAntiAliasedTextEnabled)
17
18UNDEFINED_TOOLBOX_FUNCTION(SetUpControlTextColor)
19
20UNDEFINED_TOOLBOX_FUNCTION(GetControlViewSize)
21
22UNDEFINED_TOOLBOX_FUNCTION(SetControlViewSize)
23
24UNDEFINED_TOOLBOX_FUNCTION(GetControl32BitValue)
25
26UNDEFINED_TOOLBOX_FUNCTION(SetControl32BitValue)
27
28UNDEFINED_TOOLBOX_FUNCTION(GetControl32BitMaximum)
29
30UNDEFINED_TOOLBOX_FUNCTION(SetControl32BitMaximum)
31
32UNDEFINED_TOOLBOX_FUNCTION(GetControl32BitMinimum)
33
34UNDEFINED_TOOLBOX_FUNCTION(SetControl32BitMinimum)
35
36UNDEFINED_TOOLBOX_FUNCTION(IsValidControlHandle)
37
38UNDEFINED_TOOLBOX_FUNCTION(RemoveControlProperty)
39
40UNDEFINED_TOOLBOX_FUNCTION(GetMenuFont)
41
42UNDEFINED_TOOLBOX_FUNCTION(SetMenuFont)
43
44UNDEFINED_TOOLBOX_FUNCTION(GetMenuExcludesMarkColumn)
45
46UNDEFINED_TOOLBOX_FUNCTION(SetMenuExcludesMarkColumn)
47
48UNDEFINED_TOOLBOX_FUNCTION(AppendMenuItemText)
49
50UNDEFINED_TOOLBOX_FUNCTION(InsertMenuItemText)
51
52UNDEFINED_TOOLBOX_FUNCTION(EnableMenuItem)
53
54UNDEFINED_TOOLBOX_FUNCTION(DisableMenuItem)
55
56UNDEFINED_TOOLBOX_FUNCTION(IsMenuItemEnabled)
57
58UNDEFINED_TOOLBOX_FUNCTION(EnableMenuItemIcon)
59
60UNDEFINED_TOOLBOX_FUNCTION(DisableMenuItemIcon)
61
62UNDEFINED_TOOLBOX_FUNCTION(IsMenuItemIconEnabled)
63
64UNDEFINED_TOOLBOX_FUNCTION(GetControlRegion)
65
66UNDEFINED_TOOLBOX_FUNCTION(AppendDialogItemList)
67
68UNDEFINED_TOOLBOX_FUNCTION(SetDialogTimeout)
69
70UNDEFINED_TOOLBOX_FUNCTION(GetDialogTimeout)
71
72UNDEFINED_TOOLBOX_FUNCTION(SetModalDialogEventMask)
73
74UNDEFINED_TOOLBOX_FUNCTION(GetModalDialogEventMask)
75
76UNDEFINED_TOOLBOX_FUNCTION(GetWindowOwnerCount)
77
78UNDEFINED_TOOLBOX_FUNCTION(CloneWindow)
79
80UNDEFINED_TOOLBOX_FUNCTION(GetWindowClass)
81
82UNDEFINED_TOOLBOX_FUNCTION(GetWindowAttributes)
83
84UNDEFINED_TOOLBOX_FUNCTION(SetWindowContentColor)
85
86UNDEFINED_TOOLBOX_FUNCTION(GetWindowContentColor)
87
88UNDEFINED_TOOLBOX_FUNCTION(GetWindowContentPattern)
89
90UNDEFINED_TOOLBOX_FUNCTION(SetWindowContentPattern)
91
92UNDEFINED_TOOLBOX_FUNCTION(InvalWindowRgn)
93
94UNDEFINED_TOOLBOX_FUNCTION(InvalWindowRect)
95
96UNDEFINED_TOOLBOX_FUNCTION(ValidWindowRgn)
97
98UNDEFINED_TOOLBOX_FUNCTION(ValidWindowRect)
99
100UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyFSSpec)
101
102UNDEFINED_TOOLBOX_FUNCTION(GetWindowProxyFSSpec)
103
104UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyAlias)
105
106UNDEFINED_TOOLBOX_FUNCTION(GetWindowProxyAlias)
107
108UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyCreatorAndType)
109
110UNDEFINED_TOOLBOX_FUNCTION(GetWindowProxyIcon)
111
112UNDEFINED_TOOLBOX_FUNCTION(SetWindowProxyIcon)
113
114UNDEFINED_TOOLBOX_FUNCTION(RemoveWindowProxy)
115
116UNDEFINED_TOOLBOX_FUNCTION(TrackWindowProxyDrag)
117
118UNDEFINED_TOOLBOX_FUNCTION(IsWindowModified)
119
120UNDEFINED_TOOLBOX_FUNCTION(SetWindowModified)
121
122UNDEFINED_TOOLBOX_FUNCTION(IsWindowPathSelectClick)
123
124UNDEFINED_TOOLBOX_FUNCTION(HiliteWindowFrameForDrag)
125
126UNDEFINED_TOOLBOX_FUNCTION(TransitionWindow)
127
128UNDEFINED_TOOLBOX_FUNCTION(RepositionWindow)
129
130UNDEFINED_TOOLBOX_FUNCTION(SetWindowBounds)
131
132UNDEFINED_TOOLBOX_FUNCTION(GetWindowBounds)
133
134UNDEFINED_TOOLBOX_FUNCTION(MoveWindowStructure)
135
136UNDEFINED_TOOLBOX_FUNCTION(IsWindowInStandardState)
137
138UNDEFINED_TOOLBOX_FUNCTION(ZoomWindowIdeal)
139
140UNDEFINED_TOOLBOX_FUNCTION(GetWindowIdealUserState)
141
142UNDEFINED_TOOLBOX_FUNCTION(SetWindowIdealUserState)
143
144UNDEFINED_TOOLBOX_FUNCTION(IsMenuBarVisible)
145
146UNDEFINED_TOOLBOX_FUNCTION(ShowMenuBar)
147
148UNDEFINED_TOOLBOX_FUNCTION(HideMenuBar)
149
150UNDEFINED_TOOLBOX_FUNCTION(CreateNewWindow)
151
152UNDEFINED_TOOLBOX_FUNCTION(CreateWindowFromResource)
153
154UNDEFINED_TOOLBOX_FUNCTION(ShowFloatingWindows)
155
156UNDEFINED_TOOLBOX_FUNCTION(HideFloatingWindows)
157
158UNDEFINED_TOOLBOX_FUNCTION(AreFloatingWindowsVisible)
159
160UNDEFINED_TOOLBOX_FUNCTION(FrontNonFloatingWindow)
161
162UNDEFINED_TOOLBOX_FUNCTION(IsValidWindowPtr)
163
164UNDEFINED_TOOLBOX_FUNCTION(InitFloatingWindows)
165
166UNDEFINED_TOOLBOX_FUNCTION(IconServicesTerminate)
167
168UNDEFINED_TOOLBOX_FUNCTION(IconRefToIconFamily)
169
170UNDEFINED_TOOLBOX_FUNCTION(IconFamilyToIconSuite)
171
172UNDEFINED_TOOLBOX_FUNCTION(IconSuiteToIconFamily)
173
174UNDEFINED_TOOLBOX_FUNCTION(SetIconFamilyData)
175
176UNDEFINED_TOOLBOX_FUNCTION(GetIconFamilyData)
177
178UNDEFINED_TOOLBOX_FUNCTION(GetIconRefOwners)
179
180UNDEFINED_TOOLBOX_FUNCTION(AcquireIconRef)
181
182UNDEFINED_TOOLBOX_FUNCTION(ReleaseIconRef)
183
184UNDEFINED_TOOLBOX_FUNCTION(GetIconRefFromFile)
185
186UNDEFINED_TOOLBOX_FUNCTION(GetIconRef)
187
188UNDEFINED_TOOLBOX_FUNCTION(GetIconRefFromFolder)
189
190UNDEFINED_TOOLBOX_FUNCTION(RegisterIconRefFromIconFamily)
191
192UNDEFINED_TOOLBOX_FUNCTION(RegisterIconRefFromResource)
193
194UNDEFINED_TOOLBOX_FUNCTION(UnregisterIconRef)
195
196UNDEFINED_TOOLBOX_FUNCTION(UpdateIconRef)
197
198UNDEFINED_TOOLBOX_FUNCTION(OverrideIconRefFromResource)
199
200UNDEFINED_TOOLBOX_FUNCTION(OverrideIconRef)
201
202UNDEFINED_TOOLBOX_FUNCTION(RemoveIconRefOverride)
203
204UNDEFINED_TOOLBOX_FUNCTION(CompositeIconRef)
205
206UNDEFINED_TOOLBOX_FUNCTION(IsIconRefComposite)
207
208UNDEFINED_TOOLBOX_FUNCTION(IsValidIconRef)
209
210UNDEFINED_TOOLBOX_FUNCTION(PlotIconRef)
211
212UNDEFINED_TOOLBOX_FUNCTION(PtInIconRef)
213
214UNDEFINED_TOOLBOX_FUNCTION(RectInIconRef)
215
216UNDEFINED_TOOLBOX_FUNCTION(IconRefToRgn)
217
218UNDEFINED_TOOLBOX_FUNCTION(GetIconSizesFromIconRef)
219
220UNDEFINED_TOOLBOX_FUNCTION(FlushIconRefs)
221
222UNDEFINED_TOOLBOX_FUNCTION(FlushIconRefsByVolume)
223
224UNDEFINED_TOOLBOX_FUNCTION(SetCustomIconsEnabled)
225
226UNDEFINED_TOOLBOX_FUNCTION(GetCustomIconsEnabled)
227
228UNDEFINED_TOOLBOX_FUNCTION(SndGetInfo)
229
230UNDEFINED_TOOLBOX_FUNCTION(SndSetInfo)
231
232UNDEFINED_TOOLBOX_FUNCTION(GetCompressionInfo)
233
234UNDEFINED_TOOLBOX_FUNCTION(SetSoundPreference)
235
236UNDEFINED_TOOLBOX_FUNCTION(GetSoundPreference)
237
238UNDEFINED_TOOLBOX_FUNCTION(GetCompressionName)
239
240UNDEFINED_TOOLBOX_FUNCTION(DrawThemeTabPane)
241
242UNDEFINED_TOOLBOX_FUNCTION(GetThemeTabRegion)
243
244UNDEFINED_TOOLBOX_FUNCTION(SetThemeCursor)
245
246UNDEFINED_TOOLBOX_FUNCTION(SetAnimatedThemeCursor)
247
248UNDEFINED_TOOLBOX_FUNCTION(GetThemeScrollBarThumbStyle)
249
250UNDEFINED_TOOLBOX_FUNCTION(GetThemeScrollBarArrowStyle)
251
252UNDEFINED_TOOLBOX_FUNCTION(GetThemeCheckBoxStyle)
253
254UNDEFINED_TOOLBOX_FUNCTION(UseThemeFont)
255
256UNDEFINED_TOOLBOX_FUNCTION(DrawThemeScrollBarArrows)
257
258UNDEFINED_TOOLBOX_FUNCTION(GetThemeScrollBarTrackRect)
259
260UNDEFINED_TOOLBOX_FUNCTION(HitTestThemeScrollBarArrows)
261
262UNDEFINED_TOOLBOX_FUNCTION(DrawThemeScrollBarDelimiters)
263
264UNDEFINED_TOOLBOX_FUNCTION(PlayThemeSound)
265
266UNDEFINED_TOOLBOX_FUNCTION(BeginThemeDragSound)
267
268UNDEFINED_TOOLBOX_FUNCTION(EndThemeDragSound)
269
270UNDEFINED_TOOLBOX_FUNCTION(DrawThemeTickMark)
271
272UNDEFINED_TOOLBOX_FUNCTION(DrawThemeStandaloneGrowBox)
273
274UNDEFINED_TOOLBOX_FUNCTION(DrawThemeStandaloneNoGrowBox)
275
276UNDEFINED_TOOLBOX_FUNCTION(GetThemeStandaloneGrowBoxBounds)
277
278UNDEFINED_TOOLBOX_FUNCTION(NormalizeThemeDrawingState)
279
280UNDEFINED_TOOLBOX_FUNCTION(ApplyThemeBackground)
281
282UNDEFINED_TOOLBOX_FUNCTION(SetThemeTextColorForWindow)
283
284UNDEFINED_TOOLBOX_FUNCTION(IsValidAppearanceFileType)
285
286UNDEFINED_TOOLBOX_FUNCTION(GetThemeBrushAsColor)
287
288UNDEFINED_TOOLBOX_FUNCTION(GetThemeTextColor)
289
290#endif