Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Annotation of /trunk/teraterm/teraterm/addsetting.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2504 - (hide annotations) (download) (as text)
Sun May 11 15:37:00 2008 UTC (16 years, 1 month ago) by maya
Original Path: teraterm/trunk/teraterm/addsetting.h
File MIME type: text/x-chdr
File size: 2531 byte(s)
Additional settings を、タブコントロールから CPropertySheet に変更した。
vtwin.cpp から addsetting.cpp に処理を移動した。

1 maya 2504 #pragma once
2    
3     #include "tt_res.h"
4    
5    
6     typedef struct {
7     char *name;
8     LPCTSTR id;
9     } mouse_cursor_t;
10    
11     typedef struct cygterm {
12     char term[128];
13     char term_type[80];
14     char port_start[80];
15     char port_range[80];
16     char shell[80];
17     char env1[128];
18     char env2[128];
19     BOOL login_shell;
20     BOOL home_chdir;
21     } cygterm_t;
22    
23    
24    
25     // General Page
26     class CGeneralPropPageDlg : public CPropertyPage
27     {
28     DECLARE_DYNAMIC(CGeneralPropPageDlg)
29    
30     public:
31     CGeneralPropPageDlg();
32     virtual ~CGeneralPropPageDlg();
33     BOOL OnInitDialog();
34     void OnOK();
35    
36     enum { IDD = IDD_TABSHEET_GENERAL };
37    
38     private:
39     HFONT DlgGeneralFont;
40     LOGFONT logfont;
41     HFONT font;
42    
43     protected:
44     DECLARE_MESSAGE_MAP()
45     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
46     };
47    
48    
49    
50     // Visual Page
51     class CVisualPropPageDlg : public CPropertyPage
52     {
53     DECLARE_DYNAMIC(CVisualPropPageDlg)
54    
55     public:
56     CVisualPropPageDlg();
57     virtual ~CVisualPropPageDlg();
58     BOOL OnInitDialog();
59     void OnOK();
60    
61     enum { IDD = IDD_TABSHEET_VISUAL };
62    
63     private:
64     HFONT DlgVisualFont;
65     LOGFONT logfont;
66     HFONT font;
67    
68     protected:
69     DECLARE_MESSAGE_MAP()
70     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
71     };
72    
73    
74    
75     // Log Page
76     class CLogPropPageDlg : public CPropertyPage
77     {
78     DECLARE_DYNAMIC(CLogPropPageDlg)
79    
80     public:
81     CLogPropPageDlg();
82     virtual ~CLogPropPageDlg();
83     BOOL OnInitDialog();
84     void OnOK();
85    
86     enum { IDD = IDD_TABSHEET_LOG };
87    
88     private:
89     HFONT DlgLogFont;
90     LOGFONT logfont;
91     HFONT font;
92    
93     protected:
94     DECLARE_MESSAGE_MAP()
95     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
96     };
97    
98    
99    
100     // Cygwin Page
101     class CCygwinPropPageDlg : public CPropertyPage
102     {
103     DECLARE_DYNAMIC(CCygwinPropPageDlg)
104    
105     public:
106     CCygwinPropPageDlg();
107     virtual ~CCygwinPropPageDlg();
108     BOOL OnInitDialog();
109     void OnOK();
110    
111     enum { IDD = IDD_TABSHEET_CYGWIN };
112    
113     private:
114     HFONT DlgCygwinFont;
115     LOGFONT logfont;
116     HFONT font;
117     cygterm_t settings;
118    
119     protected:
120     DECLARE_MESSAGE_MAP()
121     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
122     };
123    
124    
125    
126     // Property Sheet
127     class CAddSettingPropSheetDlg : public CPropertySheet
128     {
129     DECLARE_DYNAMIC(CAddSettingPropSheetDlg)
130    
131     public:
132     CAddSettingPropSheetDlg(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
133     CAddSettingPropSheetDlg(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
134     virtual ~CAddSettingPropSheetDlg();
135     BOOL OnInitDialog();
136    
137     private:
138     HFONT DlgAdditionalFont;
139     LOGFONT logfont;
140     HFONT font;
141    
142     protected:
143     DECLARE_MESSAGE_MAP()
144    
145     public:
146     CGeneralPropPageDlg m_GeneralPage;
147     CVisualPropPageDlg m_VisualPage;
148     CLogPropPageDlg m_LogPage;
149     CCygwinPropPageDlg m_CygwinPage;
150     };

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26