summaryrefslogtreecommitdiffhomepage
path: root/Stars45/MsnEditDlg.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-01 21:23:39 +0200
committerAki <please@ignore.pl>2022-04-01 21:23:39 +0200
commit3c487c5cd69c53d6fea948643c0a76df03516605 (patch)
tree72730c7b8b26a5ef8fc9a987ec4c16129efd5aac /Stars45/MsnEditDlg.h
parent8f353abd0bfe18baddd8a8250ab7c4f2d1c83a6e (diff)
downloadstarshatter-3c487c5cd69c53d6fea948643c0a76df03516605.zip
starshatter-3c487c5cd69c53d6fea948643c0a76df03516605.tar.gz
starshatter-3c487c5cd69c53d6fea948643c0a76df03516605.tar.bz2
Moved Stars45 to StarsEx
Diffstat (limited to 'Stars45/MsnEditDlg.h')
-rw-r--r--Stars45/MsnEditDlg.h115
1 files changed, 0 insertions, 115 deletions
diff --git a/Stars45/MsnEditDlg.h b/Stars45/MsnEditDlg.h
deleted file mode 100644
index b0eaaf0..0000000
--- a/Stars45/MsnEditDlg.h
+++ /dev/null
@@ -1,115 +0,0 @@
-/* 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
- ========
- Mission Editor Dialog Active Window class
-*/
-
-#ifndef MsnEditDlg_h
-#define MsnEditDlg_h
-
-#include "Types.h"
-#include "FormWindow.h"
-#include "Bitmap.h"
-#include "Button.h"
-#include "ComboBox.h"
-#include "ListBox.h"
-#include "Font.h"
-#include "Text.h"
-
-// +--------------------------------------------------------------------+
-
-class MenuScreen;
-class Campaign;
-class Mission;
-class MissionInfo;
-
-// +--------------------------------------------------------------------+
-
-class MsnEditDlg : public FormWindow
-{
-public:
- friend class MsnEditNavDlg;
-
- MsnEditDlg(Screen* s, FormDef& def, MenuScreen* mgr);
- virtual ~MsnEditDlg();
-
- virtual void RegisterControls();
- virtual void Show();
- virtual void ExecFrame();
- virtual void ScrapeForm();
-
- // Operations:
- virtual void OnAccept(AWEvent* event);
- virtual void OnCancel(AWEvent* event);
- virtual void OnTabButton(AWEvent* event);
- virtual void OnSystemSelect(AWEvent* event);
- virtual void OnElemAdd(AWEvent* event);
- virtual void OnElemEdit(AWEvent* event);
- virtual void OnElemDel(AWEvent* event);
- virtual void OnElemSelect(AWEvent* event);
- virtual void OnElemInc(AWEvent* event);
- virtual void OnElemDec(AWEvent* event);
- virtual void OnEventAdd(AWEvent* event);
- virtual void OnEventEdit(AWEvent* event);
- virtual void OnEventDel(AWEvent* event);
- virtual void OnEventSelect(AWEvent* event);
- virtual void OnEventInc(AWEvent* event);
- virtual void OnEventDec(AWEvent* event);
-
- virtual Mission* GetMission() const { return mission; }
- virtual void SetMission(Mission* m);
- virtual void SetMissionInfo(MissionInfo* m);
-
-protected:
- virtual void DrawPackages();
- virtual void ShowTab(int tab);
-
- MenuScreen* manager;
-
- Button* btn_accept;
- Button* btn_cancel;
-
- Button* btn_elem_add;
- Button* btn_elem_edit;
- Button* btn_elem_del;
- Button* btn_elem_inc;
- Button* btn_elem_dec;
-
- Button* btn_event_add;
- Button* btn_event_edit;
- Button* btn_event_del;
- Button* btn_event_inc;
- Button* btn_event_dec;
-
- Button* btn_sit;
- Button* btn_pkg;
- Button* btn_map;
-
- EditBox* txt_name;
- ComboBox* cmb_type;
- ComboBox* cmb_system;
- ComboBox* cmb_region;
-
- EditBox* txt_description;
- EditBox* txt_situation;
- EditBox* txt_objective;
-
- ListBox* lst_elem;
- ListBox* lst_event;
-
- Mission* mission;
- MissionInfo* mission_info;
-
- int current_tab;
- bool exit_latch;
-};
-
-#endif // MsnEditDlg_h
-