viewer.h
来自「ucOS 模拟环境」· C头文件 代码 · 共 74 行
H
74 行
// viewer.h : main header file for the VIEWER application
//
#if !defined(AFX_VIEWER_H__3E0DFB45_DA8B_11D4_AB9E_0050BAA6797D__INCLUDED_)
#define AFX_VIEWER_H__3E0DFB45_DA8B_11D4_AB9E_0050BAA6797D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CViewerApp:
// See viewer.cpp for the implementation of this class
//
struct TAppSetting
{
int iZoom;
BOOL bLookCode;
BOOL bCopyBmpWithBorder;
int iWindowLeft;
int iWindowTop;
int iWindowWidth;
int iWindowHeight;
// LED position
int nLedLeft;
int nLedTop;
int nLedWidth;
int nLedHeight;
WORD wCopyAttr;
};
class CViewerApp : public CWinApp
{
public:
CViewerApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CViewerApp)
public:
virtual BOOL InitInstance();
//}}AFX_VIRTUAL
// Implementation
public:
TAppSetting m_setting;
public:
//{{AFX_MSG(CViewerApp)
afx_msg void OnAppAbout();
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void GetAppSetting(void);
void WriteAppSetting(void);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIEWER_H__3E0DFB45_DA8B_11D4_AB9E_0050BAA6797D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?