diff scid/theme.h @ 28:4c16bb25e4f1

scid: implement themes in javascript
author David Demelier <markand@malikania.fr>
date Thu, 04 Aug 2022 06:09:54 +0200
parents
children 695637f1d8a7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scid/theme.h	Thu Aug 04 06:09:54 2022 +0200
@@ -0,0 +1,18 @@
+#ifndef SCID_THEME_H
+#define SCID_THEME_H
+
+struct theme;
+
+struct theme *
+theme_open(const char *directory);
+
+const char *
+theme_path(struct theme *t, const char *filename);
+
+char *
+theme_render_index(struct theme *t, const char *json);
+
+void
+theme_free(struct theme *t);
+
+#endif /* !SCID_THEME_H */