Files
firestorm/Gameleap/code/mw4/Code/MW4GameEd/MsgDlg.h
T
Cyd 2b8ca921cb Initial full mirror of c:\VWE (source + assets + toolchain + outputs) via Git LFS
Complete disaster-recovery snapshot: engine/game source, game data assets,
VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive.
Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false,
no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
2026-06-24 21:28:16 -05:00

63 lines
1.4 KiB
C++

#if !defined(AFX_MSGDLG_H__FF876285_2A96_11D3_8458_00105A17BC83__INCLUDED_)
#define AFX_MSGDLG_H__FF876285_2A96_11D3_8458_00105A17BC83__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MsgDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMsgDlg dialog
class CMsgDlg : public CDialog
{
// Construction
public:
CMsgDlg(char* msg, char* font = NULL, int fontSize = 120, CWnd* pParent = NULL,
int x = -1, int y = -1, int cx = -1, int cy = -1);
// Dialog Data
//{{AFX_DATA(CMsgDlg)
enum { IDD = IDD_MSGDLG };
//}}AFX_DATA
int
m_Size;
CString
m_Text;
CString
m_Font;
COLORREF
backColor;
COLORREF
textColor;
void SetBackColor(COLORREF bc) {backColor = bc;}
void SetTextColor(COLORREF tc) {textColor = tc;}
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMsgDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
bool
sized;
// Generated message map functions
//{{AFX_MSG(CMsgDlg)
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MSGDLG_H__FF876285_2A96_11D3_8458_00105A17BC83__INCLUDED_)