#pragma once #include "common.h" class T2CtrlPalette : public CFrameWnd { public: T2CtrlPalette(); virtual ~T2CtrlPalette(); virtual void SetDocument(T2TowerDoc *inDoc); virtual void vf100(int inViewMode); virtual void vf104(int inViewMode); virtual void vf108(int what) {} T2MWControl *mPauseControl; T2MWControl *mInViewControl; T2MWControl *mOutViewControl; T2MWControl *mMaintControl; T2MWControl *mEvalControl; T2MWControl *mTransControl; T2MWControl *mPriceControl; T2MWControl *mSliderControl; CString mE0; CString mE4; T2TowerDoc *mDocument; T2WorldDef *mWorldDef; BOOL mIsSetUp; //{{AFX_VIRTUAL(T2CtrlPalette) //}}AFX_VIRTUAL protected: //{{AFX_MSG(T2CtrlPalette) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg BOOL OnQueryNewPalette(); afx_msg BOOL OnEraseBkgnd(CDC* pDC); afx_msg void OnClose(); //}}AFX_MSG DECLARE_MESSAGE_MAP() static int sUnknown; };