![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
The playlist editor and chooser. More...
#include <PlaylistEditorWindow.hpp>
Public Types | |
using | SelectedCb = std::function< void(const std::string &)> |
using | CancelCb = std::function< void()> |
Public Member Functions | |
PlaylistEditorWindow (const SelectedCb &onSelect, const CancelCb &onCancel) | |
Creates the playlist editor. More... | |
void | open (bl::gui::GUI *gui, const std::string &plist) |
Opens the window with an optional file to load. More... | |
The playlist editor and chooser.
Definition at line 16 of file PlaylistEditorWindow.hpp.
using editor::component::PlaylistEditorWindow::CancelCb = std::function<void()> |
Definition at line 19 of file PlaylistEditorWindow.hpp.
using editor::component::PlaylistEditorWindow::SelectedCb = std::function<void(const std::string&)> |
Definition at line 18 of file PlaylistEditorWindow.hpp.
editor::component::PlaylistEditorWindow::PlaylistEditorWindow | ( | const SelectedCb & | onSelect, |
const CancelCb & | onCancel | ||
) |
Creates the playlist editor.
onSelect | Called when a playlist is selected |
onCancel | Called when the window is closed with no selection |
Definition at line 12 of file PlaylistEditorWindow.cpp.
void editor::component::PlaylistEditorWindow::open | ( | bl::gui::GUI * | gui, |
const std::string & | plist | ||
) |
Opens the window with an optional file to load.
gui | The main gui object |
plist | The playlist to load |
Definition at line 88 of file PlaylistEditorWindow.cpp.