⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 formatoptionpage.h

📁 用bcg库编写的java IDE 源码
💻 H
字号:
#if !defined(AFX_FORMATOPTIONPAGE_H__571762B5_430D_43CF_86AC_938F502AF89D__INCLUDED_)
#define AFX_FORMATOPTIONPAGE_H__571762B5_430D_43CF_86AC_938F502AF89D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FormatOptionPage.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CFormatOptionPage dialog
#include "OwnerDrawnedCombo.h"
#include "CustButton.h"
struct attributeColorMap;
#include "SAPrefsSubDlg.h"

class CFormatOptionPage : public CSAPrefsSubDlg//CPropertyPage
{
	DECLARE_DYNCREATE(CFormatOptionPage)

// Construction
public:
	void SaveSettings();
	void LoadSettings();
	COLORREF getCurFrGrndColor();
	int getCurFontSize();
	CFont* getCurFont();
	COLORREF getCurBackGrndColor();
	CFormatOptionPage();
	~CFormatOptionPage();

// Dialog Data
	//{{AFX_DATA(CFormatOptionPage)
	enum { IDD = IDD_OPTIONS_FORMAT };
	CComboBox	m_wndFontSize;
	CComboBox	m_wndFonts;
	CListBox	m_wndItems;
	CListBox	m_wndWindowList;
	CString	m_szpFont;
	//}}AFX_DATA

	int m_nfont;
	int m_nfontSize;
	int m_nforegrd;
	int m_nbkgrd;


	static LPCTSTR m_szpAllColorItems[];
	static LPCTSTR m_szpSourceColorItems[];
	static LPCTSTR m_szpDebugColorItems[];
	static LPCTSTR m_szpBrowserColorItems[];
	static LPCTSTR m_szpOutPutColorItems[];
	static LPCTSTR m_szpRegColorItems[];
	static LPCTSTR m_szpMemColorItems[];
	static LPCTSTR m_szpCallWndColorItems[];
	static LPCTSTR m_szpVarWndColorItems[];
	static LPCTSTR m_szpWatchWndColorItems[];
	static LPCTSTR m_szpDisAssemColorItems[];
	static LPCTSTR* m_szpWindows[11][2];
	static LPCTSTR* m_pBases[];

	CArray<attributeColorMap*,attributeColorMap*>m_mapAllWindows;
    CArray<attributeColorMap*,attributeColorMap*>m_mapSrcBrowser;
	CArray<attributeColorMap*,attributeColorMap*>m_mapDebugWindow;
    CArray<attributeColorMap*,attributeColorMap*>m_mapSrcWindow;
    CArray<attributeColorMap*,attributeColorMap*>m_mapOutPutWindow;
	CArray<attributeColorMap*,attributeColorMap*>m_mapRegWindow;
	CArray<attributeColorMap*,attributeColorMap*>m_mapMemWindow;
	CArray<attributeColorMap*,attributeColorMap*>m_mapCallstackWindow;
	CArray<attributeColorMap*,attributeColorMap*>m_mapVarWindow;
    CArray<attributeColorMap*,attributeColorMap*>m_mapWatchWindow;
	CArray<attributeColorMap*,attributeColorMap*>m_mapDisAssemWindow;

	CMap<DWORD64,DWORD64,LPCTSTR,LPCTSTR>m_colorTextMap;
// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CFormatOptionPage)
	public:
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CFormatOptionPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeWindowsList();
	afx_msg void OnSelchangeComboForegrnd();
	afx_msg void OnSelchangeComboBackgrnd();
	afx_msg void OnSelchangeFontSizesCombo();
	afx_msg void OnSelchangeFontsCombo();
	afx_msg void OnSelchangeItemsList();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
	COwnerDrawnedCombo	m_wndForeGrndColor;
	COwnerDrawnedCombo	m_wndBckGrndColor;
	CCustButton        m_wndSampleDisplay;
    static int CALLBACK FontEnumProc(ENUMLOGFONTEX *lpelfe, NEWTEXTMETRICEX *lpntme, 
        int FontType, CFormatOptionPage* pFormatPage );
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_FORMATOPTIONPAGE_H__571762B5_430D_43CF_86AC_938F502AF89D__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -