📄 demowindow.h
字号:
#if !defined(AFX_demowindow_H__E5765FE1_0BC4_4A06_A771_48B2E96B0D5B__INCLUDED_)
#define AFX_demowindow_H__E5765FE1_0BC4_4A06_A771_48B2E96B0D5B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// demowindow.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// demowindow window
#define LEFT 1
#define RIGHT -1
#define ROTATE_LEFT_RIGHT 1
#define ROTATE_UP_DOWN 2
#include "dlldef.h"
class demowindow : public CStatic
{
// Construction
public:
demowindow();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(demowindow)
public:
protected:
//}}AFX_VIRTUAL
// Implementation
public:
void S_RightButtonDblClk(CPoint point);
void S_RightButtonDown(CPoint point);
void S_RightButtonUp(CPoint point);
void S_LeftButtonDblClk(CPoint point);
void S_LeftButtonDown(CPoint point);
void S_LeftButtonUp(CPoint point);
void S_MouseMove(CPoint point);
void S_ResumePic();
void S_ButtonResume();
void S_ButtonRight();
void S_ButtonLeft();
void S_ButtonUp();
void S_ButtonDown();
void S_SaveFile(FILE *fp);
void S_SaveData(char *DataFilePath);
int S_OpenFile(FILE *fp);
void S_SetParameter(float parameter1,float parameter2,float parameter3,float parameter4,float parameter5);
void S_GetParameter(float *parameter1, float *parameter2, float *parameter3, float *parameter4, float *parameter5);
void S_ChangeParameter(int parameterID,int value);
void S_ModifyParameter();
void m_drawspeed(float time);
void m_drawdisplacement(float time);
void m_drawaxes();
void S_InitGraph();
void S_RefreshPic();
CString S_OnSpecialFunction1(int inittext,int *pressed);
CString S_OnSpecialFunction2(int inittext,int *pressed);
CString S_OnSpecialFunction3(int inittext,int *pressed);
CString S_OnSpecialFunction4(int inittext,int *pressed);
CString S_RateOfParameter1(float *rate);
CString S_RateOfParameter2(float *rate);
CString S_RateOfParameter3(float *rate);
CString S_RateOfParameter4(float *rate);
CString S_RateOfParameter5(float *rate);
void S_Demo();
void S_Begin();
void S_forward();
void S_backward();
virtual ~demowindow();
// Generated message map functions
protected:
//{{AFX_MSG(demowindow)
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void S_switchpic();
void m_setcolor(RGB *color, float r, float g, float b);
void m_setpoint(POINT3F *p,float x,float y,float z);
int S_special_function1_pressed;
int S_special_function2_pressed;
int S_special_function3_pressed;
int S_special_function4_pressed;
void S_Picture1();
void S_Picture2();
void S_Picture3();
float S_Step;
float P_radius;
float P_omega;
int P_direction;
STRING word;
AUX_RGBImageRec *picture;
};
// void CopyString(char *ch,CString str);
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_demowindow_H__E5765FE1_0BC4_4A06_A771_48B2E96B0D5B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -