📄 graphitedoc.h
字号:
//
// Graphite For WinCE(Pocket PC)
// Initially Written By Hyouck "Hawk" Kim, peakhunt@yahoo.com
// 2002, All Rights Reserved
//
// This is GPLed, open source based, software development project.
// For more question about GPL,
// visit http://www.gnu.org/licenses/gpl.txt
//
//
// Revision History
// Nov/30/2002, Initial Release hkim
//
//
// graphiteDoc.h : interface of the CGraphiteDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_GRAPHITEDOC_H__90132CEE_3C7E_4362_B5FA_61F4DB1B491A__INCLUDED_)
#define AFX_GRAPHITEDOC_H__90132CEE_3C7E_4362_B5FA_61F4DB1B491A__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "stackmachine.h"
class CGraphiteDoc : public CDocument
{
protected: // create from serialization only
CGraphiteDoc();
DECLARE_DYNCREATE(CGraphiteDoc)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGraphiteDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CGraphiteDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CGraphiteDoc)
afx_msg void OnScrollDown();
afx_msg void OnScrollLeft();
afx_msg void OnScrollRight();
afx_msg void OnScrollUp();
afx_msg void OnMenuSetRange();
afx_msg void OnMenuMathInput();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
bool validDoc(void);
double f(double x);
void UpdateView(void);
double m_minX;
double m_maxX;
double m_minY;
double m_maxY;
double m_deltaX;
double m_scrollX;
double m_scrollY;
CString m_plotTitle;
protected:
CStackMachine m_sm;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_GRAPHITEDOC_H__90132CEE_3C7E_4362_B5FA_61F4DB1B491A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -