home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
online
/
source
/
cpp
/
graphics
/
Conics.sit.hqx
/
Conics
/
Include
/
MenuHandler.h
< prev
next >
Wrap
Text File
|
1996-11-08
|
762b
|
37 lines
//Copyright 1996 Aidan Cully
//All rights reserved
#ifndef __CONICMENUS_H
#define __CONICMENUS_H
#include "ActionHandler.h"
#include "conic.h"
#include "WindowTypes.h"
#define m_APPLE 128
#define ma_ABOUT 1
#define m_FILE 129
#define mf_CLOSE 1
#define mf_QUIT 2
#define m_EDIT 130
#define me_COPY 1
#define m_WINDOW 131
#define mw_CONIC 1
#define mw_PLOT 2
#define mw_EQU 3
#define mw_INSTRUCT 4
class TConicHandler:public MEventHandler {
protected:
TConic conic;
TPlane plane;
TBaseWindow *conicWindow, *plotWindow, *instructWindow, *equWindow;
public:
TConicHandler();
virtual ~TConicHandler();
virtual SInt8 Init( MActionHandler* );
virtual SInt8 HandleAction( UInt32 action );
virtual SInt8 ProcessEvent( const EventRecord& );
};
#endif