1 #if !defined(AFX_FontPropertyPage_H__A815F7A5_D51B_11D1_8DDE_0800369C8A03__INCLUDED_)
2 #define AFX_FontPropertyPage_H__A815F7A5_D51B_11D1_8DDE_0800369C8A03__INCLUDED_
6 #endif // _MSC_VER >= 1000
7 // FontPropertyPage.h : header file
9 #include "Aspect_FontMap.hxx"
10 /////////////////////////////////////////////////////////////////////////////
11 // CFontPropertyPage dialog
13 class CFontPropertyPage : public CPropertyPage
15 DECLARE_DYNCREATE(CFontPropertyPage)
18 Handle(Aspect_FontMap) myFontMap;
20 Handle(V2d_Viewer) myViewer;
22 void SetViewer(Handle(V2d_Viewer) aViewer) {
24 myFontMap = aViewer->FontMap();
33 //{{AFX_DATA(CFontPropertyPage)
34 enum { IDD = IDD_DIALOG_Font };
35 CString m_FontMapSize;
37 CString m_CurrentEntryValue;
38 CString m_CurrentEntryStyle;
39 CString m_CurrentEntrySize;
40 CString m_CurrentEntrySlant;
41 CComboBox m_NewEntry_Type;
42 double m_NewEntrySize;
43 double m_NewEntrySlant;
44 CString m_NewEntryValue;
48 // ClassWizard generate virtual function overrides
49 //{{AFX_VIRTUAL(CFontPropertyPage)
51 virtual BOOL OnApply();
53 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
58 // Generated message map functions
59 //{{AFX_MSG(CFontPropertyPage)
60 virtual BOOL OnInitDialog();
61 afx_msg void OnSelchangeFontMapTAB(NMHDR* pNMHDR, LRESULT* pResult);
62 afx_msg void OnFontMapBUTTONNewEntryEditFont();
63 afx_msg void OnFontMapBUTTONUpdateCurrent();
64 afx_msg void OnSelchangeFontMapCOMBONewEntryType();
65 afx_msg void OnFontMapBUTTONNewEntry();
69 void UpdateDisplay(int CurrentSelectionIndex);
73 //{{AFX_INSERT_LOCATION}}
74 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
76 #endif // !defined(AFX_FontPropertyPage_H__A815F7A5_D51B_11D1_8DDE_0800369C8A03__INCLUDED_)