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