summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/CmdOrdersDlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/CmdOrdersDlg.h')
-rw-r--r--StarsEx/CmdOrdersDlg.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/StarsEx/CmdOrdersDlg.h b/StarsEx/CmdOrdersDlg.h
new file mode 100644
index 0000000..7b7f55e
--- /dev/null
+++ b/StarsEx/CmdOrdersDlg.h
@@ -0,0 +1,55 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+
+ AUTHOR: John DiCamillo
+
+
+ OVERVIEW
+ ========
+ Operational Command Dialog (Campaign Orders Tab)
+*/
+
+#ifndef CmdOrdersDlg_h
+#define CmdOrdersDlg_h
+
+#include "Types.h"
+#include "FormWindow.h"
+#include "CmdDlg.h"
+#include "Bitmap.h"
+#include "Button.h"
+#include "ComboBox.h"
+#include "ListBox.h"
+#include "Font.h"
+#include "Text.h"
+
+// +--------------------------------------------------------------------+
+
+class CmdOrdersDlg : public FormWindow,
+public CmdDlg
+{
+public:
+ CmdOrdersDlg(Screen* s, FormDef& def, CmpnScreen* mgr);
+ virtual ~CmdOrdersDlg();
+
+ virtual void RegisterControls();
+ virtual void ExecFrame();
+ virtual void Show();
+
+ // Operations:
+ virtual void OnMode(AWEvent* event);
+ virtual void OnSave(AWEvent* event);
+ virtual void OnExit(AWEvent* event);
+
+protected:
+ CmpnScreen* manager;
+
+ ActiveWindow* lbl_orders;
+
+ Starshatter* stars;
+ Campaign* campaign;
+};
+
+#endif // CmdOrdersDlg_h
+