//	Lefty.h
//	Copyright 1998-2004 by Joseph J. Strout (joe@strout.net).
//
//	This file defines lefty-support functions.  For more info, see 
//	<http://www.strout.net/info/pilot/leftypilot/code.html>.
//
//	This code is in the public domain.  Share and enjoy.
//
//	Revision history:
//
//		5/09/98	JJS		Initial release.
//		4/12/04 JJS		Renamed multiple-inclusion guard to LEFTY_H.
//						Updated data types to new standards (UInt16, Int16, etc.).
//
//----------------------------------------------------------------------

#ifndef LEFTY_H
#define LEFTY_H

#ifdef __cplusplus
extern "C" {
#endif


Boolean UserIsLefty(void);

void LeftyFlip(FormPtr frm, UInt16 objIndex, Int16 YAxis);
void LeftyFlipByID(FormPtr frm, UInt16 objID, Int16 YAxis);

Int16 LeftyFindAxis(FormPtr frm, UInt16 objIndex1, UInt16 objIndex2);
Int16 LeftyFindAxisByID(FormPtr frm, UInt16 objID1, UInt16 objID2);

void LeftySwap(FormPtr frm, UInt16 objIndex1, UInt16 objIndex2);
void LeftySwapByID(FormPtr frm, UInt16 objID1, UInt16 objID2);


#ifdef __cplusplus
}
#endif

#endif	// LEFTY_H
