OSDN Git Service

* cgen-asm.in: Update copyright year.
[pf3gnuchains/pf3gnuchains3x.git] / tk / mac / tkMacAppearanceStubs.c
1 /* 
2  * tkMacAppearanceStubs.c --
3  *
4  *      This file contains stubs for some MacOS8.6+ Toolbox calls that
5  *      are not contained in any of the CFM68K stubs libraries.  Their
6  *      use must be conditionalized by checks (usually for Appearance version
7  *      greater than 1.1), so they will never get called on a CFM68k system.
8  *      Putting in the stubs means I don't have to clutter the code BOTH
9  *      with appearance version checks & #ifdef GENERATING_CFM68K...
10  *
11  * Copyright (c) 1999 Scriptics Inc.
12  *
13  * See the file "license.terms" for information on usage and redistribution
14  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15  *
16  * 
17  */
18
19 #include <MacWindows.h>
20 #include <Appearance.h>
21
22 /* Export these calls from the Tk library, since we may need to use
23  * them in shell calls.
24  */
25   
26 pascal OSStatus
27 MoveWindowStructure(
28     WindowPtr window, 
29     short hGlobal, 
30     short vGlobal)
31 {
32     panic("Error: Running stub for PPC-Only routine");
33     return noErr;
34
35 }
36
37 pascal OSStatus
38 CreateNewWindow(
39     WindowClass windowClass, 
40     WindowAttributes attributes, 
41     const Rect *bounds, 
42     WindowPtr *outWindow)
43 {
44     panic("Error: Running stub for PPC-Only routine");
45     return noErr;
46
47 }
48
49 pascal WindowPtr
50 FrontNonFloatingWindow()
51 {
52     panic("Error: Running stub for PPC-Only routine");
53     return NULL;
54 }
55
56 pascal OSStatus
57 GetWindowClass(
58     WindowPtr window,
59     WindowClass *outClass)
60 {
61     panic("Error: Running stub for PPC-Only routine");
62     return noErr;
63 }
64
65 pascal OSStatus
66 ApplyThemeBackground(
67     ThemeBackgroundKind inKind,
68     const Rect* bounds,
69     ThemeDrawState inState,
70     SInt16 inDepth,
71     Boolean inColorDev)
72 {
73     panic("Error: Running stub for PPC-Only routine");
74     return noErr;
75 }
76
77 pascal OSStatus
78 InitFloatingWindows(void)
79 {
80     panic("Error: Running stub for PPC-Only routine");
81     return noErr;
82 }
83
84 pascal OSStatus
85 ShowFloatingWindows(void)
86 {
87     panic("Error: Running stub for PPC-Only routine");
88     return noErr;
89 }
90
91 pascal OSStatus
92 HideFloatingWindows(void)
93 {
94     panic("Error: Running stub for PPC-Only routine");
95     return noErr;
96 }
97
98 pascal Boolean
99 IsValidWindowPtr(GrafPtr grafPort)
100 {
101     panic("Error: Running stub for PPC-Only routine");
102     return true;
103 }
104