Files
MagicSetEditor2/src/gui/html_export_window.hpp
T
2017-01-18 08:52:57 -06:00

39 lines
1.4 KiB
C++

//+----------------------------------------------------------------------------+
//| Description: Magic Set Editor - Program to make Magic (tm) cards |
//| Copyright: (C) 2001 - 2017 Twan van Laarhoven and Sean Hunt |
//| License: GNU General Public License 2 or later (see file COPYING) |
//+----------------------------------------------------------------------------+
#ifndef HEADER_GUI_HTML_EXPORT_WINDOW
#define HEADER_GUI_HTML_EXPORT_WINDOW
// ----------------------------------------------------------------------------- : Includes
#include <util/prec.hpp>
#include <gui/card_select_window.hpp>
class PackageList;
class ExportOptionsEditor;
DECLARE_POINTER_TYPE(Set);
// ----------------------------------------------------------------------------- : HtmlExportWindow
class HtmlExportWindow : public ExportWindowBase {
public:
HtmlExportWindow(Window* parent, const SetP& set, const ExportCardSelectionChoices& cards_choices);
private:
PackageList* list; ///< List of templates
ExportOptionsEditor* options; ///< Editor for template options
SetP set; ///< Set to export
DECLARE_EVENT_TABLE();
void onOk(wxCommandEvent&);
void onTemplateSelect(wxCommandEvent&);
void onUpdateUI(wxUpdateUIEvent& ev);
};
// ----------------------------------------------------------------------------- : EOF
#endif