Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 35af158d2801eccfc5beda06aba390e08621954c authored by cvs2svn on 20 September 2005, 20:53:24 UTC
This commit was manufactured by cvs2svn to create tag 'r242c1'.
Tip revision: 35af158
WEObjectHandlers.h
/*
	WASTE Demo Project:
	Sample WASTE Object Handlers

	Copyright © 1993-1998 Marco Piovanelli
	All Rights Reserved
*/
#ifndef WITHOUT_FRAMEWORKS
#include <Carbon/Carbon.h>
#endif
#ifndef _WASTE_
#include "WASTE.h"
#endif


// PICTURES

pascal OSErr HandleNewPicture(Point *defaultObjectSize, WEObjectReference objectRef);
pascal OSErr HandleDisposePicture(WEObjectReference objectRef);
pascal OSErr HandleDrawPicture(const Rect *destRect, WEObjectReference objectRef);

// SOUNDS

enum {
	kSoundIconID	=	550
};

pascal OSErr HandleNewSound(Point *defaultObjectSize, WEObjectReference objectRef);
pascal OSErr HandleDrawSound(const Rect *destRect, WEObjectReference objectRef);
pascal Boolean HandleClickSound(Point hitPt, EventModifiers modifiers,
					UInt32 clickTime, WEObjectReference objectRef);
back to top