v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
33
source/frontend/StarBookmarkInterface.hpp
Normal file
33
source/frontend/StarBookmarkInterface.hpp
Normal file
|
@ -0,0 +1,33 @@
|
|||
#ifndef STAR_BOOKMARK_INTERFACE_HPP
|
||||
#define STAR_BOOKMARK_INTERFACE_HPP
|
||||
|
||||
#include "StarPlayerUniverseMap.hpp"
|
||||
#include "StarPane.hpp"
|
||||
|
||||
namespace Star {
|
||||
|
||||
STAR_CLASS(EditBookmarkDialog);
|
||||
|
||||
class EditBookmarkDialog : public Pane {
|
||||
public:
|
||||
EditBookmarkDialog(PlayerUniverseMapPtr playerUniverseMap);
|
||||
|
||||
virtual void show() override;
|
||||
|
||||
void setBookmark(TeleportBookmark bookmark);
|
||||
|
||||
void ok();
|
||||
void remove();
|
||||
void close();
|
||||
|
||||
private:
|
||||
PlayerUniverseMapPtr m_playerUniverseMap;
|
||||
TeleportBookmark m_bookmark;
|
||||
|
||||
bool m_isNew;
|
||||
};
|
||||
|
||||
void setupBookmarkEntry(WidgetPtr const& entry, TeleportBookmark const& bookmark);
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue