From ef37d054dfe5812efa9eefb4b9b18621fdabac25 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Mon, 21 Apr 2025 15:46:46 -0400 Subject: pke: first-pass serializing ui and font renders --- src/serialization-font.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/serialization-font.hpp (limited to 'src/serialization-font.hpp') diff --git a/src/serialization-font.hpp b/src/serialization-font.hpp new file mode 100644 index 0000000..9261a19 --- /dev/null +++ b/src/serialization-font.hpp @@ -0,0 +1,13 @@ +#ifndef PKE_SERIALIZATION_FONT_HPP +#define PKE_SERIALIZATION_FONT_HPP + +#include "serialization.hpp" +#include "font.hpp" + +bool pke_serialize_font_render(srlztn_serialize_helper *h, FontRender *fr); +bool pke_deserialize_font_render(srlztn_deserialize_helper *h, FontRender **fr); + +bool pke_serialize_font_render_settings(srlztn_serialize_helper *h, FontRenderSettings *frs); +bool pke_deserialize_font_render_settings(srlztn_deserialize_helper *h, FontRenderSettings *frs); + +#endif /* PKE_SERIALIZATION_FONT_HPP */ -- cgit v1.2.3