1 #ifndef EDITOR_COMPONENTS_MOVEEDITORWINDOW_HPP
2 #define EDITOR_COMPONENTS_MOVEEDITORWINDOW_HPP
4 #include <BLIB/Interfaces/GUI.hpp>
46 bl::gui::Window::Ptr window;
47 bl::gui::TextEntry::Ptr idEntry;
48 bl::gui::TextEntry::Ptr nameEntry;
49 bl::gui::TextEntry::Ptr descEntry;
51 bl::gui::TextEntry::Ptr dmgEntry;
52 bl::gui::TextEntry::Ptr accEntry;
53 bl::gui::TextEntry::Ptr priorityEntry;
54 bl::gui::TextEntry::Ptr ppEntry;
55 bl::gui::CheckButton::Ptr specialCheck;
56 bl::gui::CheckButton::Ptr contactCheck;
57 bl::gui::ComboBox::Ptr effectSelect;
58 bl::gui::TextEntry::Ptr effectChanceEntry;
59 bl::gui::TextEntry::Ptr effectIntenseEntry;
60 bl::gui::CheckButton::Ptr effectSelfCheck;
64 bl::gui::Button::Ptr applyBut;
All classes and functionality used for implementing the game editor.
Stores the metadata of all peoplemon moves.
Editor window to edit moves in the move database.
MoveEditorWindow(core::file::MoveDB &moveDb, const OnChange &onChange)
Construct a new Move Editor Window.
void open(bl::gui::GUI *parent, core::pplmn::MoveId move)
Opens the window and populates for the given move. Pass MoveId::Unknown for a new move.
std::function< void()> OnChange
Callback signature on move change.
std::shared_ptr< TypeSelector > Ptr
Pointer to a TypeSelector component.