public release

This commit is contained in:
ITotalJustice
2024-12-16 21:13:05 +00:00
commit 0370e47f7f
248 changed files with 20513 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#pragma once
#include "ui/widget.hpp"
#include <optional>
namespace sphaira::ui {
class ErrorBox final : public Widget {
public:
ErrorBox(Result code, const std::string& message);
auto Update(Controller* controller, TouchInfo* touch) -> void override;
auto OnLayoutChange() -> void override;
auto Draw(NVGcontext* vg, Theme* theme) -> void override;
private:
Result m_code;
std::string m_message;
std::string m_module_str;
std::string m_description_str;
};
} // namespace sphaira::ui