view 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 source

#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 */