Debian Codegraph @

editor/D3Splash.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 // D3Splash.h : header file
20 //
21
22 /////////////////////////////////////////////////////////////////////////////
23 // CD3Splash dialog
24
25 class CD3Splash : public CDialog {
26 // Construction
27 public:
28 CD3Splash(CWnd *pParent = NULL); // standard constructor
29
30 BOOL Create();
31
32 // Dialog Data
33 //{{AFX_DATA(CD3Splash)
34 enum { IDD = IDD_D3SPLASH };
35 // NOTE: the ClassWizard will add data members here
36 //}}AFX_DATA
37
38 // Overrides
39 // ClassWizard generated virtual function overrides
40 //{{AFX_VIRTUAL(CD3Splash)
41 protected:
42 virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
43 virtual void PostNcDestroy();
44 //}}AFX_VIRTUAL
45
46 // Operations
47 public:
48 void PutText(char *buf);
49
50 private:
51 char m_TextLines[3][40];
52 int m_CurLine;
53
54 // Implementation
55 protected:
56 virtual void OnCancel();
57 virtual void OnOK();
58
59 // Generated message map functions
60 //{{AFX_MSG(CD3Splash)
61 afx_msg void OnPaint();
62 afx_msg void OnDestroy();
63 //}}AFX_MSG
64 DECLARE_MESSAGE_MAP()
65
66 private:
67 CWnd *m_ParentWnd;
68 CBitmap m_SplashBmp;
69 };
70
71 extern CD3Splash *D3_splash_screen;