summaryrefslogtreecommitdiff
path: root/src/serialization-font.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-04-21 15:46:46 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-04-21 15:46:46 -0400
commitef37d054dfe5812efa9eefb4b9b18621fdabac25 (patch)
tree713042c875004da0058bf5813c4b2b736b6c4ed3 /src/serialization-font.hpp
parenta066448effaa9a56c049136067a73ba0156f65d3 (diff)
pke: first-pass serializing ui and font renders
Diffstat (limited to 'src/serialization-font.hpp')
-rw-r--r--src/serialization-font.hpp13
1 files changed, 13 insertions, 0 deletions
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 */