[BACK]Return to asir32guiView.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / asir32gui

Annotation of OpenXM_contrib2/windows/asir32gui/asir32guiView.h, Revision 1.6

1.1       noro        1: // asir32guiView.h : CAsir32guiView クラスの宣言およびインターフェイスの定義をします。
                      2: //
                      3: /////////////////////////////////////////////////////////////////////////////
                      4:
                      5: class CAsir32guiView : public CEditView
                      6: {
                      7: public: // シリアライズ機能のみから作成します。
                      8:        CAsir32guiView();
                      9:        DECLARE_DYNCREATE(CAsir32guiView);
                     10:
                     11: // アトリビュート
                     12: public:
                     13:        CAsir32guiDoc* GetDocument();
                     14:
                     15: // オペレーション
                     16: public:
                     17:
                     18:        int DebugMode;
                     19:        int DebugInMain;
                     20:        int CurrentPos,EndPos;
                     21:        int MaxLineLength;
                     22:        int LogStart;
                     23:        int Logging;
                     24:        FILE *Logfp;
                     25:        char Buffer[BUFSIZ*2];
                     26:
                     27: // オーバーライド
                     28:        // ClassWizard は仮想関数を生成しオーバーライドします。
                     29:        //{{AFX_VIRTUAL(CAsir32guiView)
                     30:        public:
                     31:        virtual void OnDraw(CDC* pDC);  // このビューを描画する際にオーバーライドされます。
                     32:        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
1.6     ! noro       33:        virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
1.1       noro       34:        protected:
                     35:        virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
                     36:        virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
                     37:        virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
                     38:        //}}AFX_VIRTUAL
                     39:
                     40: // インプリメンテーション
                     41: public:
                     42:        virtual ~CAsir32guiView();
                     43: #ifdef _DEBUG
                     44:        virtual void AssertValid() const;
                     45:        virtual void Dump(CDumpContext& dc) const;
                     46: #endif
                     47:        void Paste(void);
                     48:        void Insert(char *,BOOL wrap = TRUE);
                     49:        void ResetIndex(void) {EndPos = CurrentPos = 0;}
                     50:        void PutChar(int);
                     51:        void DeleteChar(int);
                     52:        void DeleteTop(void);
                     53:        void UpdateCursor(int);
                     54:        void Beep(void);
                     55:        void ReplaceString(char *);
1.4       noro       56:        void UpdateMetrics();
1.1       noro       57:
                     58: protected:
                     59:
                     60: // 生成されたメッセージ マップ関数
                     61: public:
                     62:        //{{AFX_MSG(CAsir32guiView)
                     63:        afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
                     64:        afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
                     65:        afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
                     66:        afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
                     67:        afx_msg void OnFileOpen();
                     68:        afx_msg void OnFileLog();
                     69:        afx_msg void OnAsirhelp();
                     70:        afx_msg void OnUpdateFileLog(CCmdUI* pCmdUI);
                     71:        afx_msg void OnEditPaste();
1.2       noro       72:        afx_msg void OnFont();
                     73:        afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
1.3       noro       74:        afx_msg void OnContribhelp();
                     75:        afx_msg void OnUpdateContribhelp(CCmdUI* pCmdUI);
1.4       noro       76:        afx_msg void OnSize(UINT nType, int cx, int cy);
1.5       noro       77:        afx_msg void OnDsolv();
                     78:        afx_msg void OnGnuplot();
                     79:        afx_msg void OnOkdiff();
                     80:        afx_msg void OnOkdmodule();
                     81:        afx_msg void OnOm();
                     82:        afx_msg void OnPfpcoh();
                     83:        afx_msg void OnPlucker();
                     84:        afx_msg void OnSm1();
                     85:        afx_msg void OnTigers();
                     86:        afx_msg void OnTodoparametrize();
1.1       noro       87:        //}}AFX_MSG
                     88:        DECLARE_MESSAGE_MAP()
                     89: };
                     90:
                     91: #ifndef _DEBUG  // asir32guiView.cpp ファイルがデバッグ環境の時使用されます。
                     92: inline CAsir32guiDoc* CAsir32guiView::GetDocument()
                     93:    { return (CAsir32guiDoc*)m_pDocument; }
                     94: #endif
                     95:
                     96: /////////////////////////////////////////////////////////////////////////////
                     97:

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>