![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Window for editing owned Peoplemon. More...
#include <OwnedPeoplemonWindow.hpp>
Public Types | |
using | NotifyCB = std::function< void()> |
Callback for when the window is closed. More... | |
Public Member Functions | |
OwnedPeoplemonWindow (const NotifyCB &onFinish, const NotifyCB &onCancel) | |
Construct a new Owned Peoplemon Window. More... | |
void | show (bl::gui::GUI *parent, const core::pplmn::OwnedPeoplemon &value={}) |
Shows the window. More... | |
void | hide () |
Hides the window. More... | |
core::pplmn::OwnedPeoplemon | getValue () const |
Returns the value of the Peoplemon entered. More... | |
Window for editing owned Peoplemon.
Definition at line 21 of file OwnedPeoplemonWindow.hpp.
using editor::component::OwnedPeoplemonWindow::NotifyCB = std::function<void()> |
Callback for when the window is closed.
Definition at line 24 of file OwnedPeoplemonWindow.hpp.
editor::component::OwnedPeoplemonWindow::OwnedPeoplemonWindow | ( | const NotifyCB & | onFinish, |
const NotifyCB & | onCancel | ||
) |
Construct a new Owned Peoplemon Window.
onFinish | Called when the Peoplemon is finished |
onCancel | Called when the window is closed without using the peoplemon |
Definition at line 12 of file OwnedPeoplemonWindow.cpp.
core::pplmn::OwnedPeoplemon editor::component::OwnedPeoplemonWindow::getValue | ( | ) | const |
Returns the value of the Peoplemon entered.
Definition at line 169 of file OwnedPeoplemonWindow.cpp.
void editor::component::OwnedPeoplemonWindow::hide | ( | ) |
Hides the window.
Definition at line 164 of file OwnedPeoplemonWindow.cpp.
void editor::component::OwnedPeoplemonWindow::show | ( | bl::gui::GUI * | parent, |
const core::pplmn::OwnedPeoplemon & | value = {} |
||
) |
Shows the window.
parent | The parent GUI object |
value | The value to fill with |
Definition at line 132 of file OwnedPeoplemonWindow.cpp.