SpecsPage.h. #1

  • //
  • guest/
  • YourUncleBob/
  • p4win/
  • main/
  • gui/
  • OptionsDlg/
  • SpecsPage.h.
  • View
  • Commits
  • Open Download .zip Download (2 KB)
/*
 * Copyright 1999 Perforce Software.  All rights reserved.
 *
 * This file is part of Perforce - the FAST SCM System.
 */



#ifndef __SpecsPage__
#define __SpecsPage__

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

/////////////////////////////////////////////////////////////////////////////
// CSpecsPage dialog

class CSpecsPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CSpecsPage)

// Construction
public:
	CSpecsPage();
	~CSpecsPage();

// Dialog Data
	//{{AFX_DATA(CSpecsPage)
	enum { IDD = IDD_PAGE_SPECS };
	CComboBox	m_FontCombo;
	CComboBox	m_SizeCombo;
	CComboBox	m_StyleCombo;
	CStatic	m_Sample;
	CString	m_FontFace;
	CString	m_FontSize;
	CString	m_FontStyle;
	CButton	m_PreserveSpecFormat;
	CButton	m_AllowPromptAbove;
	CString m_MinMultiLineSize;
	BOOL    m_DescWrapSw;
	CString m_DescWrap;
	CButton	m_AutoMinEditDlg;
	//}}AFX_DATA

// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CSpecsPage)
	public:
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	BOOL m_Inited;
	int m_ErrorCount;

	// Generated message map functions
	//{{AFX_MSG(CSpecsPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelChange();
	afx_msg void OnSelchangeFont();
	afx_msg void OnDescWrapSw();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	CFont m_FontSample;
	int	m_cyPixelsPerInch;
	static int CALLBACK FontEnumProc( ENUMLOGFONTEX *enumLogFontEx, NEWTEXTMETRICEX *newTextMetric,
		int fontType, CSpecsPage *specsPage );
	static int CALLBACK SizeEnumProc( ENUMLOGFONT *enumLogFont, NEWTEXTMETRIC *newTextMetric, 
		int fontType, CSpecsPage *specsPage);

	void UpdateSampleFont();
};

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

#endif // __SpecsPage__
# Change User Description Committed
#1 19924 YourUncleBob Populate -o //guest/perforce_software/p4win/...
//guest/YourUncleBob/p4win/.....
//guest/perforce_software/p4win/main/gui/OptionsDlg/SpecsPage.h
#1 16169 perforce_software Move files to follow new path scheme for branches.
//guest/perforce_software/p4win/gui/OptionsDlg/SpecsPage.h
#1 8562 Matt Attaway These feet never stop running.

Initial commit of the P4Win source code.  To the best of our knowledge this
compiles and runs using the 2013.3 P4 API and VS 2010. Expect a few changes
as we refine the build process. Please post any build issues to the forums.