1 #ifndef EDITOR_COMPONENTS_PEOPLEMONEDITORWINDOW_HPP
2 #define EDITOR_COMPONENTS_PEOPLEMONEDITORWINDOW_HPP
4 #include <BLIB/Interfaces/GUI.hpp>
28 bool doingNewPeoplemon;
30 bl::gui::Window::Ptr window;
31 bl::gui::TextEntry::Ptr idEntry;
32 bl::gui::TextEntry::Ptr nameEntry;
33 bl::gui::TextEntry::Ptr descEntry;
38 std::vector<core::pplmn::MoveId> movePool;
39 bl::gui::SelectBox::Ptr movePoolEntry;
42 std::vector<std::pair<unsigned int, core::pplmn::MoveId>> learnMoves;
43 bl::gui::SelectBox::Ptr learnMoveEntry;
44 bl::gui::TextEntry::Ptr moveLevelEntry;
47 bl::gui::TextEntry::Ptr evolveLevelEntry;
50 bl::gui::ComboBox::Ptr abilitySelect;
51 bl::gui::ComboBox::Ptr xpGroupSelect;
52 bl::gui::TextEntry::Ptr xpRewardMultEntry;
54 bl::gui::TextEntry::Ptr catchRateEntry;
56 bl::gui::Image::Ptr thumbImg;
57 bl::gui::Image::Ptr playerImg;
58 bl::gui::Image::Ptr opImg;
62 bl::gui::Button::Ptr applyBut;
71 void onMovePoolDelete();
73 void onLearnMoveAdd();
74 void onLearnMoveDelete();
All classes and functionality used for implementing the game editor.
Data structure that holds the underlaying data for all the peoplemon.
std::shared_ptr< MoveSelector > Ptr
Pointer to this component.
std::function< void()> OnChange
void open(bl::gui::GUI *parent, core::pplmn::Id ppl)
PeoplemonEditorWindow(core::file::PeoplemonDB &db, const OnChange &onChange)
std::shared_ptr< PeoplemonSelector > Ptr
Provides an inline GUI entry for stats in either EV mode or IV mode.
std::shared_ptr< TypeSelector > Ptr
Pointer to a TypeSelector component.