OpenMoHAA 0.82.0
Loading...
Searching...
No Matches
LobbyWizard.h
1#if !defined(AFX_LOBBYWIZARD_H__683E0CE1_CBA4_46D1_948A_6047481CDBF6__INCLUDED_)
2#define AFX_LOBBYWIZARD_H__683E0CE1_CBA4_46D1_948A_6047481CDBF6__INCLUDED_
3
4#include "../peer.h"
5
6#if _MSC_VER > 1000
7#pragma once
8#endif // _MSC_VER > 1000
9// LobbyWizard.h : header file
10//
11
13// CLobbyWizard
14
15#define CONNECT_PAGE 0
16#define TITLE_PAGE 1
17#define GROUP_PAGE 2
18#define CREATE_PAGE 3
19#define STAGING_PAGE 4
20
21class CLobbyWizard : public CPropertySheet
22{
23 DECLARE_DYNAMIC(CLobbyWizard)
24
25// Construction
26public:
27 CLobbyWizard(UINT nIDCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
28 CLobbyWizard(LPCTSTR pszCaption, CWnd* pParentWnd = NULL, UINT iSelectPage = 0);
29
30// Attributes
31public:
32 PEER m_peer; // The peer object.
33 BOOL m_hosting; // TRUE if hosting a game.
34 BOOL m_groupRooms; // TRUE if using group rooms.
35
36 HWND m_nextButtonWnd;
37
38 HICON m_greenSmileyIcon;
39 int m_greenSmileyIndex;
40 HICON m_yellowSmileyIcon;
41 int m_yellowSmileyIndex;
42 HICON m_redSmileyIcon;
43 int m_redSmileyIndex;
44 HICON m_stagingRoomIcon;
45 int m_stagingRoomIndex;
46 HICON m_runningGameIcon;
47 int m_runningGameIndex;
48 CImageList m_imageList;
49
50 HCURSOR m_lastCursor;
51
52// Operations
53public:
54 void StartHourglass();
55 void StopHourglass();
56
57// Overrides
58 // ClassWizard generated virtual function overrides
59 //{{AFX_VIRTUAL(CLobbyWizard)
60 public:
61 virtual BOOL OnInitDialog();
62 virtual BOOL PreTranslateMessage(MSG* pMsg);
63 //}}AFX_VIRTUAL
64
65// Implementation
66public:
67 virtual ~CLobbyWizard();
68
69 // Generated message map functions
70protected:
71 //{{AFX_MSG(CLobbyWizard)
72 afx_msg void OnTimer(UINT nIDEvent);
73 //}}AFX_MSG
74 DECLARE_MESSAGE_MAP()
75};
76
78
79//{{AFX_INSERT_LOCATION}}
80// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
81
82extern CLobbyWizard * Wizard;
83
84#endif // !defined(AFX_LOBBYWIZARD_H__683E0CE1_CBA4_46D1_948A_6047481CDBF6__INCLUDED_)
Definition LobbyWizard.h:22