Files
envi-code/SourceCode/Code2026/tg_shs/shs_kerncmd/FullScreenDlg.h
T
2026-09-28 15:28:50 +08:00

66 lines
1.5 KiB
C++

#if !defined(AFX_FULLSCREENDLG_H__D6431215_EBFE_4B57_BE56_7A4E553928DD__INCLUDED_)
#define AFX_FULLSCREENDLG_H__D6431215_EBFE_4B57_BE56_7A4E553928DD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Resource.h"
#include "GsPreviewCtrl.h"
class CFullScreenDlg : public GlwCAcUiDialog
{
public:
CFullScreenDlg(CWnd* pParent = NULL);
~CFullScreenDlg();
void SetUseModelSpace(BOOL bTrue) {
m_bUseModelSpace=bTrue;
}
//{{AFX_DATA(CFullScreenDlg)
enum { IDD = IDD_FULLSCREEN };
//}}AFX_DATA
//{{AFX_VIRTUAL(CFullScreenDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
public:
virtual BOOL DestroyWindow();
//}}AFX_VIRTUAL
protected:
//{{AFX_MSG(CFullScreenDlg)
virtual BOOL OnInitDialog();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnFlatShade();
afx_msg void OnFlatShade1();
afx_msg void OnGroundShade();
afx_msg void OnGroundShade1();
afx_msg void OnHideWire();
afx_msg void OnEscape();
afx_msg void On3dwire();
afx_msg void On2dwire();
afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
protected:
CMenu m_menu;
CGsPreviewCtrl m_wndViewCtrl;
AcDbObjectId m_idBlock;
BOOL m_bUseModelSpace;
//modify by xlc on 090806 R18ÒÆÖ²
void Set3DView(
#if ADS<18
AcGsView::RenderMode mode
#else
AcGiVisualStyle mode
#endif
);
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_FULLSCREENDLG_H__D6431215_EBFE_4B57_BE56_7A4E553928DD__INCLUDED_)