// Copyright (c) 2023 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include "util/XmlParser.hpp" namespace Dawn { struct VNSetFont { std::string font; std::string style; std::string fontSize; std::string color; }; class VNSetDefaultFontEventParser : public XmlParser { protected: std::vector getRequiredAttributes() override; std::map getOptionalAttributes() override; int32_t onParse( Xml *node, std::map values, struct VNSetFont *out, std::string *error ) override; }; }