home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
odtlktv4.zip
/
ODTLKT
/
TOOLKIT
/
IDL
/
CANVAS.IDL
< prev
next >
Wrap
Text File
|
1995-12-13
|
2KB
|
85 lines
/********************************************************************/
/* Licensed Materials - Property of IBM */
/* */
/* */
/* Copyright (C) International Business Machines Corp., 1994. */
/* Copyright (C) Apple Computer, Inc., 1994 */
/* */
/* US Government Users Restricted Rights - */
/* Use, duplication, or disclosure restricted */
/* by GSA ADP Schedule Contract with IBM Corp. */
/* */
/* */
/********************************************************************/
#ifndef _CANVAS_
#define _CANVAS_
#ifndef _CANVASB_
#include "CanvasB.idl" // base class
#endif
#ifdef _PLATFORM_OS2_
#ifndef _WNDPCANV_
#include "WndPCanv.idl"
#endif
#endif // _PLATFORM_OS2_
//==============================================================================
// Mac OS types used in this interface
//==============================================================================
/*
#pragma somemittypes off
*/
typedef unsigned long GrafPtr; // C definition is in <QuickDraw.h>
/*
#pragma somemittypes on
*/
//==============================================================================
// Classes defined in this interface
//==============================================================================
interface ODCanvas;
//==============================================================================
// ODCanvas
//==============================================================================
interface ODCanvas : ODBaseCanvas
{
#ifndef _PLATFORM_OS2_
GrafPtr GetQDPort( );
ODPlatformCanvas GetGXViewport( ); // Really a gxViewport; see <graphics types.h>
#endif // _PLATFORM_OS2_
#ifdef __SOMIDL__
implementation
{
majorversion = 1; minorversion = 0;
releaseorder:
#ifndef _PLATFORM_OS2_
GetQDPort,
GetGXViewport,
#endif
reserved1;
override:
HasPlatformCanvas,
GetPlatformCanvas,
SetPlatformCanvas;
functionprefix = ODCanvas__;
};
#endif
};
#endif // _CANVAS_