Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
TumblerSource/Tumbler_cursor.c
// |
// |
// cursor.c |
// |
// Cursor handling routines. |
// |
// |
// Author: Nick Thompson & Pablo Fernicola, with thanks to the QuickDraw 3D team |
// |
// Copyright © 1992-95 Apple Computer, Inc., All Rights Reserved |
// |
#include "Tumbler_globals.h" |
#include "Tumbler_prototypes.h" |
#include "Tumbler_resources.h" |
#include "QD3DView.h" |
#include "QD3DDrawContext.h" |
#include "QD3DPick.h" |
#include "Tumbler_cursor.h" |
void AdjustCursor(Point theLoc, RgnHandle theRgn) |
{ |
// do nothing for now |
} |
void GetGlobalMouse(Point *theLoc) |
{ EventRecord theEvent; |
OSEventAvail(0, &theEvent); |
*theLoc = theEvent.where; |
} |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14