Annotation of OpenXM_contrib2/windows/asir32gui/asir32guiView.h, Revision 1.7
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.7 ! ohara 57: void viewHtmlHelp(char *);
1.1 noro 58:
59: protected:
60:
61: // 生成されたメッセージ マップ関数
62: public:
63: //{{AFX_MSG(CAsir32guiView)
64: afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
65: afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
66: afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
67: afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
68: afx_msg void OnFileOpen();
69: afx_msg void OnFileLog();
70: afx_msg void OnAsirhelp();
71: afx_msg void OnUpdateFileLog(CCmdUI* pCmdUI);
72: afx_msg void OnEditPaste();
1.2 noro 73: afx_msg void OnFont();
74: afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
1.3 noro 75: afx_msg void OnContribhelp();
76: afx_msg void OnUpdateContribhelp(CCmdUI* pCmdUI);
1.4 noro 77: afx_msg void OnSize(UINT nType, int cx, int cy);
1.5 noro 78: afx_msg void OnDsolv();
79: afx_msg void OnGnuplot();
80: afx_msg void OnOkdiff();
81: afx_msg void OnOkdmodule();
82: afx_msg void OnOm();
83: afx_msg void OnPfpcoh();
84: afx_msg void OnPlucker();
85: afx_msg void OnSm1();
86: afx_msg void OnTigers();
87: afx_msg void OnTodoparametrize();
1.1 noro 88: //}}AFX_MSG
89: DECLARE_MESSAGE_MAP()
90: };
91:
92: #ifndef _DEBUG // asir32guiView.cpp ファイルがデバッグ環境の時使用されます。
93: inline CAsir32guiDoc* CAsir32guiView::GetDocument()
94: { return (CAsir32guiDoc*)m_pDocument; }
95: #endif
96:
97: /////////////////////////////////////////////////////////////////////////////
98:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>