Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
NetLobbyDlg.h
Go to the documentation of this file.
1 /* Project Starshatter 4.5
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: Stars.exe
6  FILE: NetLobbyDlg.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Main Menu Dialog Active Window class
13 */
14 
15 #ifndef NetLobbyDlg_h
16 #define NetLobbyDlg_h
17 
18 #include "Types.h"
19 #include "FormWindow.h"
20 #include "Bitmap.h"
21 #include "Button.h"
22 #include "ComboBox.h"
23 #include "ListBox.h"
24 #include "EditBox.h"
25 #include "Font.h"
26 
27 // +--------------------------------------------------------------------+
28 
29 class MenuScreen;
30 class NetClientConfig;
31 class NetLobby;
32 class NetCampaignInfo;
33 class MissionInfo;
34 class NetChatEntry;
35 class NetUser;
36 
37 // +--------------------------------------------------------------------+
38 
39 class NetLobbyDlg : public FormWindow
40 {
41 public:
42  NetLobbyDlg(Screen* s, FormDef& def, MenuScreen* mgr);
43  virtual ~NetLobbyDlg();
44 
45  virtual void RegisterControls();
46  virtual void Show();
47  virtual void ExecFrame();
48 
49  // Operations:
50  virtual void OnCampaignSelect(AWEvent* event);
51  virtual void OnMissionSelect(AWEvent* event);
52 
53  virtual void OnApply(AWEvent* event);
54  virtual void OnCancel(AWEvent* event);
55 
56  virtual void ExecLobbyFrame();
57 
58 protected:
59  virtual void GetPlayers();
60  virtual void GetChat();
61  virtual void GetMissions();
62  virtual void GetSelectedMission();
63  virtual void SendChat(Text msg);
64  virtual void SelectMission();
65 
67 
74 
77 
79 
82  int last_chat;
83  bool host_mode;
84 };
85 
86 // +--------------------------------------------------------------------+
87 
88 #endif NetLobbyDlg_h
89