mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-03 07:10:42 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <chrono>
|
||||
#include "overlay/window.h"
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
enum class NextItem {
|
||||
NEW_LINE,
|
||||
SAME_LINE
|
||||
};
|
||||
|
||||
class ExitPrompt : public Window {
|
||||
public:
|
||||
ExitPrompt(SpiceOverlay *overlay);
|
||||
void build_content() override;
|
||||
|
||||
private:
|
||||
void build_button(Window *window, std::string label, const ImVec2 &size, NextItem next, bool is_toggle=true);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user