Initial commit for GitHub migration based on spice2x-25-03-03

This commit is contained in:
sp2xdev
2025-03-10 19:16:49 -07:00
parent 94af8d32c9
commit ed8c72852f
1008 changed files with 296815 additions and 0 deletions
+21
View File
@@ -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);
};
}