Mercurial > sci
comparison scid/scid.c @ 30:43333d18e4b8
scid: document theme
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 04 Aug 2022 14:54:43 +0200 |
parents | 4c16bb25e4f1 |
children | 1d0ddf9e6efd |
comparison
equal
deleted
inserted
replaced
29:695637f1d8a7 | 30:43333d18e4b8 |
---|---|
17 log_info("opening database %s", scid.dbpath); | 17 log_info("opening database %s", scid.dbpath); |
18 | 18 |
19 if (db_open(scid.dbpath) < 0) | 19 if (db_open(scid.dbpath) < 0) |
20 log_die("abort: unable to open database"); | 20 log_die("abort: unable to open database"); |
21 | 21 |
22 scid.theme = theme_open(scid.themedir); | 22 theme_open(scid.themedir); |
23 } | |
24 | |
25 const char * | |
26 scid_theme_path(const char *filename) | |
27 { | |
28 return theme_path(scid.theme, filename); | |
29 } | 23 } |
30 | 24 |
31 void | 25 void |
32 scid_finish(void) | 26 scid_finish(void) |
33 { | 27 { |