/* @(#) 1.5 nt/src/samples/mandel/iodmandl.h, odmandelpart, od96nt, odnt9712d 11/1/96 21:01:08 [3/21/97 17:36:45] */
/*====START_GENERATED_PROLOG======================================
 */
/*
 *   COMPONENT_NAME: odother
 *
 *   CLASSES: none
 *
 *   ORIGINS: 82,27
 *
 *
 *   (C) COPYRIGHT International Business Machines Corp. 1995,1996
 *   All Rights Reserved
 *   Licensed Materials - Property of IBM
 *   US Government Users Restricted Rights - Use, duplication or
 *   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 *   	
 *   IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 *   ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 *   PURPOSE. IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 *   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
 *   USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 *   OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
 *   OR PERFORMANCE OF THIS SOFTWARE.
 */
/*====END_GENERATED_PROLOG========================================
 */
#ifndef _MANDEL_H_
#define _MANDEL_H_

const ODULong kODIterationStep = 128;

// CMD_Offset is set to the MENUID_ACTIVEPART_USER as defined in CMDDEFS.XH
// This is an area reserved for USER defined menuitems.
#define CMD_Offset	MENUID_ACTIVEPART_USER
const ODMenuID kODMandelbrotMenuID = CMD_Offset;
#define kODCommandZoom			(CMD_Offset + 1)
#define kODCommandUnzoom		(CMD_Offset + 2)
#define kODCommandReset 		(CMD_Offset + 3)
#define kODCommandRedraw 		(CMD_Offset + 4)
#define kODCommandIncreaseIterations	(CMD_Offset + 5)
#define kODCommandResetIterations	(CMD_Offset + 6)
#define kODCommandInfo			(CMD_Offset + 7)
#define kODCommandSeparator		(CMD_Offset + 8)
#define kODCommandSeparator2		(CMD_Offset + 9)

//#define ID_BASEMENUBAR	500	// copied from ODRes.h


// Constants used for Part Registration
const ODType   kODKindMandelbrot          = "Mandelbrot";
const ODType   kMandelbrotKindDisplayName = "Mandelbrot Kind";
const ODType   kMandelbrotHandlerName     = "Mandelbrot";
const ODType   kMandelbrotHandlerDisplayName  = "Mandelbrot Viewer";
const ODType   kMandelbrotCategory        = "OpenDoc:Category:Sample";
const ODType   kMandelbrotIconFileName    = "iodmandl.ico";

#endif
