Descent3/editor/D3Splash.h

72 lines
1.7 KiB
C
Raw Normal View History

/*
2024-06-15 18:12:48 +00:00
* Descent 3
* Copyright (C) 2024 Parallax Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
// D3Splash.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CD3Splash dialog
2024-06-15 18:12:48 +00:00
class CD3Splash : public CDialog {
// Construction
public:
2024-06-15 18:12:48 +00:00
CD3Splash(CWnd *pParent = NULL); // standard constructor
2024-06-15 18:12:48 +00:00
BOOL Create();
2024-06-15 18:12:48 +00:00
// Dialog Data
//{{AFX_DATA(CD3Splash)
enum { IDD = IDD_D3SPLASH };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
2024-06-15 18:12:48 +00:00
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CD3Splash)
protected:
virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
2024-06-15 18:12:48 +00:00
// Operations
public:
2024-06-15 18:12:48 +00:00
void PutText(char *buf);
private:
2024-06-15 18:12:48 +00:00
char m_TextLines[3][40];
int m_CurLine;
2024-06-15 18:12:48 +00:00
// Implementation
protected:
2024-06-15 18:12:48 +00:00
virtual void OnCancel();
virtual void OnOK();
2024-06-15 18:12:48 +00:00
// Generated message map functions
//{{AFX_MSG(CD3Splash)
afx_msg void OnPaint();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
2024-06-15 18:12:48 +00:00
CWnd *m_ParentWnd;
CBitmap m_SplashBmp;
};
extern CD3Splash *D3_splash_screen;