blob: 4c3d36253c91501f89edb728d96af4153e166e45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/*
* Tkmacint.h --
*
* Declarations of Macintosh specific exported variables and procedures.
*
* Copyright (c) 1995-1997 Sun Microsystems, Inc.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: tkMac.h,v 1.5 1999/03/10 07:04:44 stanton Exp $
*/
#ifndef _TKMAC
#define _TKMAC
#include <Windows.h>
#include <QDOffscreen.h>
#include "tkInt.h"
/*
* "export" is a MetroWerks specific pragma. It flags the linker that
* any symbols that are defined when this pragma is on will be exported
* to shared libraries that link with this library.
*/
#pragma export on
/*
* This variable is exported and can be used by extensions. It is the
* way Tk extensions should access the QD Globals. This is so Tk
* can support embedding itself in another window.
*/
EXTERN QDGlobalsPtr tcl_macQdPtr;
/*
* Structures and function types for handling Netscape-type in process
* embedding where Tk does not control the top-level
*/
typedef int (Tk_MacEmbedRegisterWinProc) (int winID, Tk_Window window);
typedef GWorldPtr (Tk_MacEmbedGetGrafPortProc) (Tk_Window window);
typedef int (Tk_MacEmbedMakeContainerExistProc) (Tk_Window window);
typedef void (Tk_MacEmbedGetClipProc) (Tk_Window window, RgnHandle rgn);
typedef void (Tk_MacEmbedGetOffsetInParentProc) (Tk_Window window, Point *ulCorner);
/*
* Mac Specific functions that are available to extension writers.
*/
#include "tkPlatDecls.h"
#pragma export reset
#endif /* _TKMAC */
|