mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-18 14:22:17 -05:00
15 lines
540 B
C++
15 lines
540 B
C++
#pragma once
|
|
|
|
#include <libultraship/libultraship.h>
|
|
#include "window/gui/GuiMenuBar.h"
|
|
#include "window/gui/GuiElement.h"
|
|
|
|
class SohModalWindow : public Ship::GuiWindow {
|
|
public:
|
|
using GuiWindow::GuiWindow;
|
|
|
|
void InitElement() override {};
|
|
void DrawElement() override;
|
|
void UpdateElement() override {};
|
|
void RegisterPopup(std::string title, std::string message, std::string button1 = "OK", std::string button2 = "", std::function<void()> button1callback = nullptr, std::function<void()> button2callback = nullptr);
|
|
}; |