remove all strings and error codes in error_box.cpp, reduce binary by a further 60k.

This commit is contained in:
ITotalJustice committed 2025-04-29 18:56:55 +01:00
1 parent 2d7763444e
commit d79ac126f7
2 files changed
+13 -1116

No files matched your search

+2 -3
View File
@@ -8,15 +8,14 @@ namespace sphaira::ui {
class ErrorBox final : public Widget {
public:
ErrorBox(Result code, const std::string& message);
ErrorBox(const std::string& message);
auto Update(Controller* controller, TouchInfo* touch) -> void override;
auto Draw(NVGcontext* vg, Theme* theme) -> void override;
private:
Result m_code{};
std::optional<Result> m_code{};
std::string m_message{};
std::string m_module_str{};
std::string m_description_str{};
};
} // namespace sphaira::ui
File diff suppressed because it is too large. Load diff